Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101403 - glibc-2.3.5-r1 fails to compile
Summary: glibc-2.3.5-r1 fails to compile
Status: RESOLVED DUPLICATE of bug 99407
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-04 20:12 UTC by Andrew Resch
Modified: 2005-08-05 23:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Resch 2005-08-04 20:12:40 UTC
../nptl/sysdeps/unix/sysv/linux/i386/../fork.c: In function `__libc_fork':
../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:203: error: can't find a register
in class `BREG' while reloading `asm'
make[2]: ***
[/var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-nptl/posix/fork.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r1/work/glibc-2.3.5/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r1/work/glibc-2.3.5'
make: *** [all] Error 2

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.13-rc4-mm1 i686)
=================================================================
System uname: 2.6.13-rc4-mm1 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -fPIC -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -fPIC -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac acpi alsa apache2 apm avi berkdb bitmap-fonts cdr
crypt cups curl dba devmap divx4linux eds emboss encode fam ffmpeg firefox flac
foomaticdb fortran gd gdbm gif gnome gstreamer gtk gtk2 gtkhtml guile hal howl
imlib java jpeg kqemu libg++ libwww mad mikmod mmx mono moznoxft mp3 mpeg mysql
ncurses noinfo nptl ogg oggvorbis opengl pdflib perl pic png python quicktime
readline samba sdl softmmu spell sse ssl svg svga tcpd theora tiff truetype
truetype-fonts type1-fonts userlocales vhosts vorbis win32codecs xine xml2 xv
xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


Reproducible: Always
Steps to Reproduce:
1.emerge glibc
2.
3.

Actual Results:  
emerge fails
Comment 1 SpanKY gentoo-dev 2005-08-04 21:36:16 UTC
take -fPIC out of your CFLAGS
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-08-05 21:56:14 UTC
Looks like a duplicate of bug 99407.
Comment 3 Andrew Resch 2005-08-05 23:02:02 UTC
Taking -fPIC out of my CFLAGS allowed the emerge to finish.
Comment 4 SpanKY gentoo-dev 2005-08-05 23:05:41 UTC
thanks ph, i knew there was another bug, just couldnt seem to find it

*** This bug has been marked as a duplicate of 99407 ***