This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libitm, build] Support sun symbol versioning
- From: Michael Matz <matz at suse dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, gcc-patches at gcc dot gnu dot org, Paolo Bonzini <bonzini at gnu dot org>
- Date: Mon, 21 Nov 2011 18:04:14 +0100 (CET)
- Subject: Re: [libitm, build] Support sun symbol versioning
- References: <yddzkfpk1so.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <4ECA82F4.9090304@redhat.com>
Hi,
On Mon, 21 Nov 2011, Richard Henderson wrote:
> On 11/21/2011 06:06 AM, Rainer Orth wrote:
> > * libitm.so wasn't versioned even with gld, since libitm_la_LDFLAGS
> > wasn't passed when linking it.
>
> foo_LDFLAGS is supposed to be one of those auto variables that gets used
> when linking foo.
Only if you don't override foo_LINK at the same time, which ...
> I know that the library was successfully versioned when I put all that
> stuff in on the branch...
... seems to be done after your tests to "Force link with C, not C++."
;-)
Ciao,
Michael.