[MacPorts] #68147: meson uses wrong arguments with nm

MacPorts noreply at macports.org
Sun Sep 10 23:49:44 UTC 2023


#68147: meson uses wrong arguments with nm
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  meson         |
---------------------------+--------------------

Comment (by kencu):

 The ancient /usr/bin/nm on 10.6 won't accept any of those arguments, one
 dash or two. The default nm for cctools on 10.6 which is +llvm34 also
 accepts none of them. A newer nm from cctools that uses +llvm90 on 10.6
 will accept all of them.


 The message is irrelevant to macports builds as they don't use source
 changes anyway, and it's just noise. It would be simple enough to make a
 small hack meson to not show the error.

 If you want meson to really work as it should (ie you are using it on 10.6
 for actual development using meson and not relinking on source changes
 actually matters to you) you can install cctools +llvm90.

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


More information about the macports-tickets mailing list