[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#307993: CE in gen_subprogram_die at dwarf2out.c:10913 building glibc 2.3.5 with nptl



Ubuntu currently builds glibc-2.3.5 with gcc-3.4 CVS 20050209, that's
older than the Debian gcc-3.4 CVS 20050314. Jeff, any hints?

I'll update gcc-3.4 to the current CVS once -13 enters testing.

Benjamin Herrenschmidt writes:
> Package: gcc-3.4
> Severity: important
> 
> 
> Enabling NTPL support in glibc-2.3.5 for powerpc requires using gcc-3.4
> as 3.3 doesn't support __thread on this platform. However, the NPTL
> build fails with this internal error.
> 
> gcc-3.4 tst-execstack-mod.c -c -std=gnu99 -O2 -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fstrict-aliasing -g -g1 -pipe -mnew-mnemonics   -fpic    -I../include -I. -I/home/benh/glibc-2.3.5/build-tree/powerpc-nptl/nptl -I.. -I../libio  -I/home/benh/glibc-2.3.5/build-tree/powerpc-nptl -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../nptl/sysdeps/unix/sysv/linux/powerpc -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/powerpc -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/linux/powerpc -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/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32/fpu -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/powerpc-linux/3.4.4/include -isystem /home/benh/glibc-2.3.5/debian/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED -DNOT_IN_libc=1 -DNOT_IN_libc   -o /home/benh/glibc-2.3.5/build-tree/powerpc-nptl/nptl/tst-execstack-mod.os -MD -MP -MF /home/benh/glibc-2.3.5/build-tree/powerpc-nptl/nptl/tst-execstack-mod.os.dt -MT /home/benh/glibc-2.3.5/build-tree/powerpc-nptl/nptl/tst-execstack-mod.os
> ../elf/tst-execstack-mod.c: In function `tryme':
> ../elf/tst-execstack-mod.c:24: internal compiler error: in gen_subprogram_die, at dwarf2out.c:10913
> 
> I enclosed the .i and .s files
[...]

Reply to: