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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#72955: closed (doc: Improve documentation of -export-symbols)
Date: Mon, 02 Sep 2024 14:04:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 2 Sep 2024 17:01:27 +0300
with message-id <d87d7f19-a204-425b-b224-b046c64ef4f8 <at> gmail.com>
and subject line Re: bug#72955: doc: Improve documentation of -export-symbols
has caused the debbugs.gnu.org bug report #72955,
regarding doc: Improve documentation of -export-symbols
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
72955: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72955
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Bruno Haible <bruno <at> clisp.org>
To: bug-libtool <at> gnu.org
Subject: doc: Improve documentation of -export-symbols
Date: Mon, 02 Sep 2024 11:42:17 +0200
[Message part 3 (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)]
[Message part 5 (message/rfc822, inline)]
From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 72955-done <at> debbugs.gnu.org
Cc: Bruno Haible <bruno <at> clisp.org>
Subject: Re: bug#72955: doc: Improve documentation of -export-symbols
Date: Mon, 2 Sep 2024 17:01:27 +0300
[Message part 6 (text/plain, inline)]
Hi Bruno,

Thank you for your research and updates to the documentation. Your patch
has been applied:

https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=ff39c3238c026b45ad027ccbf513fc44a5c5c0bd

-- 
Ileana Dumitrescu

GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354

[OpenPGP_0x6570EA01146F7354.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, 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.