mainGNU Libtool - Support: sr #110937, -single_module detection broken...

 
 

sr #110937: -single_module detection broken with Xcode 15

Submitter:  Joshua Root <jmroot>
Submitted:  Thu 28 Sep 2023 06:02:11 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  Mac OS
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 28 Sep 2023 06:02:11 AM UTC, original submission:  

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. See attached patch.

Joshua Root <jmroot>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55175:  single_module.diff added by jmroot (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmroot (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-09-28 jmroot Attached File- Added single_module.diff, #55175

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code