Changes between Initial Version and Version 1 of Ticket #53525


Ignore:
Timestamp:
Feb 9, 2017, 11:25:15 PM (7 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53525 – Description

    initial v1  
    1 valgrind fails to build already at configure time if clang from xcode 425 is used, complaining about too old compiler.
     1valgrind fails to build already at configure time if clang from xcode 425 is used, complaining about too old compiler:
     2{{{
     3checking for a supported version of gcc... no (applellvm-4.2)
     4configure: error: please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0
     5}}}
    26
    3 A naive addition to the Portfile that blacklisted /usr/bin/clang++ and llvm-gcc-4.2 made the build succeed:
     7A naive addition to the Portfile that blacklisted /usr/bin/clang++ (and llvm-gcc-4.2 just in case) made the build succeed:
    48{{{
    59PortGroup           compiler_blacklist_versions 1.0
    610compiler.blacklist  *gcc* {clang < 500}
    711}}}
    8 but I didn't test macports-clang-3.3 or xcode 5. I'm also not sure whether the port needs some special handling about gcc (I don't understand what the rest of the portfile does).
     12but I didn't test macports-clang-3.3, llvm-gcc-4.2 or xcode 5. I'm also not sure whether the port needs some special handling about gcc (I don't understand what the rest of the portfile does).
     13
     14It is also possible that the configure script simply fails to realize that clang++ is in fact some flavour of clang 3.2 (based on LLVM 3.2svn) that might work if the configure check was fixed.
     15
     16I can do more tests if needed.