Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44358 - emerge glibc-2.3.2-r9 fails on raise.c when USE="nptl" is on
Summary: emerge glibc-2.3.2-r9 fails on raise.c when USE="nptl" is on
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-11 06:49 UTC by Christian Malerbakken
Modified: 2004-09-03 11:46 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 Christian Malerbakken 2004-03-11 06:49:50 UTC
Accidentally removed the NPTL-flag when revising my USEflags, and glibc was reemerged without NPTL capability (note: this is _after_ i had successfully installed a working system, and had it working for about a month, without a single glitch. glibc was compiled _with_ NPTL support during bootstrap.).
Now when tring to emerge with NPTL once again in the USEflags I get this:

gcc ../nptl/sysdeps/pthread/sigprocmask.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=athlon-mp -pipe -mpreferred-stack-boundary=2  -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/signal -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere -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.2/include -isystem /lib/modules/2.6.3-gentoo-r1/build/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -o /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/signal/sigprocmask.os -MD -MP -MF /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/signal/sigprocmask.os.dt
../nptl/sysdeps/unix/sysv/linux/raise.c: In function `raise':
../nptl/sysdeps/unix/sysv/linux/raise.c:49: error: `__NR_tgkill' undeclared (first use in this function)
../nptl/sysdeps/unix/sysv/linux/raise.c:49: error: (Each undeclared identifier is reported only once
../nptl/sysdeps/unix/sysv/linux/raise.c:49: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/signal/raise.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.2-r9 failed.
!!! Function src_compile, Line 497, Exitcode 2
!!! (no error message)


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

Actual Results:  
glibc failed to compile

Expected Results:  
glibc shaould have compiled and installed

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.
3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo http://gentoo.linux.no http:
//ftp.rhnet.is/pub/gentoo http://212.219.247.10/sites/www.ibiblio.org/gentoo/ 
ftp://gentoo.linux.no"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 apm arts avi berkdb cdr crypt cups dvd dvdr 
encode esd fam fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde 
libg++ libwww mad mikmod mmx motif mozilla mpeg msn ncurses nls nptl oggvorbis 
opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang 
spell sse ssl svga tcltk tcpd tiff truetype usb wmf x86 xml2 xmms xv zlib"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-09-03 11:46:06 UTC
please use the latest glibc and reopen if the problem persists.