Changes between Initial Version and Version 1 of Ticket #53525
- Timestamp:
- Feb 9, 2017, 11:25:15 PM (8 years ago)
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. 1 valgrind fails to build already at configure time if clang from xcode 425 is used, complaining about too old compiler: 2 {{{ 3 checking for a supported version of gcc... no (applellvm-4.2) 4 configure: error: please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0 5 }}} 2 6 3 A naive addition to the Portfile that blacklisted /usr/bin/clang++ and llvm-gcc-4.2made the build succeed:7 A naive addition to the Portfile that blacklisted /usr/bin/clang++ (and llvm-gcc-4.2 just in case) made the build succeed: 4 8 {{{ 5 9 PortGroup compiler_blacklist_versions 1.0 6 10 compiler.blacklist *gcc* {clang < 500} 7 11 }}} 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). 12 but 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 14 It 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 16 I can do more tests if needed.