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
Votes: 2
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Operating System:  Mac OS
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 22 Oct 2024 05:27:01 PM UTC, comment #2: 

Thank you again for your patch. This has been merged into master.

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

Ileana Dumitrescu <ildumi>
Group administrator
Thu 03 Oct 2024 05:37:52 PM UTC, comment #1: 

Thank you for the patch, and sorry for the wait. It has been applied to the development branch for testing:

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

Ileana Dumitrescu <ildumi>
Group administrator
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 ildumi (Posted a comment)
  • -email is unavailable- added by egallager (Voted in favor of this item)
  • -email is unavailable- added by jmroot (Submitted the item)
  •  

    There are 2 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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-10-22 ildumi StatusIn Progress Done
        Open/ClosedOpen Closed
    2024-10-03 ildumi StatusNone In Progress
    2024-09-26 egallager Carbon-Copy- Added egallager
    2023-09-28 jmroot Attached File- Added single_module.diff, #55175

    Back to the top

    Powered by Savane 3.14-9aa3.
    Corresponding source code