GNU bug report logs -
#18099
AIX TLS symbols do not make it into dynamic libraries
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hello,
we encountered some problems when building an OpenMP application/library package
because of a missing symbol on AIX 6.1 TL8 running on an IBM Power6 system.
We traced the problem down to an omission in libtool: since the matching string
for AIX
symcode='[[BCDT]]'
does not include global TLS symbols (letter L of AIX nm) we faced a problem with
a symbol compiled into an object and visible in the static version of the
library being invisible in the shared library object.
In short: could someone add L to above symcode assignment (line 3748 in
build-aux/ltmain.in)?
Also when reading the AIX nm manual page[1] I see that letter A for global
absolute symbols is equally unrecognized. So it might make sense to add that as
well but have no test case for that.
Regards, Thomas
[1] Can be searched on the Internat as AIX "Commands Reference, Volume 4: n
through r", I found it at
<http://www-01.ibm.com/support/knowledgecenter/api/content/ssw_aix_71/com.ibm.aix.cmds4/aixcmds4_pdf.pdf>
page 216
--
Thomas Jahns
DKRZ GmbH, Department: Application software
Deutsches Klimarechenzentrum
Bundesstraße 45a
D-20146 Hamburg
Phone: +49-40-460094-151
Fax: +49-40-460094-270
Email: Thomas Jahns <jahns <at> dkrz.de>
[smime.p7s (application/pkcs7-signature, attachment)]
This bug report was last modified 10 years and 331 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.