Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33867 - glibc-2.3.2-r9 compile failed: _IO_acquire_lock_needs_exceptions_enabled undeclared
Summary: glibc-2.3.2-r9 compile failed: _IO_acquire_lock_needs_exceptions_enabled unde...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
Depends on:
Reported: 2003-11-19 14:55 UTC by Shawn Leas
Modified: 2003-11-19 22:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Leas 2003-11-19 14:55:50 UTC
Emerging glibc-2.3.2-r9 fails as follows:

gcc iofclose.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-
strings -freorder-blocks -march=athlon-xp -mcpu=athlon-xp -pipe -mpreferred-
stack-boundary=2  -fexceptions   -I../include -I. -I/var/tmp/portage/glibc-
2.3.2-r9/work/glibc-2.3.2/buildhere/libio -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.2.3/include -isystem /lib/modules/2.6.0-test9-mm2/build/include -
D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -
D_IO_MTSAFE_IO -o /var/tmp/portage/glibc-2.3.2-r9/work/glibc-
2.3.2/buildhere/libio/iofclose.o -MD -MP -MF /var/tmp/portage/glibc-2.3.2-
iofclose.c: In function `_IO_new_fclose':
iofclose.c:60: `_IO_acquire_lock_needs_exceptions_enabled' undeclared (first 
use in this function)
iofclose.c:60: (Each undeclared identifier is reported only once
iofclose.c:60: for each function it appears in.)
iofclose.c: At top level:
iofclose.c:66: syntax error before "while"
iofclose.c:74: syntax error before '->' token
iofclose.c:74: warning: type defaults to `int' in declaration of 
iofclose.c:74: warning: function declaration isn't a prototype
iofclose.c:74: conflicting types for `__gconv_release_step'
../iconv/gconv_int.h:200: previous declaration of `__gconv_release_step'
iofclose.c:74: warning: data definition has no type or storage class
iofclose.c:75: syntax error before '->' token
iofclose.c:75: warning: type defaults to `int' in declaration of 
iofclose.c:75: warning: function declaration isn't a prototype
iofclose.c:75: warning: data definition has no type or storage class
iofclose.c:86: warning: type defaults to `int' in declaration of `free'
iofclose.c:86: warning: parameter names (without types) in function declaration
iofclose.c:86: conflicting types for `free'
../stdlib/stdlib.h:569: previous declaration of `free'
iofclose.c:86: warning: data definition has no type or storage class
iofclose.c:87: syntax error before '}' token
make[2]: *** [/var/tmp/portage/glibc-2.3.2-r9/work/glibc-
2.3.2/buildhere/libio/iofclose.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-
make[1]: *** [libio/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

emerge info:
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r8, 2.6.0-test9-mm2)
System uname: 2.6.0-test9-mm2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version
ccache version 2.3 [disabled]
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/
share/config /usr/NX/etc /usr/share/texmf/tex/generic/config/ /usr/share/texmf/t
ex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
FEATURES="autoaddcvs sandbox -ccache userpriv"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb 
gtkhtml gdbm berkdb slang readline arts tetex aalib nas bonobo svga java guile 
mysql sdl gpm tcpd pam perl python esd imlib oggvorbis motif opengl mozilla 
ldap cdr -debug X cups nptl scanner usb sse dvd tcltk gtk2 gtk gnome alsa imap 
libwww maildir sasl ssl -qt -kde"

Reproducible: Always
Steps to Reproduce:
1. emerge -vub glibc
Comment 1 Shawn Leas 2003-11-19 15:49:17 UTC
Well, I can't re-emerge glibc-2.3.2-r8 either, so something in between the successful emerge of glibc-2.3.2-r8 broke me.

I could narrow it down a little if I knew what sort of package usually provides this define... linux-headers perhaps? I dunno...
Comment 2 Shawn Leas 2003-11-19 18:03:55 UTC
Ok, I'm building a chroot gentoo environment right now (that I'll just have to keep tarballs of) to see what's what.

If I can determine what is going on I'll update the bug, and hopefully prevent others from getting bit.
Comment 3 Shawn Leas 2003-11-19 22:39:29 UTC
I guess upgrading to binutils- maybe broke my gcc-3.3.2-r2...

re-emerging binutils then gcc seems to have fixed things up.

Not sure if "WONTFIX" is appropriate, but I want to clean up after myself as much as I can.