[MacPorts] #49161: valgrind: failed check for a supported compiler on 10.7

MacPorts noreply at macports.org
Thu Oct 8 09:59:58 PDT 2015


#49161: valgrind: failed check for a supported compiler on 10.7
-----------------------+----------------------
  Reporter:  mojca@…   |      Owner:  raimue@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  valgrind  |
-----------------------+----------------------

Comment (by raimue@…):

 I should have read the `main.log` more thoroughly, it is already using
 `/usr/bin/clang` and `/usr/bin/clang++`.

 Looking at [wiki:XcodeVersionInfo#OSX10.7] and the configure script, it
 seems to be checking `--version` for `clang version X.Y`, but that string
 no longer exists. So apparently, newer clang even on current systems only
 passes that check because `-dumpversion` always returns `4.2.1`.

 While this works at the moment, it is inaccurate. Although the whole check
 only wants to exclude gcc <= 3.x anyway.

-- 
Ticket URL: <https://trac.macports.org/ticket/49161#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list