Hi, glibc 2.2.5-r7 fails with gcc 2.9. If tried an update and a bootstrap. flags: ----------------------- CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" USE="-3dnow -arts -avi -cups -encode -gtk -gpm -ipv6 -java -kde -mikmod -motif -mpeg -oggvorbis -opengl -oss -qt -qtmt -quicktime -sdl -svga -truetype -X -xmms -xv acl gd imap innodb ldap mmx nocardbus perl mysql postgres sasl sse tetex tiff zlib" --------------------- log: ------------------- gcc greek-ccitt.c -c -O2 -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=i686 -pipe -fPIC -I../include -I. -I/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/iconvdata -I.. -I../libio -I/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -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../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 -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -o /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/iconvdata/greek-ccitt.os In file included from 8bit-gap.c:33, from greek-ccitt.c:29: /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/iconvdata/greek-ccitt.h:1: parse error before `-' ... tons of parse errors ... In file included from 8bit-gap.c:72, from greek-ccitt.c:29: ../iconv/loop.c: In function `from_gap': ../iconv/loop.c:282: `to_ucs4' undeclared (first use in this function) ../iconv/loop.c:282: (Each undeclared identifier is reported only once ../iconv/loop.c:282: for each function it appears in.) In file included from 8bit-gap.c:106, from greek-ccitt.c:29: ../iconv/loop.c: In function `to_gap': ../iconv/loop.c:282: `from_idx' undeclared (first use in this function) ../iconv/loop.c:282: `from_ucs4' undeclared (first use in this function) ../iconv/loop.c:282: warning: left-hand operand of comma expression has no effect ../iconv/loop.c: In function `to_gap_single': ../iconv/loop.c:384: `from_idx' undeclared (first use in this function) ../iconv/loop.c:384: `from_ucs4' undeclared (first use in this function) ../iconv/loop.c:384: warning: left-hand operand of comma expression has no effect In file included from 8bit-gap.c:110, from greek-ccitt.c:29: ../iconv/skeleton.c: In function `gconv': ../iconv/loop.c:384: warning: `res' might be used uninitialized in this function ../iconv/loop.c:282: warning: `res' might be used uninitialized in this function make[2]: *** [/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/iconvdata/greek-ccitt.os] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/iconvdata' make[1]: *** [iconvdata/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5' make: *** [all] Error 2 -----------------------
gcc-2.9 ?
Actual gcc 2.95.3-r7 (glibc update from previous version and a bootstrap on fresh system fails).
You do not maybe have dev-libs/libiconv installed ?
no libiconv installed
well i have different system wheer glibc fails to compile this one is from work. At home i have a fail at another position and saying to much files open.. You will get anothe rpost with this in th enext days. ibc-symbols.h -D_IO_MTSAFE_IO -o /var/tmp/portage/glibc-2.2.5-r7/work/glibc- 2.2.5/buildhere/libio/fileops.o gcc genops.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings - mcpu=i686 -pipe -fexceptions -I../include -I. -I/var/tmp/portage/glibc- 2.2.5-r7/work/glibc-2.2.5/buildhere/libio -I.. -I../libio - I/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere - I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 - I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread - I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv - I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 - I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 - 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../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 -D_LIBC_REENTRANT - include ../include/libc-symbols.h -D_IO_MTSAFE_IO -o /var/tmp/portage/glibc- 2.2.5-r7/work/glibc-2.2.5/buildhere/libio/genops.o fileops.c:1111: warning: weak declaration of `_IO_do_write' after first use results in unspecified behavior fileops.c: In function `strip': fileops.c:236: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[2]: *** [/var/tmp/portage/glibc-2.2.5-r7/work/glibc- 2.2.5/buildhere/libio/fileops.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r7/work/glibc- 2.2.5/libio' make[1]: *** [libio/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 129, Exitcode 2 !!! (no error message) fw-pr-nbg01 root # gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/specs Configured with: /var/tmp/portage/gcc-3.1.1-r1/work/gcc-3.1.1/configure -- prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared -- host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu -- with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable- threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio -- enable-clocale=generic --enable-version-specific-runtime-libs --with-gxx- include-dir=/usr/include/g++-v31 --with-local-prefix=/usr/local --enable- shared --enable-nls --without-included-gettext Thread model: posix gcc version 3.1.1
I have exactly the same error (as shown at the top of the bug) with a bootstrap of a 1.4-rc1 (with gcc3).
Created attachment 4455 [details] the output of the emerge -u system (glibc) the output of the emerge -u system (glibc). I doubt having too many files open. Ialso raised the limits to 6000 files.
Had the same thing yesterday. It was due to me having both linux-headers-2.4.18 and 2.4.19 installed. Check that you only have 2.4.19 installed and let me know ?
Well I had only 2.4.19 headers installed. I have unmerged all headers and emerged again and now glibc compiled. Strange effect. Anyway, it helped. :-)
Seems like it could be SANDBOX related. If it happens again, but you cannot get it right, try: #FEATURES=-sandbox emerge glibc and let me know if it worked.
I've resolved with these settings in /etc/make.conf: MAKEOPTS="" FEATURES="sandbox" The default was: MAKEOPTS="-j2" FEATURES="sandbox ccache" Maybe is a bug in make, because the glibc's build fail in a .h file which contain Makefile dependencies !?
Anybody use ext3 with HTREE ? Seems like this was the cause of this and other problems for me.
> Anybody use ext3 with HTREE ? Seems like this was the cause of this and > other problems for me. Seems like you guessed right! Using the kernel from gentoo-sources-2.4.19-r9 without the ext3_htree patch all long builds are ok now.
Great, marking as resolved.
*** Bug 11073 has been marked as a duplicate of this bug. ***