Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276529 - sys-devel/gcc-4.1.2 compilation fails with new "nptl" USE flag
Summary: sys-devel/gcc-4.1.2 compilation fails with new "nptl" USE flag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-05 04:00 UTC by srunni
Modified: 2009-07-05 10:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,374.65 KB, text/plain)
2009-07-05 04:04 UTC, srunni
Details
Ebuild environment (environment,189.28 KB, text/plain)
2009-07-05 04:07 UTC, srunni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description srunni 2009-07-05 04:00:28 UTC
I ran "emerge -uavDN world", and found out that due to the addition of the "nptl" USE flag, I had to recompile sys-devel/gcc-{4.1.2,4.3.2-r3}. During the compilation of sys-devel/gcc-4.1.2, the build died with this error:

 * Messages for package sys-devel/gcc-4.1.2:

 *
 * ERROR: sys-devel/gcc-4.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4833:  Called toolchain_src_compile
 *             environment, line 5360:  Called gcc_src_compile
 *             environment, line 3087:  Called gcc_do_make
 *             environment, line 2878:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean


Reproducible: Always

Steps to Reproduce:
1. Sync the Portage tree
2. emerge world
3. Observe the sys-devel/gcc-4.1.2 build die
Comment 1 srunni 2009-07-05 04:04:03 UTC
Created attachment 196709 [details]
Build log
Comment 2 srunni 2009-07-05 04:07:28 UTC
Created attachment 196710 [details]
Ebuild environment
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-05 04:18:33 UTC
-march=native is not supported by sys-devel/gcc-4.1.2.
Comment 4 Danis Petkakis 2009-07-05 10:04:46 UTC
(In reply to comment #3)
> -march=native is not supported by sys-devel/gcc-4.1.2.
> 

i also have this problem and i have -march=core2 in /etc/make.conf...is this also unsupported by gcc-4.1.2? also i have gcc-4.3.3-r2 installed is gcc-4.1.2 really needed? thanks in advance...