GNU bug report logs - #18099
AIX TLS symbols do not make it into dynamic libraries

Previous Next

Package: libtool;

Reported by: Thomas Jahns <jahns <at> dkrz.de>

Date: Thu, 24 Jul 2014 15:02:01 UTC

Severity: normal

To reply to this bug, email your comments to 18099 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#18099; Package libtool. (Thu, 24 Jul 2014 15:02:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Jahns <jahns <at> dkrz.de>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Thu, 24 Jul 2014 15:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thomas Jahns <jahns <at> dkrz.de>
To: bug-libtool <at> gnu.org
Subject: AIX TLS symbols do not make it into dynamic libraries
Date: Thu, 24 Jul 2014 16:40:50 +0200
[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.