From: "Pedro Alves" <pedro_alves@portugalmail.pt>
To: "Markus Deuling" <deuling@de.ibm.com>
Cc: "GDB Patches" <gdb-patches@sourceware.org>,
"Ulrich Weigand" <uweigand@de.ibm.com>
Subject: Re: [rfc] testsuite/lib/gdb.exp: Enable additional linker flags in gdb_compile_shlib
Date: Wed, 16 May 2007 09:28:00 -0000 [thread overview]
Message-ID: <4053daab0705160227m592db5ecp9d876bfcb2025fae@mail.gmail.com> (raw)
In-Reply-To: <464ABCA4.9040109@de.ibm.com>
On 5/16/07, Markus Deuling <deuling@xxx> wrote:
> I try to build a shared library using gdb_compile_shlib. The build is done in two steps (compile and link).
>
> The testcase I work on adds
> set lib_flags "$lib_flags additional_flags=-Wl,-Bsymbolic"
> as an option to gdb_compile_shlib. The compile run quits with
> gcc: -Bsymbolic: linker input file unused because linking not done
> because the linker option is given to the compile run, too.
>
I've seen something similar before. Did you try using ldflags instead?
I think those will only be used when linking.
set lib_flags "$lib_flags ldflags=-Wl,-Bsymbolic"
Cheers,
Pedro Alves
next prev parent reply other threads:[~2007-05-16 9:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-16 8:12 Markus Deuling
2007-05-16 9:28 ` Pedro Alves [this message]
2007-05-16 9:38 ` Markus Deuling
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=4053daab0705160227m592db5ecp9d876bfcb2025fae@mail.gmail.com \
--to=pedro_alves@portugalmail.pt \
--cc=deuling@de.ibm.com \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.com \
/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