Summary: | [java-overlay]dev-java/icedtea6-1.3.1 fails with hardened profile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Sachau <tommy> |
Component: | New packages | Assignee: | Andrew John Hughes <gnu_andrew> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gengor, java, kanelxake, pageexec |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 247140 |
Description
Thomas Sachau
2008-10-29 17:30:39 UTC
last lines of build.log: eam.o yieldingWorkgroup.o vectset.o linux_amd64.o -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -ldl -lpthread; \ \ rm -f libjvm.so.1; ln -s libjvm.so libjvm.so.1; \ if [ -x /usr/sbin/selinuxenabled ] ; then \ /usr/sbin/selinuxenabled; \ if [ $? = 0 ] ; then \ /usr/bin/chcon -t textrel_shlib_t libjvm.so; \ if [ $? != 0 ]; then \ echo "ERROR: Cannot chcon libjvm.so"; exit 1; \ fi \ fi \ fi \ } Linking vm... { \ echo Linking launcher...; \ \ gcc -m64 -Xlinker -O1 -m64 -export-dynamic -L `pwd` -o gamma launcher.o -ljvm -lm -ldl -lpthread; \ \ } Linking launcher... make[6]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.3.1/work/icedtea6-1.3.1/openjdk/control/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product' All done. make[5]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.3.1/work/icedtea6-1.3.1/openjdk/control/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product' cd linux_amd64_compiler2/product && ./test_gamma ./test_gamma: line 10: 15951 Getötet ./${gamma:-gamma} -Xbatch -showversion Queens < /dev/null make[4]: *** [product] Fehler 137 make[4]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.3.1/work/icedtea6-1.3.1/openjdk/control/build/linux-amd64/hotspot/outputdir' make[3]: *** [generic_build2] Fehler 2 make[3]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.3.1/work/icedtea6-1.3.1/openjdk/hotspot/make' make[2]: *** [product] Fehler 2 make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.3.1/work/icedtea6-1.3.1/openjdk/hotspot/make' make[1]: *** [hotspot-build] Fehler 2 make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.3.1/work/icedtea6-1.3.1/openjdk/control/make' make: *** [stamps/icedtea.stamp] Fehler 2 This needs to be filed with Sun - it's a bug in the OpenJDK build, not IcedTea or the ebuild. Skipping test_gamma should be ok. By this stage, you will have already skipped it once during the bootstrap openjdk-ecj stage (this patches it out). dev-java/icedtea6-1.3 is not anymore in the tree since a while, is the issue fixed in 1.6? (In reply to comment #5) > dev-java/icedtea6-1.3 is not anymore in the tree since a while, is the issue > fixed in 1.6? > This is about icedtea6, not icedtea6-bin, it was and still is only in the java-overlay. And the issue still exists. Just have a look at the bug i opened with sun to see the current state. test_gamma is now disabled on hardened profiles with a patch for 1.7.4 and 1.8.1 in java-overlay. Please try this and report back. (In reply to comment #7) > test_gamma is now disabled on hardened profiles with a patch for 1.7.4 and > 1.8.1 in java-overlay. Please try this and report back. > I tried an adjusted 6.1.8.1-r1 and it the patch allows me to build icedtea:6 without the need to disable pax features. What adjustments were needed? (In reply to comment #9) > What adjustments were needed? > I am crosscompiling 32bit libs on my amd64 arch with multilib-portage. Currently, it needs some adjustments in the icedtea ebuild to work for icedtea too. *** Bug 329263 has been marked as a duplicate of this bug. *** |