Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56815 - glibc-2.3.4.20040619 does not compile (update from glibc-2.3.3.20040420 to glibc-2.3.4.20040619)
Summary: glibc-2.3.4.20040619 does not compile (update from glibc-2.3.3.20040420 to gl...
Status: RESOLVED DUPLICATE of bug 56898
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-12 11:58 UTC by boris digital
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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 boris digital 2004-07-12 11:58:33 UTC
when trying to update glibc-2.3.3.20040420 to version glibc-2.3.4.20040619,
glibc doesn't compile succesfully.

last messages:
--------------------------------------------------
...
gcc test-popen.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=athlon-xp -pipe -mpreferred-stack-boundary=2     -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.4.20040619/work/build -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../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-lib/i686-pc-linux-gnu/3.3.3/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -D_IO_MTSAFE_IO -o /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-popen.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-popen.o.dt -MT /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-popen.o
gcc -nostdlib -nostartfiles -o /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-popen  -Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc  /var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crt1.o /var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crti.o `gcc --print-file-name=crtbegin.o` /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-popen.o  -Wl,-rpath-link=/var/tmp/portage/glibc-2.3.4.20040619/work/build:/var/tmp/portage/glibc-2.3.4.20040619/work/build/math:/var/tmp/portage/glibc-2.3.4.20040619/work/build/elf:/var/tmp/portage/glibc-2.3.4.20040619/work/build/dlfcn:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nss:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nis:/var/tmp/portage/glibc-2.3.4.20040619/work/build/rt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/resolv:/var/tmp/portage/glibc-2.3.4.20040619/work/build/crypt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nptl /var/tmp/portage/glibc-2.3.4.20040619/work/build/libc.so.6 /var/tmp/portage/glibc-2.3.4.20040619/work/build/libc_nonshared.a -lgcc -lgcc_eh `gcc --print-file-name=crtend.o` /var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crtn.o
GCONV_PATH=/var/tmp/portage/glibc-2.3.4.20040619/work/build/iconvdata LC_ALL=C   /var/tmp/portage/glibc-2.3.4.20040619/work/build/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.4.20040619/work/build:/var/tmp/portage/glibc-2.3.4.20040619/work/build/math:/var/tmp/portage/glibc-2.3.4.20040619/work/build/elf:/var/tmp/portage/glibc-2.3.4.20040619/work/build/dlfcn:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nss:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nis:/var/tmp/portage/glibc-2.3.4.20040619/work/build/rt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/resolv:/var/tmp/portage/glibc-2.3.4.20040619/work/build/crypt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nptl /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-popen  > /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-popen.out
gcc tstgetln.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=athlon-xp -pipe -mpreferred-stack-boundary=2     -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.4.20040619/work/build -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../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-lib/i686-pc-linux-gnu/3.3.3/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -D_IO_MTSAFE_IO -o /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/tstgetln.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/tstgetln.o.dt -MT /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/tstgetln.o
gcc -nostdlib -nostartfiles -o /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/tstgetln  -Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc  /var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crt1.o /var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crti.o `gcc --print-file-name=crtbegin.o` /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/tstgetln.o  -Wl,-rpath-link=/var/tmp/portage/glibc-2.3.4.20040619/work/build:/var/tmp/portage/glibc-2.3.4.20040619/work/build/math:/var/tmp/portage/glibc-2.3.4.20040619/work/build/elf:/var/tmp/portage/glibc-2.3.4.20040619/work/build/dlfcn:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nss:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nis:/var/tmp/portage/glibc-2.3.4.20040619/work/build/rt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/resolv:/var/tmp/portage/glibc-2.3.4.20040619/work/build/crypt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nptl /var/tmp/portage/glibc-2.3.4.20040619/work/build/libc.so.6 /var/tmp/portage/glibc-2.3.4.20040619/work/build/libc_nonshared.a -lgcc -lgcc_eh `gcc --print-file-name=crtend.o` /var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crtn.o
GCONV_PATH=/var/tmp/portage/glibc-2.3.4.20040619/work/build/iconvdata LC_ALL=C   /var/tmp/portage/glibc-2.3.4.20040619/work/build/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.4.20040619/work/build:/var/tmp/portage/glibc-2.3.4.20040619/work/build/math:/var/tmp/portage/glibc-2.3.4.20040619/work/build/elf:/var/tmp/portage/glibc-2.3.4.20040619/work/build/dlfcn:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nss:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nis:/var/tmp/portage/glibc-2.3.4.20040619/work/build/rt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/resolv:/var/tmp/portage/glibc-2.3.4.20040619/work/build/crypt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nptl /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/tstgetln  > /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/tstgetln.out < tstgetln.input
gcc test-fseek.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=athlon-xp -pipe -mpreferred-stack-boundary=2     -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.4.20040619/work/build -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../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-lib/i686-pc-linux-gnu/3.3.3/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -D_IO_MTSAFE_IO -o /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-fseek.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-fseek.o.dt -MT /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-fseek.o
gcc -nostdlib -nostartfiles -o /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-fseek  -Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc  /var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crt1.o /var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crti.o `gcc --print-file-name=crtbegin.o` /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-fseek.o  -Wl,-rpath-link=/var/tmp/portage/glibc-2.3.4.20040619/work/build:/var/tmp/portage/glibc-2.3.4.20040619/work/build/math:/var/tmp/portage/glibc-2.3.4.20040619/work/build/elf:/var/tmp/portage/glibc-2.3.4.20040619/work/build/dlfcn:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nss:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nis:/var/tmp/portage/glibc-2.3.4.20040619/work/build/rt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/resolv:/var/tmp/portage/glibc-2.3.4.20040619/work/build/crypt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nptl /var/tmp/portage/glibc-2.3.4.20040619/work/build/libc.so.6 /var/tmp/portage/glibc-2.3.4.20040619/work/build/libc_nonshared.a -lgcc -lgcc_eh `gcc --print-file-name=crtend.o` /var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crtn.o
GCONV_PATH=/var/tmp/portage/glibc-2.3.4.20040619/work/build/iconvdata LC_ALL=C   /var/tmp/portage/glibc-2.3.4.20040619/work/build/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.4.20040619/work/build:/var/tmp/portage/glibc-2.3.4.20040619/work/build/math:/var/tmp/portage/glibc-2.3.4.20040619/work/build/elf:/var/tmp/portage/glibc-2.3.4.20040619/work/build/dlfcn:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nss:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nis:/var/tmp/portage/glibc-2.3.4.20040619/work/build/rt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/resolv:/var/tmp/portage/glibc-2.3.4.20040619/work/build/crypt:/var/tmp/portage/glibc-2.3.4.20040619/work/build/nptl /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-fseek  > /var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-fseek.out
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20040619/work/build/stdio-common/test-fseek.out] Error 139
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040619/work/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/tests] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040619/work/glibc-2.3.2'
make: *** [check] Error 2

