On arch armv5te, cpu arm926ej-s, the compiler builds many packages successfully, but it shows the same internal error with:
1) Binutils 2.21.1
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/gas -I. -I../../binutils-2.21.1/gas -I../bfd -I../../binutils-2.21.1/gas/config -I../../binutils-2.21.1/gas/../include -I../../binutils-2.21.1/gas/.. -I../../binutils-2.21.1/gas/../bfd -DLOCALEDIR="\"/opt/share/locale\"" -I/opt/include -fgnu89-inline -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT obj-elf.o -MD -MP -MF .deps/obj-elf.Tpo -c -o obj-elf.o `test -f 'config/obj-elf.c' || echo '../../binutils-2.21.1/gas/'`config/obj-elf.c
../../binutils-2.21.1/gas/config/obj-elf.c: In function 'elf_sec_sym_ok_for_reloc':
../../binutils-2.21.1/gas/config/obj-elf.c:252:1: internal compiler error: in add_clobbers, at config/arm/thumb2.md:1703
Please submit a full bug report,
2) glibc 2.14 :
gcc explodename.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -fPIC -I../include -I/share/1000/src/objglibc/intl -I/share/1000/src/objglibc -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl -I../ports/sysdeps/unix/sysv/linux/arm/eabi -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/fpu -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /opt/lib/gcc/armv5tejl-unknown-linux-gnueabi/4.5.4/include -isystem /opt/lib/gcc/armv5tejl-unknown-linux-gnueabi/4.5.4/include-fixed -isystem /usr/src/linux/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -D'LOCALEDIR="/opt/share/locale"' -D'LOCALE_ALIAS_PATH="/opt/share/locale"' -o /share/1000/src/objglibc/intl/explodename.os -MD -MP -MF /share/1000/src/objglibc/intl/explodename.os.dt -MT /share/1000/src/objglibc/intl/explodename.os
explodename.c: In function '_nl_explode_name':
explodename.c:138:1: internal compiler error: in add_clobbers, at config/arm/thumb2.md:1703
Please submit a full bug report,
The first of those packages build without a problem before, with the released gcc 4.5.3 (the original GNU release).
BTW the processor is not 'thumb', its compatible with it, but its 32-bit not 16-bit; I have no idea what is doing using that thumb2.md file.
Hi Rene. We build EGLIBC 2.15 with each release in an ARMv7 and ARMv5 configuration so this is an interesting error.
Could you provide the following information so that we can reproduce the fault?
* Where you obtained the compiler
* If built from source, how it was configured
* The verbose driver output
* Preprocessed source of the failing file
To generate the verbose driver output, add '-v' to the GCC command line. This shows interesting information such as the individual steps taken and how the compiler was configured.
To generate the preprocessed source, add '-save-temps' to the GCC command line. This will produce a .i file that you can compress and attach to this ticket.