crossdev --taget sparc-softfloat-linux-gnu fails during building (linking) of glibc. Reproducible: Always Steps to Reproduce: 1. emerge crossdev 2. crossdev --taget sparc-softfloat-linux-gnu Actual Results: glibc fails to build. The problem is Expected Results: No errors. tenten / # crossdev --target sparc-softfloat-linux-gnu -------------------------------------------------------------------------------------------------------------------- * Host Portage ARCH: x86 * Target Portage ARCH: sparc * Target System: sparc-softfloat-linux-gnu * Stage: 4 (C/C++ compiler) * binutils: binutils-[latest] * gcc: gcc-[latest] * headers: linux-headers-[latest] * libc: glibc-[latest] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/sparc-softfloat-linux-gnu * PORTAGE_TMPDIR: /var/tmp/cross/sparc-softfloat-linux-gnu _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - * Forcing the latest versions of {binutils,gcc}-config/gnuconfig... [ ok ] * Log: /var/log/portage/cross-sparc-softfloat-linux-gnu-binutils.log * Emerging cross-binutils... [ ok ] * Log: /var/log/portage/cross-sparc-softfloat-linux-gnu-linux-headers-quick.log * Emerging cross-linux-headers-quick... [ ok ] * Log: /var/log/portage/cross-sparc-softfloat-linux-gnu-glibc-headers.log * Emerging cross-glibc-headers... [ ok ] * Log: /var/log/portage/cross-sparc-softfloat-linux-gnu-gcc-stage1.log * Emerging cross-gcc-stage1... [ ok ] * Log: /var/log/portage/cross-sparc-softfloat-linux-gnu-linux-headers.log * Emerging cross-linux-headers... [ ok ] * Log: /var/log/portage/cross-sparc-softfloat-linux-gnu-glibc.log * Emerging cross-glibc... * glibc failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-sparc-softfloat-linux-gnu-info.log * /var/log/portage/cross-sparc-softfloat-linux-gnu-glibc.log
Created attachment 195149 [details] cross-sparc-softfloat-linux-gnu-info.log
cross-sparc-softfloat-linux-gnu-glibc.log URL: http://store.ierton.homelinux.net/tmp/cross-sparc-softfloat-linux-gnu-glibc.log
Here is examples of glibc buid error messages: /var/tmp/cross/sparc-softfloat-linux-gnu/portage/cross-sparc-softfloat-linux-gnu/glibc-2.9_p20081201-r2/work/build-default-sparc-softfloat-linux-gnu-nptl/libc_pic.os: In function `modfl@GLIBC_2.0': (.text+0x1657c): undefined reference to `__subdf3' /var/tmp/cross/sparc-softfloat-linux-gnu/portage/cross-sparc-softfloat-linux-gnu/glibc-2.9_p20081201-r2/work/build-default-sparc-softfloat-linux-gnu-nptl/libc_pic.os: In function `scalbn': (.text+0x1672c): undefined reference to `__muldf3'
I received an answer from Raúl Porcel via gentoo-embedded mailing list: AFAIK gnueabi is only for ppc and ARM. Also softfloat(specifying it on the CHOST on gentoo) is for arm only. http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/SPARC-Options.html#SPARC-Options You'll need to use -mno-fpu on the CFLAGS. And again, the -softfloat- thing on the CHOST is gentoo-specific and only applies to ARM. So i'm closing a bug.