!!! ERROR: sys-libs/glibc-2.3.4.20040619 failed.
!!! Function do_makecheck, Line 231, Exitcode 2
!!! (no error message)
--------------------------------------------------

Reproducible: Always
Steps to Reproduce:
1.emerge sync (today, 12/07/2004, 4pm)
2.emerge -u glibc
3.



Expected Results:  
glibc-2.3.4.20040619 should compile, of course ;)

# emerge info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r7)
=================================================================
System uname: 2.6.7-gentoo-r7 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/home/portage/portage_distfiles"
FEATURES="autoaddcvs ccache digest fixpackages sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/
ftp://ftp.uninett.no/pub/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/home/portage/portage_packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage/portage_overlay
/home/portage/portage_overlay_extras/gentoo-de
/home/portage/portage_overlay_extras/bmg-main"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow S3TC X Xaw3d aalib acl acpi acpi4linux activefilter adns alsa amd
apache2 apm arts artswrappersuid avi bindist bsh caps cdr cgi chroot clamav
crypt cscope cups curl dedicated dga directfb dv dvb dvd dvdr emacs emacs-w3
encode esd ethereal faad fam fastcgi fbcon fbdev ffmpeg flac flash foomaticdb
freetype fs gd gdbm geoip ggi gif gimp gimpprint glut gphoto2 gpm gstreamer gtk
gtk2 imap imlib ipv6 jabber java javamail javascript jikes joystick jpeg kde
krb4 ladcca lcms ldap leim libwww linguas_de lirc lzw lzw-tiff mad maildir
makecheck mbox mcal md5sum mikmod mixer mldonkeypango mmx mng motif mozctl
mozilla mozinterfaceinfo moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mpeg4
mpi mplayer msn mule music nas ncurses net nhc98 nls nocardbus nocd nptl ntlm
nvidia oav offensive oggvorbis ooo-kde openal opengl openssh oscar oss pam
parse-clocks pdflib perl physfs pic plotutils png ppds prelude pthreads python
qt quicktime readline ruby samba sdl slang slp snmp speedo speex spell sse ssl
svg svga tcltk tcpd tetex threads tiff transcode truetype ttf type1 unicode usb
v4l v4l2 videos wmf wxwindows x86 xatrix xchattext xface xine xinerama xml xml2
xmms xosd xv xvid yahoo zeo zlib zvbi"
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2004-07-12 12:06:33 UTC
I also recieve this same error.  Here is my emerge info:

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.3.20040420-r0, 2.6.7-bk20-ck5)
=================================================================
System uname: 2.6.7-bk20-ck5 i686 AMD Athlon(tm) MP 1900+
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -fomit-frame-pointer -pipe -ftracer -fweb -frename-registers"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O2 -fomit-frame-pointer -pipe -ftracer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X acl apm arts avi berkdb cjk crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad makecheck mikmod mmx motif mpeg ncurses nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd truetype vim-with-x x86 xml2 xmms xv zlib"

