Opened 20 months ago

Last modified 18 months ago

#67179 closed defect

libgcc11 does not build on Ventura 13.3 + Apple Silicon Macs — at Version 1

Reported by: moyang (Moyang Wang) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: ventura Cc:
Port: libgcc11

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--->  Attempting to fetch libgcc11-11.3.0_5+stdlib_flag.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/libgcc11
--->  Fetching distfiles for libgcc11
--->  Verifying checksums for libgcc11
--->  Extracting libgcc11
--->  Applying patches to libgcc11
--->  Configuring libgcc11
--->  Building libgcc11
Error: Failed to build libgcc11: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Logs are attached.

Change History (2)

Changed 20 months ago by moyang (Moyang Wang)

Attachment: main.log.zip added

comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: ventura added; Ventura arm64 m1 libgcc11 libgcc removed

The log says:

xgcc: warning: could not understand version '13.0'
checking for arm64-apple-darwin22-gcc... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/work/build/./gcc/ -B/opt/local/arm64-apple-darwin22/bin/ -B/opt/local/arm64-apple-darwin22/lib/ -isystem /opt/local/arm64-apple-darwin22/include -isystem /opt/local/arm64-apple-darwin22/sys-include   -fno-checking
checking whether the C compiler works... no

This version of gcc is too old to understand how to build for macOS 13. Please use a newer gcc port, such as gcc12 or gcc-devel.

Note: See TracTickets for help on using tickets.