Changes between Initial Version and Version 1 of Ticket #62005, comment 1


Ignore:
Timestamp:
Jan 8, 2021, 5:09:00 AM (3 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62005, comment 1

    initial v1  
    1 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
     1You 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 comment:ticket:61899:4
    22
    33Try compiling with the following flag:
     4{{{
    45-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
     6}}}
    57
    6 If that works, a proper fix for now is to recompile gcc10 yourself: port upgrade -s -n --force gcc10
     8If that works, a proper fix for now is to recompile gcc10 yourself: `port upgrade -s -n --force gcc10`