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

--- Comment #1 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> 2011-11-03 15:27:19 UTC ---
> 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.

> 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?

No, EXTRA_HEADERS has to remain in gcc until the target headers are
moved to either libgcc or their own toplevel directory.  They are
supposed to be installed into gcc/include during the build (and before
building libgcc is attempted), and should be findable from there.
That's why I'm asking for the complete command line to see where gcc is
looking for headers.

    Rainer

Reply via email to