Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421679 - glibc-2.15-r2 can't be compiled when coreutils and/or binutils are compiled with gcc-4.7.1
Summary: glibc-2.15-r2 can't be compiled when coreutils and/or binutils are compiled w...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-18 01:41 UTC by David Carlos Manuelda
Modified: 2012-06-18 07:27 UTC (History)
0 users

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


Attachments
glibc build log (build.log,16.85 KB, text/plain)
2012-06-18 01:42 UTC, David Carlos Manuelda
Details
emerge --info (eminfo.txt,15.39 KB, text/plain)
2012-06-18 01:43 UTC, David Carlos Manuelda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2012-06-18 01:41:58 UTC
I am not sure if this is architecture specific or not, but I will provide a way to reproduce at least on amd64:

emerge =gcc-4.7.1
gcc-config x86_64-pc-linux-gnu-4.7.1
source /etc/profile
emerge -1 coreutils binutils
emerge -1 glibc
And this is what I get in configure stage (attached)
Comment 1 David Carlos Manuelda 2012-06-18 01:42:29 UTC
Created attachment 315633 [details]
glibc build log
Comment 2 David Carlos Manuelda 2012-06-18 01:43:00 UTC
Created attachment 315635 [details]
emerge --info
Comment 3 David Carlos Manuelda 2012-06-18 02:32:35 UTC
I solved it by removed CFLAGS_x86, CXXFLAGS_x86 and LDFLAGS_x86 from /etc/make.conf

Can it be actually the problem?
Comment 4 David Carlos Manuelda 2012-06-18 02:32:54 UTC
I solved it by removed CFLAGS_x86, CXXFLAGS_x86 and LDFLAGS_x86 from /etc/make.conf and recompiling binutils.

Can it be actually the problem?
Comment 5 Rafał Mużyło 2012-06-18 07:27:38 UTC
@comment 4:
Hard to say without config.log, but most likely yes.
Probably those LDFLAGS need to be prefixed with '-Wl,'.