Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360991 - cross-i686-pc-linux-gnu/glibc-2.11.3 fails to emerge on an amd64 box
Summary: cross-i686-pc-linux-gnu/glibc-2.11.3 fails to emerge on an amd64 box
Status: RESOLVED DUPLICATE of bug 358639
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 19:53 UTC by Tanktalus
Modified: 2011-03-29 04:19 UTC (History)
0 users

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


Attachments
Build log (build.log.bz2,137.08 KB, application/octet-stream)
2011-03-28 19:54 UTC, Tanktalus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tanktalus 2011-03-28 19:53:30 UTC
I have two amd64 boxes (one AMD, one Intel), plus one x86 box, all running Gentoo.  So, in an effort to use the power of the bigger boxes to help the littler boxes during emerges, I have used cross-dev to create/merge in the 32-bit toolchain to work with distcc.  This was working fine, but then an upgrade to mpfr (3.0.0_p3 stabilisation) required a rebuild of gcc.  I re-ran "cross-dev -t i686-pc-linux-gnu", though that wanted to install the latest of the entire toolchain - I readjusted the /etc/portage/package.keywords/cross-i686-pc-linux-gnu file so that each line only had "x86" and none of the rest of the keywords (i.e., I want the same level here as I have on the machine requesting the build via distcc - mismatches cause problems with things like the linux kernel and sometimes glibc).

And now, glibc-2.11.3 fails to build.  The error looks like it is this:

checking for suffix of object files... configure: error: in `/var/tmp/portage/cross-i686-pc-linux-gnu/glibc-2.11.3/work/build-amd64-i686-pc-linux-gnu-nptl':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

The full build log is likely too big to attach, so I'll bzip2 it and attach that.  However, the config.log says:

configure:2451: checking for suffix of object files
configure:2477: i686-pc-linux-gnu-gcc  -c -march=x86_64 -pipe -O2 -fno-strict-aliasing -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE conftest.c >&5
conftest.c:1: error: bad value (x86_64) for -march= switch
conftest.c:1: error: bad value (x86_64) for -mtune= switch

I'm not sure why this is.  In my /etc/make.conf, I put "-march=amdfam10" in my CFLAGS, but that doesn't seem to show up here.

Reproducible: Always
Comment 1 Tanktalus 2011-03-28 19:54:09 UTC
Created attachment 267585 [details]
Build log
Comment 2 SpanKY gentoo-dev 2011-03-29 04:19:42 UTC
probably already fixed in crossdev-20110310

*** This bug has been marked as a duplicate of bug 358639 ***