Both :6 and :7, from gentoo and java-overlay cannot build with CFLAGS="-Os" During build the following command runs: "/var/tmp/portage/dev-java/icedtea-6.1.11.5/work/icedtea6-1.11.5/bootstrap/jdk1.6.0/bin/java -version" That command blocks forever with 1 cpu at 100%
Created attachment 336534 [details] strace of failing command strace of the failing command, the end of the file is where output stops, however it just blocks there forever and I have to ^C
I'm pretty sure we can replace-flags Os O2 to fix this
(In reply to comment #2) > I'm pretty sure we can replace-flags Os O2 to fix this s/fix/workaround/ But is that enough? I mean if -Os breaks what happens with -O1 or -O3? maybe replacing "O? O2" is safer?
-Os works fine on amd64, so likely an arm specific issue. 23 Jan 2013; Ralph Sennhauser <sera@gentoo.org> icedtea-6.1.11.5.ebuild, icedtea-7.2.3.4.ebuild: Use jamvm and replace -Os with -O2 on arm. #IT1266 #IT1267 With this things should work for our arm users. About the other -O, -Os can be considered pretty usual / norm for arm, so replacing that is fine. But the others are the responsibility of the user.
Package removed.