Changes between Version 1 and Version 2 of Ticket #6902


Ignore:
Timestamp:
Feb 19, 2024, 7:46:38 PM (3 months ago)
Author:
Thomas Nyman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6902 – Description

    v1 v2  
    2121This is caused by the `-force_cpusubtype_ALL` flag being passed by the libvorbis `configure` script unconditionally for macOS builds (https://gitlab.xiph.org/xiph/vorbis/-/blob/master/configure.ac#L205) even though the flag is only valid for PowerPC. Prior to Xcode 15 the `ld64` linker silently ignored the flag for x86_64 and arm64 builds, but since Xcode 15 the linker now issues the above error.
    2222
    23 There is an upstream bug report files with no resolution (https://gitlab.xiph.org/xiph/vorbis/-/issues/2348) but since PowerPC doesn't appear to be a relevant target a possible resolution is to simply patch away the offending flag from the libvorbis `configure` script (see attached `patch-vorbis-flags.diff`.
     23There is an upstream bug report files with no resolution (https://gitlab.xiph.org/xiph/vorbis/-/issues/2348) but since PowerPC doesn't appear to be a relevant target a possible resolution is to simply patch away the offending flag from the libvorbis `configure` script (see attached `patch-vorbis-flags.diff`).
    2424
    2525The same approach is taken by macports when building the libvorbis port on affected architectures: https://github.com/macports/macports-ports/commit/e63376b0845acdc06efbfb5fbbb8bdd6359e75b4