[MacPorts] #62005: gcc10 compiler not working
MacPorts
noreply at macports.org
Thu Jan 7 16:44:42 UTC 2021
#62005: gcc10 compiler not working
------------------------+--------------------
Reporter: smeingast | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: gcc10 |
------------------------+--------------------
Comment (by smeingast):
Replying to [comment:1 michaellass]:
> You likely have the XCode SDK installed in version 11.1 and the gcc10
port has been built with the 11.0 SDK. Then gcc expects the headers at the
wrong location. See https://trac.macports.org/ticket/61899#comment:4
>
> Try compiling with the following flag:
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
>
> If that works, a proper fix for now is to recompile gcc10 yourself: port
upgrade -s -n --force gcc10
Yes! Thats works, many thanks! And it seems you guys already have this on
your radar at a more global scale. 😊 Thanks for the quick help!
--
Ticket URL: <https://trac.macports.org/ticket/62005#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list