This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: symbol has no version assigned
- From: Ian Lance Taylor <iant at google dot com>
- To: Stanley Laufer <slaufer at slis dot sjsu dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 22 Sep 2009 17:49:35 -0700
- Subject: Re: symbol has no version assigned
- References: <alpine.GSO.2.00.0909221738490.28468@slis.sjsu.edu>
Stanley Laufer <slaufer@slis.sjsu.edu> writes:
> I've been trying to compile Libxml2 2.7.4 under Solaris 10.
>
> I've tried both gcc 3.4.6 and gcc 4.3.4. Both are using Solaris ld
> (/usr/ccs/bin/ld). 3.4.6 is using Sun as (/usr/ccs/bin/as). 4.3.4 is
> using GNU as from binutils 2.19.
>
> The Libxml2 developers added "symbol versioning" in 2.7.4, and I suspect
> that is somehow related to the issues I've been seeing (since 2.7.3
> compiles just fine in the same environment).
I would guess that libxml2 is using GNU style symbol versioning which is
an extension of Solaris symbol versioning. If there is no way to
disable symbol versioning for libxml2, then you probably need to use the
GNU linker here.
Ian