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
Created attachment 267585 [details] Build log
probably already fixed in crossdev-20110310 *** This bug has been marked as a duplicate of bug 358639 ***