GNU bug report logs - #9316
AIX and JNI: *.so versus *.a

Previous Next

Package: libtool;

Reported by: "Daniel Richard G." <skunk <at> iSKUNK.ORG>

Date: Wed, 17 Aug 2011 22:01:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: "Daniel Richard G." <skunk <at> iSKUNK.ORG>
To: "Peter O'Gorman" <peter <at> pogma.com>
Cc: 9316 <at> debbugs.gnu.org
Subject: bug#9316: AIX and JNI: *.so versus *.a
Date: Sat, 20 Aug 2011 00:23:17 -0400
On Fri, 2011 Aug 19 22:55-0500, Peter O'Gorman wrote:
>
> If you add -Wl,-brtl to LDFLAGS at configure time, libtool will build
> plain .so's

Interesting. This bit from doc/notes.txt in the Libtool source
distribution seems relevant:

   * On AIX there are two different styles of shared linking, one in
     which symbols are bound at link-time and one in which symbols are
     bound at runtime only, similar to ELF.  In case of doubt use
     `LDFLAGS=-Wl,-brtl' for the latter style.

Why isn't Libtool itself already adding this flag when -module is
specified?




This bug report was last modified 14 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.