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.

Full log


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

This bug report was last modified 209 days ago.

Previous Next


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