http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50978
--- Comment #2 from Matthew Gretton-Dann <mgretton at sourceware dot org> 2011-11-03 15:45:57 UTC --- (In reply to comment #1) > > Current SVN fails to build libgcc for an arm-none-eabi target because it > > can't > > find unwind-arm-common.h: > > > > In file included from > > /work/upstream-checkouts/gcc/libgcc/config/arm/unwind-arm.c:24:0: > > ./unwind.h:31:31: fatal error: unwind-arm-common.h: No such file or > > directory > > compilation terminated. > > Could you please provide the complete failing command line? Thanks. /work/builds/arm-master-eabi/gcc2/./gcc/xgcc -B/work/builds/arm-master-eabi/gcc2/./gcc/ -B/work/builds/install/arm-master-eabi/bin/ -B/work/builds/install/arm-master-eabi/lib/ -isystem /work/builds/install/arm-master-eabi/include -isystem /work/builds/install/arm-master-eabi/sys-include -g -O2 -mthumb -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fno-inline -I. -I. -I../../.././gcc -I/work/upstream-checkouts/gcc/libgcc -I/work/upstream-checkouts/gcc/libgcc/. -I/work/upstream-checkouts/gcc/libgcc/../gcc -I/work/upstream-checkouts/gcc/libgcc/../include -o unwind-arm.o -MT unwind-arm.o -MD -MP -MF unwind-arm.dep -fexceptions -c /work/upstream-checkouts/gcc/libgcc/config/arm/unwind-arm.c GCC configured as: /work/upstream-checkouts/gcc/configure --target=arm-master-eabi --prefix=/work/builds/install --with-sysroot=/work/builds/install/arm-master-eabi --with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=.../linux_x86_64 --with-mpfr=.../linux_x86_64 --with-mpc=.../linux_x86_64 --with-libelf=.../linux_x86_64 --disable-lto --disable-shared --disable-nls --disable-threads --disable-tls --enable-checking=yes --with-cpu=cortex-a9 --with-fpu=neon --with-float=softfp Build directory: /work/builds/arm-master-eabi/gcc2