Re: wrong bfd recognized

Tom Tromey
2011-12-20T14:57:12Z

>>>>> "Luca" == Luca Pizzamiglio <luca.pizzamiglio@gmail.com> writes:

Luca> I've found a strange situation where gdb's configure script fails to
Luca> use libbfd and disable ELF support.
Luca> the problem was that during configuration, the /usr/local/lib/libbfd.a
Luca> was used, instead of the gdb's one. This library was compiled with
Luca> libintl support, then the bfd's test program build failed.

Are you adding -L/usr/local/lib to LDFLAGS?
If so -- why?

Luca> This patch should solve this issue, building bfd's testing program
Luca> using the gdb's one.

I wonder whether it would break something.

If you can find another spot in the src configury that does it this way,
I guess I'd be more inclined to just do it.

This needs a ChangeLog entry.

Tom