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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72955 in the body.
You can then email your comments to 72955 AT debbugs.gnu.org in the normal way.

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#72955; Package libtool. (Mon, 02 Sep 2024 09:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Mon, 02 Sep 2024 09:44:01 GMT) Full text and rfc822 format available.

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

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 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)]

Reply sent to Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>:
You have taken responsibility. (Mon, 02 Sep 2024 14:04:02 GMT) Full text and rfc822 format available.

Notification sent to Bruno Haible <bruno <at> clisp.org>:
bug acknowledged by developer. (Mon, 02 Sep 2024 14:04:02 GMT) Full text and rfc822 format available.

Message #10 received at 72955-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Oct 2024 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 257 days ago.

Previous Next


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