This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: wrong bfd recognized


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]