I've tried recompiling it with varying CFLAGS, and I've tried recompiling my entire box a couple of times with different CFLAGS to try and fix it, but no luck.  I had that glibc compile on two of my other systems though, one of which is running gcc 3.4.1 as well.
Comment 2 Dinil Penne 2004-07-12 14:17:41 UTC
I have exactly the same error. It's smething to do with nptl & hardened USE flags. Or maybe it's just with  nptl.

From another bug post, I beleive setting the USE='-makecheck' allows glibc to compile. The main question is - is this a good idea? Since glibc is such a core library, should it not pass all it's own internal checks?

I'm trying it out right now.
Comment 3 Jason Short 2004-07-12 15:41:51 UTC
same deal on this system with makecheck turned on, trying again with it off.

Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="3dnow X aac aalib accounting acl acpi acpi4linux adns aim alsa amd apache2 arts asterisk async audiofile avantgo avi berkdb cap caps cddb cdr cgi chroot clamav crypt cscope cups curl dga dillo directfb divx4linux dnd dnsdb dv dvd dvdr encode erandom escreen esd etwin f77 faad fam fastcgi fbcon fbdev fdftk ffmpeg fftw flac flash fmod foomaticdb freetype fs gd gdbm gif glut gmp gnutls gphoto2 gpm gps gstreamer gtk gtk2 guile hbci icq ieee1394 imagemagick imap imlib imlib2 ipv6 irmc jabber jack jack-tmpfs java javascript jce jikes jpeg junit kde ladcca lcd lcms ldap lesstif libcaca libg++ libwww lirc live lua lzw-tiff mad maildir mailwrapper makecheck matroska mbox mcal md5sum memlimit mikmod mmap mmx mng monkey mono motif mozdomi mozilla moznocompose moznoirc moznomail mozp3p mozsvg mpeg mpeg4 mpi msn mysql nas ncurses netcdf nls nptl nvidia oav objc offensive ofx oggvorbis opengl operanom2 oscar oss pam pda pdflib perl pic pie png postgres ppds pthreads python qt quicktime readline ruby samba sasl scanner sdl silc skey slang slp spell sse ssl svg svga tcltk tcpd tetex theora threads tiff transcode truetype unicode usb v4l v4l2 vanilla vim-with-x virus-scan wmf wxwin wxwindows x86 xface xfs xgetdefault xine xinerama xml xml2 xmms xosd xprint xv xvid yahoo zlib"
Comment 4 Jason Short 2004-07-12 15:51:41 UTC
it may be worth noting that i am -not- seeing this on two other systems that are -march=i686 and -march=pentium4
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2004-07-12 22:41:11 UTC
I got it to compiled on my athlon-xp, pentium-4, and k6-2, but not the athlon-mp.
Comment 6 Nickolay Kolchin-Semyonov 2004-07-15 13:33:57 UTC
I got just the same problem. After upgrading compiler to "gcc-3.3.4-r1" problem still present (failure inside fseek-test).

GCC versions:
- gcc-3.3.3-r6
- gcc-3.3.4-r1

CFLAGS = "-mcpu=athlon-xp -fprefetch-loop-arrays -pipe -freorder-blocks -O2"


Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2004-07-15 13:53:23 UTC
Take out 'makecheck' out of USE for now ...


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