Re: Export AIX TLS symbols

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 11/24/2015 09:22 AM, Eric Blake wrote:
> On 11/05/2015 10:43 AM, David Edelsohn wrote:
>> TLS symbols in AIX display a new, different symbol type in nm output.
>> Libtool explicitly creates a list of exported symbols for AIX shared
>> libraries using nm and does not recognize the new TLS symbols, so
>> those symbols are not exported in AIX shared libraries.
>>
>> This is a regression for TLS support on AIX where TLS symbols or GCC
>> "emultls" symbols were listed as global data and exported.
>>
>> This patch updates libtool.m4 export_symbols_cmds for AIX in two
>> locations so that global symbols labeled with "L" for TLS are included
>> in the export list.
>>
>> * m4/libtool.m4 (export_symbols_cmds) [AIX]: Add global TLS "L" symbols.
>>

> I'm not an AIX expert, and have no way to test it, but the explanation
> is reasonable and I don't see how it can hurt (particularly since the
> two changes are under "aix[[4-9]]*)" case blocks).
> 
> I'll go ahead and push this patch (assuming my commit rights are still
> active) in 24 hours if no one speaks up to the contrary.

Pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc (application/pgp-signature, 604 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJWVegvAAoJEKeha0olJ0NqKKAH/ivDzJSYoUkfA6/xHUSF5JIG
p8MHrZcFCLtahGvLKhfzyrJ9HkyYpzP3BuFUIX72zCGnvFIquM/R0p7Tb3B19Wde
LpyncnHKy5rOdl9Bv3LnrFhNg+I2b8svH3oxICBRoYQ5v/7ETr1hML3jXOBqICYW
0aJP+5A1PfG9phT4VlzmvzHAb9xt5hAiJ9qZeNLhFfoblo/hanUrjM5hauIapmK1
HyEhu0EZ2cxEf9zIXKvPju2LCtB9ic38qmIMtaOxWHP2+rAALdptr0IEjoKeV7/V
B8AYlfdPSC/IarVDHjCOV59otMfjpd03UgqAhHIwfV8ywBKoYcApbR3cDczOaa8=
=1s9V
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.