From: Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
To: gdb-patches@sourceware.org
Subject: wrong bfd recognized
Date: Tue, 13 Dec 2011 15:29:00 -0000 [thread overview]
Message-ID: <CAB88xy91dt7mOT4wjkaDCvDmj03LjZ_BAV7xTGsaeWe0ZdDe7Q@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2011-12-13 15:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-13 15:29 Luca Pizzamiglio [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAB88xy91dt7mOT4wjkaDCvDmj03LjZ_BAV7xTGsaeWe0ZdDe7Q@mail.gmail.com \
--to=luca.pizzamiglio@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox