Both :6 and :7, from gentoo and java-overlay cannot build with CFLAGS="-Os"
During build the following command runs:
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
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 <email@example.com> icedtea-184.108.40.206.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.