Summary: | dev-java/gnu-classpath-0.93 - compilation fails with -O3 in CFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31002 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log build.log |
Description
Lars Wendler (Polynomial-C) (RETIRED)
2007-02-28 22:35:49 UTC
Created attachment 111632 [details]
emerge --info
(In reply to comment #0) > !!! A complete build log is located at > '/home/portage/tmp/portage/dev-java/gnu-classpath-0.93/temp/build.log'. > Please attach this file. Created attachment 111635 [details]
build.log
(In reply to comment #2) > (In reply to comment #0) > > > !!! A complete build log is located at > > '/home/portage/tmp/portage/dev-java/gnu-classpath-0.93/temp/build.log'. > > > > Please attach this file. > done in the very same moment you asked me to do this ;) Created attachment 111637 [details]
build.log
Reporter: please unrice your cflags and try again.
Try (in one line):
CFLAGS="-march=athlon-xp -O3 -pipe" CXXFLAGS="-march=athlon-xp -O3 -pipe" LDFLAGS="" emerge -1v =dev-java/gnu-classpath-0.93
Apart from that, I also couldn't emerge gnu-classpath with this:
USE="alsa cairo -debug -dssi -examples -gconf gtk nsplugin xml" emerge -1v =dev-java/gnu-classpath-0.93
Build.log attached
This is an upstream bug. gnu-classpath doesn't compile with -O3 it seems. Changing it to -O2 while waiting for upstream to fix this. Indeed, changing -O3 to -O2 circumvents this problem but the next one comes with "nsplugin" useflag, which is described in bug #168780 and which Peter Alfredsen also suffers from. Upstream bug was fixed, we no longer filter flags for some time and no problems were reported. Assuming it's fixed, and removed the already-unused flag-o-matic inherits. Marking this bug as FIXED. |