Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* wrong bfd recognized
@ 2011-12-13 15:29 Luca Pizzamiglio
  2011-12-20 14:58 ` Tom Tromey
  2012-02-07 20:15 ` Pedro Alves
  0 siblings, 2 replies; 13+ messages in thread
From: Luca Pizzamiglio @ 2011-12-13 15:29 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 553 bytes --]

Hi!
I'm Luca, the maintainer of gdb7.x on FreeBSD ports.

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

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

Thanks in advance for the support

Luca

PS: please use my address in cc, I'm not in the mailing-list!

[-- Attachment #2: gdb-configure.ac.patch --]
[-- Type: application/octet-stream, Size: 479 bytes --]

--- gdb/configure.ac.orig	2011-12-13 15:33:27.616649109 +0100
+++ gdb/configure.ac	2011-12-13 15:34:08.559285673 +0100
@@ -1854,7 +1854,7 @@
 OLD_LDFLAGS=$LDFLAGS
 OLD_LIBS=$LIBS
 CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
-LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
+LDFLAGS="-L../bfd -L../libiberty $LDFLAGS"
 intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
 # -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>.
 if test "$plugins" = "yes"; then

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-02-10 14:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-13 15:29 wrong bfd recognized Luca Pizzamiglio
2011-12-20 14:58 ` Tom Tromey
2011-12-21 12:24   ` Luca Pizzamiglio
2011-12-21 18:50     ` Tom Tromey
2011-12-29 12:18       ` Luca Pizzamiglio
2011-12-29 19:02         ` Joel Brobecker
2012-01-02 10:04           ` Luca Pizzamiglio
2012-02-06 19:33             ` Tom Tromey
2012-02-07 16:25               ` Luca Pizzamiglio
2012-02-07 20:15 ` Pedro Alves
2012-02-10 13:55   ` Pedro Alves
2012-02-10 13:59     ` Luca Pizzamiglio
2012-02-10 14:02       ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox