URL:
  <https://savannah.gnu.org/support/?110937>

                 Summary: -single_module detection broken with Xcode 15
                   Group: GNU Libtool
               Submitter: 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
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Mac OS


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 28 Sep 2023 06:02:11 AM UTC By: Joshua Root <jmroot>
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.






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Thu 28 Sep 2023 06:02:11 AM UTC  Name: single_module.diff  Size: 3KiB  
By: jmroot

<http://savannah.gnu.org/support/download.php?file_id=55175>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110937>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to