http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48807
Summary: Segfault building newlib for bfin Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: shend...@gcc.gnu.org building bfin with newlib-1.18 appears to have been broken on trunk since r172258. We get a seg fault when building newlib: /home/shender/upstream/toolchain/temp/./gcc/xgcc -B/home/shender/upstream/toolchain/temp/./gcc/ -nostdinc -B/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib/ -isystem /home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib/targ-include -isystem /home/shender/upstream/toolchain/gcc-4.6/newlib/libc/include -B/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/libgloss/bfin -L/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/libgloss/libnosys -L/home/shender/upstream/toolchain/gcc-4.6/libgloss/bfin -B/home/shender/upstream/toolchain/bfin-elf/bfin-elf/bin/ -B/home/shender/upstream/toolchain/bfin-elf/bfin-elf/lib/ -isystem /home/shender/upstream/toolchain/bfin-elf/bfin-elf/include -isystem /home/shender/upstream/toolchain/bfin-elf/bfin-elf/sys-include -mid-shared-library -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.19.0\" -DPACKAGE_STRING=\"newlib\ 1.19.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex -I/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/../common -I/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/ -fno-builtin -g -O2 -mid-shared-library -c -o lib_a-casinf.o `test -f 'casinf.c' || echo '/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/'`casinf.c /home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/casinf.c: In function ‘casinf’: /home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/casinf.c:120:4: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[8]: *** [lib_a-casinf.o] Error 1 make[8]: Leaving directory `/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib/libm/complex' make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory `/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib/libm' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib' make[4]: *** [multi-do] Error 1 make[4]: Leaving directory `/home/shender/upstream/toolchain/temp/bfin-elf/newlib' make[3]: *** [all-multi] Error 2 make[3]: Leaving directory `/home/shender/upstream/toolchain/temp/bfin-elf/newlib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/shender/upstream/toolchain/temp/bfin-elf/newlib' make[1]: *** [all-target-newlib] Error 2 make[1]: Leaving directory `/home/shender/upstream/toolchain/temp' make: *** [all] Error 2 gcc configured with: /home/shender/upstream/toolchain/gcc-4.6/configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=bfin-elf --prefix=/home/shender/upstream/toolchain/bfin-elf --disable-libstdcxx-pch --enable-languages=c --with-newlib --enable-clocale=generic --disable-symvers --disable-libssp --disable-libffi --disable-libgcj --without-ppl