Opened 3 years ago

Closed 22 months ago

#63697 closed defect (fixed)

libgcc9 @9.4.0: Undefined symbols for architecture x86_64

Reported by: camillegallet Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: monterey Cc: i0ntempest, BenSjoberg (Ben Sjoberg), 40015116, mkjasinski
Port: libgcc9

Description

libgcc9 9.4.0 fails to build under Monterey, the log is attached

Attachments (2)

main.log (48.3 KB) - added by camillegallet 3 years ago.
log file
libgcc9-9.4.0_0.darwin_21.x86_64.build_log.zip (2.2 MB) - added by jwoehr (Jack J. Woehr) 2 years ago.
Build now fails in link step

Change History (14)

Changed 3 years ago by camillegallet

Attachment: main.log added

log file

comment:1 Changed 3 years ago by i0ntempest

Cc: i0ntempest added

comment:2 Changed 3 years ago by mkjasinski

the same problem, up :)

Last edited 3 years ago by mkjasinski (previous) (diff)

comment:3 Changed 2 years ago by BenSjoberg (Ben Sjoberg)

Cc: BenSjoberg added

comment:4 Changed 2 years ago by BenSjoberg (Ben Sjoberg)

Cc: BenSjoberg removed

comment:5 Changed 2 years ago by BenSjoberg (Ben Sjoberg)

Cc: BenSjoberg added

comment:6 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: 40015116 added
Keywords: monterey added
Summary: libgcc9 9.4.0 fails to build under Monterey (Undefined symbols for architecture x86_64:)libgcc9 @9.4.0: Undefined symbols for architecture x86_64

Has duplicate #63971.

comment:7 in reply to:  2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mkjasinski added

Replying to mkjasinski:

the same problem, up :)

There is no "up". Nobody maintains this port right now, so you or somebody will have to volunteer to figure out what the problem is and how to fix it and contribute that fix to MacPorts.

comment:8 Changed 2 years ago by jwoehr (Jack J. Woehr)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92061#c5

Edited as the patch shows and libgcc9 gets farther in the build Monterey 12.1 than in MacPorts #63697.

Failed link step show in attached log libgcc9-9.4.0_0.darwin_21.x86_64.build_20211214_log.txt

Changed 2 years ago by jwoehr (Jack J. Woehr)

Build now fails in link step

comment:9 Changed 2 years ago by kencu (Ken)

:info:build ld: library not found for -lgcc_s.10.4

comment:10 Changed 2 years ago by hemmlj

MacPorts upgrade on MacOs 12 Monterey: See Ticket https://trac.macports.org/ticket/64372 for help on this issue: Tipp there is "install gcc11 or gcc-devel". You will have to force deactivate and clean some dependent libraries when cleaning your system from libgcc and libgcc10. I selected to install gcc-devel. Hope that helps!

comment:11 Changed 2 years ago by hemmlj

Please add keyword "12.0" to have this ticket reported in the ticket report for MacOs 12 Montery. Thanks!

comment:12 Changed 22 months ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: newclosed

Closing, as issue is gone in latest versions, and anyway gcc9 is no longer supported on 10.11 and newer.

Note: See TracTickets for help on using tickets.