Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100605 - glibc 2.3.5-r1 compile fail on first emerge -uD system on fresh Gentoo 2005.0 install (chroot)
Summary: glibc 2.3.5-r1 compile fail on first emerge -uD system on fresh Gentoo 2005.0...
Status: RESOLVED DUPLICATE of bug 99407
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-28 09:18 UTC by Tiago Freire
Modified: 2005-07-28 09:34 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 Tiago Freire 2005-07-28 09:18:26 UTC
I started a chroot installation for the single purpose of fixing my AMD64
compilation toolchain, because migration from 2004.3 to 2005.0 broke my mulilib
support. I used teh installation instructions, but instead of booting from the
CD I strated from the stage unpack (Step 5. Installing the Gentoo Installation
Files). unpacked the 2005.0 tarball in the chroot folder, and then the portage
snapshot. proceeded to chrooting, ran emerge -sync and then emerge -uD system.
Package updating hit the wall emergeing glibc.

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

Actual Results:  
glibc compilation failed.

Expected Results:  
glibc should compile.

x86_64-pc-linux-gnu-gcc ../sysdeps/unix/sysv/linux/fexecve.c -c -std=gnu99 -O2
-Wall -Winline -Wstrict-prototypes -Wwrite-strings -fPIC -march=k8 -pipe
-mpreferred-stack-boundary=2     -I../include -I.
-I/var/tmp/portage/glibc-2.3.5/work/build-x86-x86_64-pc-linux-gnu-nptl/posix
-I.. -I../libio -I../nptl
-I/var/tmp/portage/glibc-2.3.5/work/build-x86-x86_64-pc-linux-gnu-nptl
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv
-I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386
-I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/i386
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu
-I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include -isystem /usr/include
-D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o
/var/tmp/portage/glibc-2.3.5/work/build-x86-x86_64-pc-linux-gnu-nptl/posix/fexecve.o
-MD -MP -MF
/var/tmp/portage/glibc-2.3.5/work/build-x86-x86_64-pc-linux-gnu-nptl/posix/fexecve.o.dt
-MT
/var/tmp/portage/glibc-2.3.5/work/build-x86-x86_64-pc-linux-gnu-nptl/posix/fexecve.o
../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/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/glibc-2.3.5/work/glibc-2.3.5/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5'
make: *** [all] Error 2


---------------------------
bash-2.05b# emerge info
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  4 2005, 20:56:19)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -ftracer -fprefetch-loop-arrays -pipe -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -ftracer -fprefetch-loop-arrays -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 0 3dnowex X aac acl acpi alsa apache2 arts artswrappersuid avi berkdb
bidi bitmap-fonts bzip2 bzlib calendar canna caps cdparanoia cdr cjk crypt cu
cups curl dba dga doc dts dv dvb dvd dvdr dvdread encode esd ethereal evo fam
fbcon ffmpeg flac foomaticdb fortran ftp gd gif gmp gnome gnutls gpm gstreamer
gtk gtk2 i8x iconv imagemagick imap imlib innodb interbase ipv6 java jpeg jpeg2k
kde kdeenablefinal lcms ldap libwww lm_sensors lzw lzw-tiff mad maildir
mailwrapper mbox mcal mhash mime mmap mng mozdevelop mozilla mozsvg mp3 mpeg
mpm-prefork mppe-mppc nas ncurses nls nptl nvidia oav odbc offensive ogg
oggvorbis openal opengl oss pam pcntl pcre pda pdflib perl php pic plotutils png
posix postgres ppds prelude profile python qt quicktime rdesktop readline
rlwrappers samba sasl scanner sdl session shared sharedmem slang sndfile soap
sockets sox speex spell spl sqlite ssl svg symlink tcpd theora threads tidy tiff
tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales utf8
vhosts wddx wifi win32 wmf xine xml2 xmlrpc xmms xpm xprint xsl xv xvid yahoo
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-28 09:34:14 UTC
Remove fPIC from your C[XX]FLAGS.

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