[MacPorts] #62005: gcc10 compiler not working

MacPorts noreply at macports.org
Thu Jan 7 14:51:34 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 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

-- 
Ticket URL: <https://trac.macports.org/ticket/62005#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list