[MacPorts] #58895: gcc9: search path for standard libraries is incomplete/incorrect

MacPorts noreply at macports.org
Fri Apr 22 17:02:32 UTC 2022


#58895: gcc9: search path for standard libraries is incomplete/incorrect
---------------------+--------------------
  Reporter:  prbuen  |      Owner:  (none)
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:
      Port:  gcc9    |
---------------------+--------------------

Comment (by Serge3leo):

 When installing gcc9 from precompiled package
 "gcc9-9.4.0_1.darwin_19.x86_64.bz2 from https://packages.macports.org/gcc9
 "the error "ld: library not found for -lSystem" persists on some systems.

 Installing gcc9 with the build "sudo port -vs install gcc9" is not
 affected by this error, but is not used by default.

 Xcode Version 12.4 (12D4e) (macOS Catalina 10.15.7) don't have
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk

 Command Line Tools for Xcode 12.4 have
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk

 Since, according to the documentation, MacPorts depends on "Xcode Command
 Line Tools", it is probably better that the precompiled package
 "gcc9-*.bz2" would refer to
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk

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


More information about the macports-tickets mailing list