[PATCH 2/3] Fix igen build
Mike Frysinger
vapier@gentoo.org
Tue May 4 17:38:44 GMT 2021
On 04 May 2021 08:58, Tom Tromey wrote:
> The igen build fails for me like:
>
> gcc -g -O2 -c ../../binutils-gdb/sim/igen/igen.c -o igen/igen.o
> In file included from ../../binutils-gdb/sim/igen/igen.c:26:
> ../../binutils-gdb/sim/igen/lf.h:22:10: fatal error: ansidecl.h: No such file or directory
>
> This patch fixes the problem by arranging for igen to find the
> libiberty includes.
>
> This seems slightly hacky to me, because libiberty is not a "build"
> library, so it can't be linked against. However, since igen currently
> only includes the header, it seems relatively safe.
since it's only hitting srcroot i think it's OK. if it was hitting the
build paths, then we'd be in trouble.
-mike
More information about the Gdb-patches
mailing list