Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81363 - glibc-2.3.4.20041102 with nptl fails
Summary: glibc-2.3.4.20041102 with nptl fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-09 06:28 UTC by Tony Harmelink
Modified: 2005-07-15 07:17 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 Tony Harmelink 2005-02-09 06:28:22 UTC
Yet more problems with pthreads

linux_64 ace # emerge -pv glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.4.20041102  -build -debug -erandom -hardened+multilib +nls -nomalloccheck +nptl -nptlonly -pic +userlocales 0 kB

x86_64-pc-linux-gnu-gcc ../sysdeps/unix/sysv/linux/prof-freq.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=athlon64 -pipe   -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20041102/work/build-default-x86_64-pc-linux-gnu-nptl/gmon -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.4.20041102/work/build-default-x86_64-pc-linux-gnu-nptl -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -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/x86_64 -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -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  -DPIC -DSHARED     -DNOT_IN_libc=1 -DIS_IN_rtld=1 -o /var/tmp/portage/glibc-2.3.4.20041102/work/build-default-x86_64-pc-linux-gnu-nptl/gmon/rtld-prof-freq.os -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20041102/work/build-default-x86_64-pc-linux-gnu-nptl/gmon/rtld-prof-freq.os.dt -MT /var/tmp/portage/glibc-2.3.4.20041102/work/build-default-x86_64-pc-linux-gnu-nptl/gmon/rtld-prof-freq.os
make[4]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102/work/glibc-2.3.3/gmon'
make[3]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102/work/glibc-2.3.3/elf'
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20041102/work/build-default-x86_64-pc-linux-gnu-nptl/elf/rtld-libc.a] Error 2
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102/work/glibc-2.3.3/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102/work/glibc-2.3.3'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.4.20041102 failed.
!!! Function src_compile, Line 743, Exitcode 2


Reproducible: Always
Steps to Reproduce:
1. Set use flags
2. Compile
3.




linux_64 ace # emerge info
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 08:43:47)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
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-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon64 -ffast-math -funit-at-a-time -ftracer -pipe"
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="-O3 -march=athlon64 -ffast-math -funit-at-a-time -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com
http://gentoo.seren.com/gentoo
http://www.zentek-international.com/mirrors/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.chem.wisc.edu/gentoo/
http://mirrors.tds.net/ http://mirror.datapipe.net/gentoo
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gp"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acpi alsa apache2 arts avi berkdb bitmap-fonts cdparanoia
cdr clamav crypt cups divx4linux dvd encode esd f77 faad fam flac flash
font-server foomatic foomaticdb fortran gcj gd gdbm gif gimpprint gnome gpm gtk
gtk2 imagemagick imap imlib insults ipv6 jack java jp2 jpeg junit kde ldap
libwww lzw lzw-tiff mad maildir matroska mbox mikmod monkey motif mozilla mpeg
multilib mysql ncurses nls nptl objc offensive oggvorbis opengl oss pam pdflib
perl png povray ppds python qt readline samba sdl slang snmp speex spell ssl
tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales xine
xml2 xmms xpm xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-14 02:39:16 UTC
Can youu please try:
CFLAGS="-O2 -march=athlon64 -pipe"
and glibc-2.3.5
Comment 2 Tony Harmelink 2005-07-14 23:26:26 UTC
Build completed.
Setup has changed though.

Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.5-r0,
2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.6.12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
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="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org/
http://gentoo.netnitco.net ftp://pandemonium.tiscali.de/pub/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="amd64 / 3dnowex X aac aalib alsa apache2 arts avi bash-completion berkdb
bitmap-fonts cdparanoia cdr clamav crypt cups curl dvd encode esd f77 faad fam
flac flash foomatic foomaticdb fortran gcj gd gdbm gif gimpprint gnome gpm gtk
gtk2 imagemagick imap imlib insults ipv6 jack java jpeg kde ldap libwww lzw
lzw-tiff mad maildir matroska mbox mikmod monkey motif mozilla mp3 mpeg multilib
mysql ncurses nls nptl objc offensive ogg oggvorbis opengl oss pam pdflib perl
png povray ppds python qt quicktime readline samba sasl sdl slang snmp speex
spell ssl tcltk tcpd theora tiff truetype-fonts type1-fonts usb userlocales
vorbis xine xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Tony Harmelink 2005-07-15 07:17:41 UTC
Also compiles with my old Cflags
CFLAGS="-O3 -march=athlon64 -ffast-math -funit-at-a-time -ftracer -pipe"