http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50978

             Bug #: 50978
           Summary: libgcc build fails - unable to find
                    unwind-arm-common.h
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: mgret...@sourceware.org
                CC: ramana.radhakrish...@arm.com, rearn...@.arm.com,
                    r...@gcc.gnu.org
            Target: arm-none-eabi


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.


I think that the recent move of source from gcc/config to libgcc/config failed
to move the EXTRA_HEADERS line from gcc/config/arm/t-bpabi and
gcc/config/arm/t-symbian to libgcc/config/arm/t-bpabi and
libgcc/config/arm/t-symbian respectively.

However, making the naive change doesn't work as unwind-arm-common.h lives in
gcc/ginclude.  Does the header have to move directory?

GCC is configured as follows:

/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 

Checked against gcc trunk SVN revision 180820

Reply via email to