glibc fails to compile Reproducible: Always Steps to Reproduce: 1. emerge -1 glibc Actual Results: ... build-x86-x86_64-pc-linux-gnu-nptl/posix/getppid.o In file included from ../nptl/sysdeps/unix/sysv/linux/i386/fork.c:31:0: ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c: In function '__libc_fork': ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:228:70: error: inconsistent operand constraints in an 'asm' make[2]: *** [/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/posix/fork.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/work/glibc-2.15/posix' make[1]: *** [posix/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/work/glibc-2.15' make: *** [all] Error 2 emake failed * ERROR: sys-libs/glibc-2.15-r3 failed (compile phase): * make for x86 failed * * Call stack: * ebuild.sh, line 89: Called src_compile * environment, line 3591: Called eblit-run 'src_compile' * environment, line 981: Called eblit-glibc-src_compile * src_compile.eblit, line 213: Called src_compile * environment, line 3591: Called eblit-run 'src_compile' * environment, line 981: Called eblit-glibc-src_compile * src_compile.eblit, line 221: Called toolchain-glibc_src_compile * src_compile.eblit, line 132: Called die * The specific snippet of code: * emake || die "make for ${ABI} failed" * * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.15-r3'`, * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.15-r3'`. * The complete build log is located at '/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/temp/environment'. * Working directory: '/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl' * S: '/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/work/glibc-2.15' >>> Failed to emerge sys-libs/glibc-2.15-r3, Log file: >>> '/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/temp/build.log'
Created attachment 325692 [details] emerge --info '=sys-libs/glibc-2.15-r3'
Created attachment 325694 [details] /var/tmp/portage/portage/sys-libs/glibc-2.15-r3/temp/build.log
global CFLAGS=-fPIC -> terrible idea *** This bug has been marked as a duplicate of bug 85961 ***
deleted -fPIC, now compiles fine