[MacPorts] #63778: gcc10: Error: configuring for an unreleased macOS version x86_64-apple-darwin21
MacPorts
noreply at macports.org
Wed Dec 29 17:55:44 UTC 2021
#63778: gcc10: Error: configuring for an unreleased macOS version x86_64-apple-
darwin21
--------------------------+----------------------
Reporter: astroboylrx | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: monterey
Port: gcc10 |
--------------------------+----------------------
Comment (by davidvogan):
This first error "Error: configuring for an unreleased macOS version
x86_64-apple-darwin21" traces to the file
gcc-10.3.0/gcc/config.gcc
Lines 677-719 run through various possibilities for the Mac OS; but they
stop at Darwin 20. After line 690, there should be an additional case like
*-*-darwin21*)
# Darwin 21 corresponds to macOS 12.
macos_maj=12
;;
When I made this change (probably clumsily or incorrectly), compilation
proceeded past this first error, but failed on the second:
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make[3]: *** [build/gencondmd] Error 1
which referred to a long list of undefined symbols
:info:build Undefined symbols for architecture x86_64:
:info:build "_cfun", referenced from:...
No idea how to address that.
--
Ticket URL: <https://trac.macports.org/ticket/63778#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list