GNU bug report logs - #72955
doc: Improve documentation of -export-symbols

Previous Next

Package: libtool;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Mon, 2 Sep 2024 09:44:01 UTC

Severity: minor

Done: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bruno Haible <bruno <at> clisp.org>
To: 72955 <at> debbugs.gnu.org
Subject: bug#72955: doc: Improve documentation of -export-symbols
Date: Mon, 02 Sep 2024 11:42:17 +0200
[Message part 1 (text/plain, inline)]
Hi,

In GNU libffcall, I make use of libtool's '-export-symbols-regex' option.
Since the doc says "This option has no effect on some platforms." I wanted
to know more, in order to judge whether it's worth doing additional measures
for library namespacing.

Here's what I found:
  * It has no effect on static libraries.
  * It has the desired effect on shared libraries on
      - most ELF systems (Linux, FreeBSD, NetBSD, OpenBSD, Solaris 10 and 11,
        Android),
      - macOS,
      - Cygwin,
      - native Windows (mingw, MSVC).
  * It has no effect on AIX and Haiku.

Find attached a doc patch.

Bruno

[0001-Document-situations-where-export-symbols-does-not-wo.patch (text/x-patch, attachment)]

This bug report was last modified 258 days ago.

Previous Next


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