Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99223 - glibc-2.3.5 compile error on amd64
Summary: glibc-2.3.5 compile error on amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-16 07:55 UTC by demian
Modified: 2005-07-16 08:09 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 demian 2005-07-16 07:55:55 UTC
i get these errors when upgrading my glibc-2.3.4.20041102 to glibc-2.3.5. i cant
complete my emerge -uv --deep system because of this glibc problem.

x86_64-pc-linux-gnu-gcc ../sysdeps/unix/sysv/linux/execve.c -c -std=gnu99 -O2
-O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fPIC -march=k8 -pipe
-mpreferred-stack-boundary=2  -g0 -O99 -fomit-frame-pointer
-D__USE_STRING_INLINES    -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.4/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/execve.o
-MD -MP -MF
/var/tmp/portage/glibc-2.3.5/work/build-x86-x86_64-pc-linux-gnu-nptl/posix/execve.o.dt
-MT
/var/tmp/portage/glibc-2.3.5/work/build-x86-x86_64-pc-linux-gnu-nptl/posix/execve.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

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



Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4,
glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1, 2.4.1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -fPIC"
DISTDIR="/home/distfiles"
FEATURES="autoaddcvs autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo
http://gentoo.netnitco.net"
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="amd64 X alsa arts avi berkdb bitmap-fonts bzlib cdparanoia cdr crypt cups
curl directfb dvd dvdr dvdread encode esd fam ffmpeg flac foomaticdb fortran gd
gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java javadoc jikes
jpeg kde kdeenablefinal ldap libwww lm_sensors lzw lzw-tiff mad matroska mikmod
mp3 mpeg msn mysql ncurses nls nptl ogg oggvorbis openal opengl pam pdflib perl
png postgres python qt quicktime readline samba sasl sdl spell ssl svg tcpd
theora tiff truetype-fonts type1-fonts usb userlocales v4l vcd videos vorbis
xerces xine xinerama xml xml2 xmlrpc xmms xpm xv xvid yahoo zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-16 08:09:57 UTC
1/ Remove fPIC from your C[XX]FLAGS.
2/ Upgrade linux-headers to 2.6.11-r2 and try again.

Reopen, if the problem still persists then.