Under some circumstances --disable-libgomp is not passed to configure when the openmp use flag is not set. Reproducible: Always Steps to Reproduce: After having used the testing versions for the cross-toolchain for a while I decided to switch to the stable ones. So I removed old cross-armv4tl-softfloat-linux-gnueabi/* and ran crossdev -S -t armv4tl-softfloat-linux-gnueabi Actual Results: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * crossdev version: 20110310 * Host Portage ARCH: amd64 * Target Portage ARCH: arm * Target System: armv4tl-softfloat-linux-gnueabi * Stage: 4 (C/C++ compiler) * ABIs: default * binutils: binutils-[stable] * gcc: gcc-[stable] * headers: linux-headers-[stable] * libc: glibc-[stable] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PORTAGE_CONFIGROOT: _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/binutils * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/gcc * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/linux-headers * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/glibc * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/gdb * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/insight * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ... [ ok ] * Log: /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-binutils.log * Emerging cross-binutils ... [ ok ] * Log: /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-linux-headers-quick.log * Emerging cross-linux-headers-quick ... [ ok ] * Log: /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-glibc-headers.log * Emerging cross-glibc-headers ... [ ok ] * Log: /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-gcc-stage1.log * Emerging cross-gcc-stage1 ... * gcc failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-info.log * /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-gcc-stage1.log Expected Results: New toolchain using the stable versions is successfuly built.
Created attachment 266777 [details] cross-armv4tl-softfloat-linux-gnueabi-info.log
Created attachment 266779 [details] cross-armv4tl-softfloat-linux-gnueabi-gcc-stage1.log.gz
Created attachment 266781 [details, diff] toolchain.eclass.patch Attached patch makes sure --disable-libgomp is passed to configure whenever openmp is not enabled.
thanks http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.453&r2=1.454