crossdev failing with latest glibc and 2.10.1-r1. Reproducible: Always Steps to Reproduce: 1. emerge crossdev 2. crossdev -t i686-pc-linux-gnu Actual Results: configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for suffix of object files... configure: error: in `/root/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/glibc-2.10.1-r1/work/build-default-i686-pc-linux-gnu-nptl': configure: error: cannot compute suffix of object files: cannot compile Expected Results: 'Done.' There is a thread on forums gentoo about it - http://forums.gentoo.org/viewtopic-p-6398787.html
all information must be in the bug. you cannot refer to random forums postings. you certainly need to post all the info that crossdev told you to as well as the config.log files the log message told you to
Well you are right. ragnarok ~ # crossdev -t i686-pc-linux-gnu ------------------------------------------------------------------------------------------ * crossdev version: 20100814 * Host Portage ARCH: amd64 * Target Portage ARCH: x86 * Target System: i686-pc-linux-gnu * Stage: 4 (C/C++ compiler) * binutils: binutils-[latest] * gcc: gcc-[latest] * headers: linux-headers-[latest] * libc: glibc-[latest] * PORTDIR_OVERLAY: /var/lib/layman/foo-overlay * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/i686-pc-linux-gnu * PORTAGE_TMPDIR: /root/tmp/cross/i686-pc-linux-gnu _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - * Forcing the latest versions of {binutils,gcc}-config/gnuconfig... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-binutils.log * Emerging cross-binutils... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers-quick.log * Emerging cross-linux-headers-quick... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc-headers.log * Emerging cross-glibc-headers... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log * Emerging cross-gcc-stage1... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers.log * Emerging cross-linux-headers... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc.log * Emerging cross-glibc... * glibc failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-i686-pc-linux-gnu-info.log * /var/log/portage/cross-i686-pc-linux-gnu-glibc.log I will attach to this bug both glibc.log and info.log. You can see there 'from foo-overlay' but its just first overlay in my $PORTDIR_OVERLAY, looks like crossdev using it to merge non-portage-tree packages like cross-gcc etc.
Created attachment 244381 [details] log
Created attachment 244383 [details] log
(In reply to comment #0) > configure: error: cannot compute suffix of object files: cannot compile After that followed: See `config.log' for more details. Please attach that file too.
Created attachment 246452 [details] build-default-i686-pc-linux-gnu-nptl/config.log
try glibc-2.12.1. it works fine for me. do you have app-admin/eselect-compiler installed ?
scratch eselect-compiler question; i read the logic wrong. the glibc ebuild specifically sets CC based on the CTARGET which should be i686-pc-linux-gnu-gcc. do you not have this in your /usr/bin/ ? you should since your gcc-stage1 was emerged.