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

MacPorts noreply at macports.org
Sat Aug 31 14:51:21 UTC 2019


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

Comment (by prbuen):

 Interestingly, if I split the compilation and the linking, i.e.
 {{{
 /opt/local/bin/gcc-mp-9 -v -c -I/usr/include hello.c
 }}}
 then
 {{{
 /opt/local/bin/ld -v test.o -lSystem
 }}}
 then my library search paths are ok:
 {{{
 @(#)PROGRAM:ld  PROJECT:ld64-450.3
 BUILD 18:16:53 Apr  5 2019
 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386
 x86_64 x86_64h armv6m armv7k armv7m armv7em
 Library search paths:
         /usr/lib
         /usr/local/lib
 Framework search paths:
         /Library/Frameworks/
         /System/Library/Frameworks/
 ld: warning: No version-min specified on command line
 }}}

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


More information about the macports-tickets mailing list