[MacPorts] #60165: meson @0.53.2 produces on PPC Mac OS X 10.4.11, Tiger, faulty files with illegal loader switch '-Wl, -rpath, @loader_path/'

MacPorts noreply at macports.org
Tue Oct 20 09:09:07 UTC 2020


#60165: meson @0.53.2 produces on PPC Mac OS X 10.4.11, Tiger, faulty files with
illegal loader switch '-Wl,-rpath, at loader_path/'
------------------------+-------------------------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:             |   Keywords:  tiger powerpc legacy-os
      Port:  meson      |
------------------------+-------------------------------------

Comment (by ballapete):

 Replying to [comment:20 kencu]:
 > I do see that "nm" warning too -- I didn't dig into it yet. I don't
 think that's a ninja issue. Will have to see.
 >
 They seem to come out of `mesonbuild/scripts/symbolextractor.py`. Could be
 these are the relevant lines:

 {{{
 111:    output = call_tool('nm', ['--dynamic', '--extern-only',
 '--defined-only',
 112:                              '--format=posix', libfilename])
 149:    output = call_tool('nm', ['--extern-only', '--defined-only',
 229:    # Next, try llvm-nm.exe provided by LLVM, then nm.exe provided by
 MinGW
 230:    for nm in ('llvm-nm', 'nm'):
 231:        output, e = call_tool_nowarn(get_tool(nm) + ['--extern-only',
 '--defined-only',
 232:                                                     '--format=posix',
 impfilename])
 }}}

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


More information about the macports-tickets mailing list