[MacPorts] #49161: valgrind: failed check for a supported compiler on 10.7
#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: Keywords: | Port: raimue ---------------------+---------------------- Configuration for valgrind fails on 10.7 (Xcode 4.6.3, Build version 4H1503, Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)): {{{ :info:configure checking dependency style of /usr/bin/clang... gcc3 :info:configure checking for diff -u... yes :info:configure checking for a supported version of gcc... no (4.2) :info:configure configure: error: please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0 }}} -- Ticket URL: <https://trac.macports.org/ticket/49161> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | -----------------------+---------------------- Changes (by mf2k@…): * port: raimue => valgrind -- Ticket URL: <https://trac.macports.org/ticket/49161#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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 macosx12345@…): Possible duplicate of #32994. -- Ticket URL: <https://trac.macports.org/ticket/49161#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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 mojca@…): It might be related. But the weird fact is that I had valgrind installed already and it failed during an upgrade. The other ticket is 4 years old. (PS: If you want me to test the patch and provide feedback, I might only be able to do that in a very near future, I will upgrade to 10.11 very soon.) -- Ticket URL: <https://trac.macports.org/ticket/49161#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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@…): Probably, gcc was already just a wrapper for llvm-gcc on OS X 10.7 Lion. A possible simple solution could be to just add the right `compiler.blacklist` statements. If someone comes up with a patch, I am happy to apply it. Otherwise, I consider OS X 10.7 Lion unsupported. I won't investigate myself to fix this. -- Ticket URL: <https://trac.macports.org/ticket/49161#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
#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 mojca@…): I'm willing to look into this (in the very near future, before I upgrade), but I need some guidelines as I have no clue what `valgrind` is trying to do in the first place and what compiler it requires. Here's what my system says: {{{ 5658) (LLVM build 2336.11.00) }}} but if it is trying to call `gcc` as such, it's probably not using the right compiler anyway. Do you have any idea which compiler is expected/required? -- Ticket URL: <https://trac.macports.org/ticket/49161#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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 mojca@…): So maybe we should just remove the check then? -- Ticket URL: <https://trac.macports.org/ticket/49161#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#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 robertmhaas@…): I am also experiencing this problem, on MacOS X 10.8.5. I removed the configure check with "vim" to make it install. -- Ticket URL: <https://trac.macports.org/ticket/49161#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | -----------------------+---------------------- Changes (by mojca@…): * cc: cal@… (added) Comment: This problem reminds me on #47035. (I'm not saying that the patch would be similar in any way, but the symptoms seem similar, with a different approach of upstream developers.) -- Ticket URL: <https://trac.macports.org/ticket/49161#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts