Opened 7 months ago

Last modified 3 months ago

#63697 new defect

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 7 months ago.
log file
libgcc9-9.4.0_0.darwin_21.x86_64.build_log.zip (2.2 MB) - added by jwoehr (Jack J. Woehr) 5 months ago.
Build now fails in link step

Change History (13)

Changed 7 months ago by camillegallet

Attachment: main.log added

log file

comment:1 Changed 7 months ago by i0ntempest

Cc: i0ntempest added

comment:2 Changed 6 months ago by mkjasinski

the same problem, up :)

Last edited 6 months ago by mkjasinski (previous) (diff)

comment:3 Changed 6 months ago by BenSjoberg (Ben Sjoberg)

Cc: BenSjoberg added

comment:4 Changed 6 months ago by BenSjoberg (Ben Sjoberg)

Cc: BenSjoberg removed

comment:5 Changed 6 months ago by BenSjoberg (Ben Sjoberg)

Cc: BenSjoberg added

comment:6 Changed 6 months ago by ryandesign (Ryan 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 6 months ago by ryandesign (Ryan 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 5 months 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 5 months ago by jwoehr (Jack J. Woehr)

Build now fails in link step

comment:9 Changed 5 months ago by kencu (Ken)

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

comment:10 Changed 3 months 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 3 months ago by hemmlj

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

Note: See TracTickets for help on using tickets.