Opened 7 hours ago

Last modified 2 hours ago

#70866 new defect

gcc14 doesn’t build for x86_64 on macOS 15 (Xcode 16): “Undefined symbols for architecture x86_64” while linking libgcc_s.1.dylib — at Initial Version

Reported by: markmentovai (Mark Mentovai) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: sonoma sequoia x86_64 Cc:
Port: gcc14

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.

Change History (0)

Note: See TracTickets for help on using tickets.