GNU bug report logs - #73493
[PATCH] Fix -single_module issues on recent macOS

Previous Next

Package: libtool;

Reported by: Joshua Root <jmr <at> macports.org>

Date: Thu, 26 Sep 2024 06:33:02 UTC

Severity: normal

Tags: patch

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 73493 in the body.
You can then email your comments to 73493 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#73493; Package libtool. (Thu, 26 Sep 2024 06:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joshua Root <jmr <at> macports.org>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Thu, 26 Sep 2024 06:33:02 GMT) Full text and rfc822 format available.

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

From: Joshua Root <jmr <at> macports.org>
To: libtool-patches <at> gnu.org
Cc: bug-libtool <at> gnu.org
Subject: [PATCH] Fix -single_module issues on recent macOS
Date: Thu, 26 Sep 2024 15:53:59 +1000
[Message part 1 (text/plain, inline)]
Originally submitted at <https://savannah.gnu.org/support/?110937>.

The check for whether the linker supports the -single_module flag 
assumes that anything printed to stderr containing the string 
"single_module" means it is unsupported. Xcode 15 does print such a 
message, though it only indicates that the flag is deprecated. Lack of 
single module support triggers some workarounds that aren't needed and 
don't work very well on modern systems.

This flag has been unnecessary for many macOS versions, so teaching 
libtool that it is not needed in this case is probably preferable to 
just fixing the check.

- Josh
[single_module.diff (text/plain, attachment)]

Reply sent to Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>:
You have taken responsibility. (Tue, 22 Oct 2024 17:32:02 GMT) Full text and rfc822 format available.

Notification sent to Joshua Root <jmr <at> macports.org>:
bug acknowledged by developer. (Tue, 22 Oct 2024 17:32:02 GMT) Full text and rfc822 format available.

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

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 73493-done <at> debbugs.gnu.org
Cc: Joshua Root <jmr <at> macports.org>
Subject: Re: bug#73493: [PATCH] Fix -single_module issues on recent macOS
Date: Tue, 22 Oct 2024 20:29:26 +0300
[Message part 1 (text/plain, inline)]
On 26/09/2024 08:53, Joshua Root wrote:
> Originally submitted at <https://savannah.gnu.org/support/?110937>.
> 
> The check for whether the linker supports the -single_module flag 
> assumes that anything printed to stderr containing the string 
> "single_module" means it is unsupported. Xcode 15 does print such a 
> message, though it only indicates that the flag is deprecated. Lack of 
> single module support triggers some workarounds that aren't needed and 
> don't work very well on modern systems.
> 
> This flag has been unnecessary for many macOS versions, so teaching 
> libtool that it is not needed in this case is probably preferable to 
> just fixing the check.
> 

Closing, patch has been merged into master.

https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=82f7f52123e4e7e50721049f7fa6f9b870e09c9d

-- 
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, 20 Nov 2024 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 208 days ago.

Previous Next


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