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
Sun Sep 22 16:39:19 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 |
---------------------------+-----------------------------------
Changes (by ryandesign):
* keywords: => sonoma sequoia x86_64
* port: => gcc14
Old description:
> Forked from https://trac.macports.org/ticket/70641.
>
> {{{
> :info:build Undefined symbols for architecture x86_64:
> :info:build "___deregister_frame_info", referenced from:
> :info:build -reexported_symbols_list command line option
> :info:build "___deregister_frame_info_bases", referenced from:
> :info:build -reexported_symbols_list command line option
> :info:build "___register_frame_info", referenced from:
> :info:build -reexported_symbols_list command line option
> :info:build "___register_frame_info_bases", referenced from:
> :info:build -reexported_symbols_list command line option
> :info:build "___register_frame_info_table", referenced from:
> :info:build -reexported_symbols_list command line option
> :info:build "___register_frame_info_table_bases", referenced from:
> :info:build -reexported_symbols_list command line option
> :info:build "___register_frame_table", referenced from:
> :info:build -reexported_symbols_list command line option
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build collect2: error: ld returned 1 exit status
> :info:build make[3]: *** [libgcc_s.1.dylib] Error 1
> }}}
>
> In particular, see https://trac.macports.org/ticket/70641#comment:39 and
> https://trac.macports.org/ticket/70641#comment:45 for an explanation of
> why this is happening in macOS 15, and why it’s x86_64-specific. This bug
> will also affect macOS 14 with Xcode 16, as that build configuration uses
> the macOS 15 SDK.
>
> This is on file upstream at
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809.
New description:
Forked from #70641.
{{{
:info:build Undefined symbols for architecture x86_64:
:info:build "___deregister_frame_info", referenced from:
:info:build -reexported_symbols_list command line option
:info:build "___deregister_frame_info_bases", referenced from:
:info:build -reexported_symbols_list command line option
:info:build "___register_frame_info", referenced from:
:info:build -reexported_symbols_list command line option
:info:build "___register_frame_info_bases", referenced from:
:info:build -reexported_symbols_list command line option
:info:build "___register_frame_info_table", referenced from:
:info:build -reexported_symbols_list command line option
:info:build "___register_frame_info_table_bases", referenced from:
:info:build -reexported_symbols_list command line option
:info:build "___register_frame_table", referenced from:
:info:build -reexported_symbols_list command line option
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: error: ld returned 1 exit status
:info:build make[3]: *** [libgcc_s.1.dylib] Error 1
}}}
In particular, see comment:ticket:70641:39 and comment:ticket:70641:45 for
an explanation of why this is happening in macOS 15, and why it’s
x86_64-specific. This bug will also affect macOS 14 with Xcode 16, as that
build configuration uses the macOS 15 SDK.
This is on file upstream at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809.
--
--
Ticket URL: <https://trac.macports.org/ticket/70866#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list