Re: [MacPorts] #70866: gcc14 doesn’t build for x86_64 on macOS 15 (Xcode 16): “Undefined symbols for architecture x86_64” while linking libgcc_s.1.dylib
MacPorts
noreply at macports.org
Wed Sep 25 16:49:07 UTC 2024
#70866: gcc14 doesn’t build for x86_64 on macOS 15 (Xcode 16): “Undefined symbols
for architecture x86_64” while linking libgcc_s.1.dylib
---------------------------+-----------------------------------
Reporter: markmentovai | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: sonoma sequoia x86_64
Port: gcc14 |
---------------------------+-----------------------------------
Comment (by markmentovai):
Replying to [comment:20 dbl001]:
I don’t know where you’re patching, or if the patch is mangled, but what
you’re doing seems to be conflating the outer patch file with some of the
patches carried within. The patch is intended to be applied in the ports
directory. It will create further patches within lang/gcc14/files.
{{{
% cd
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
% curl --silent https://github.com/markmentovai/macports-
ports/commit/727cc2bddbd39fbad964d0f2e6eaf3be164e23e7.patch | sudo patch
-p1
patching file 'lang/gcc14/Portfile'
patching file 'lang/gcc14/files/0001-Darwin-Allow-for-as-versions-that-
need-for-std-in.patch'
patching file 'lang/gcc14/files/0002-libgcc-Darwin-Drop-the-legacy-
library-build-for-macO.patch'
patching file 'lang/gcc14/files/0003-libgcc-Darwin-Don-t-build-legacy-
libgcc_s.1-on-macOS.patch'
patching file 'lang/gcc14/files/patch-as_needs_dash_for_piped_input.diff'
% sudo portindex
% sudo port install gcc14
}}}
The .patch has this hash:
{{{
% curl --silent https://github.com/markmentovai/macports-
ports/commit/727cc2bddbd39fbad964d0f2e6eaf3be164e23e7.patch | shasum -a
256
befd12c8119ee2b76dfc5adb7e89a64b77d7ec67d3daaccbe8b5d9fd3bd944c3 -
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70866#comment:21>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list