Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437252 - sys-libs/glibc-2.15-r3 - In function '__libc_fork': ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:228:70: error: inconsistent operand constraints in an 'asm'
Summary: sys-libs/glibc-2.15-r3 - In function '__libc_fork': ../nptl/sysdeps/unix/sysv...
Status: RESOLVED DUPLICATE of bug 85961
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-05 00:49 UTC by Alexander
Modified: 2012-10-08 03:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=sys-libs/glibc-2.15-r3' (glibc-info.txt,17.74 KB, text/plain)
2012-10-05 00:50 UTC, Alexander
Details
/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/temp/build.log (build.log.bz2,41.11 KB, application/bzip2)
2012-10-05 00:53 UTC, Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2012-10-05 00:49:58 UTC
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'
Comment 1 Alexander 2012-10-05 00:50:49 UTC
Created attachment 325692 [details]
emerge --info '=sys-libs/glibc-2.15-r3'
Comment 2 Alexander 2012-10-05 00:53:31 UTC
Created attachment 325694 [details]
/var/tmp/portage/portage/sys-libs/glibc-2.15-r3/temp/build.log
Comment 3 SpanKY gentoo-dev 2012-10-05 17:16:48 UTC
global CFLAGS=-fPIC -> terrible idea

*** This bug has been marked as a duplicate of bug 85961 ***
Comment 4 Alexander 2012-10-08 03:23:13 UTC
deleted -fPIC, now compiles fine