[MacPorts] #21525: valgrind does not install on Snow Leopard
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ The package needs to be updated a little for kernel 10.0.0 -- Ticket URL: <http://trac.macports.org/ticket/21525> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => raimue@… -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Changes (by raimue@…): * status: new => assigned Comment: Will have to wait for valgrind 3.5.1, see https://bugs.kde.org/show_bug.cgi?id=205241 -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Comment(by posco2k5@…): I have been able to successfully apply and build valgrind using snowleopard.patch from https://bugs.kde.org/show_bug.cgi?id=205241 From what I can tell, valgrind builds as 32-bit and can only be used on 32-bit binaries. This might be related to 'uname -m' returning 'i386' on Snow Leopard? I know that has caused some issues with configure scripts on other ports. Looks like progress is moving forward on valgrind's end though. -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Comment(by raimue@…): I already tried the patch when I first linked to the upstream bug report, but it still failed with `#error unknown darwin version` in coregrind. Probably only the memcheck tool has been patched? -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Comment(by posco2k5@…): I've only tested the memcheck tool and that does work, so you are probably right. -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Comment(by snc@…): Any updates on this? -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Comment(by guillaume-jean@…): Replying to [comment:7 raimue@…]:
I already tried the patch when I first linked to the upstream bug report, but it still failed with `#error unknown darwin version` in coregrind. Probably only the memcheck tool has been patched?
Hi all, I had similar issues while compiling valgrind. Therefore, I updated the patch file from [https://bugs.kde.org/show_bug.cgi?id=205241] and created a corresponding Portfile patch to integrate this patch during the installation process. With this I successfully compiled valgrind and compiled it for both x86 and amd64 archs. I haven't extensively tested the build, so some feedback from that might be appreciated. I'll attach both patch files. -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:25> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Comment(by raimue@…): This still does not build for me: {{{ /usr/bin/gcc-4.2 -Wno-long-long -Wno-pointer-sign -Wdeclaration-after- statement -fno-stack-protector -L/opt/local/lib -arch x86_64 -o vgpreload_memcheck-x86-darwin.so -dynamic -dynamiclib -all_load -arch i386 ../coregrind/libreplacemalloc_toolpreload-x86-darwin.a vgpreload_memcheck_x86_darwin_so-mc_replace_strmem.o ld: warning: in ../coregrind/libreplacemalloc_toolpreload-x86-darwin.a, file is not of required architecture }}} -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:26> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Comment(by mak.972@…): Cc Me! -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:27> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ---------------------------------------+------------------------------------ Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: SnowLeopard | Port: valgrind ---------------------------------------+------------------------------------ Comment(by wiking@…): I haven't got time to check the patches by guillaume-jean, but there's a very short tutorial how to build your valgrind on 10.6 http://code.google.com/p/data-race-test/wiki/ValgrindOnSnowLeopard it works for me! now only a Portfile is missing..... -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:28> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21525: valgrind does not install on Snow Leopard ----------------------------------------+----------------------------------- Reporter: godisgovernment@… | Owner: raimue@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: SnowLeopard Port: valgrind | ----------------------------------------+----------------------------------- Changes (by raimue@…): * status: assigned => closed * resolution: => fixed Comment: There is now a valgrind-devel port as of r66719 which installs a snapshot from Subversion with additional patches. It works for me on Snow Leopard, but please report any functional problems directly to upstream. -- Ticket URL: <http://trac.macports.org/ticket/21525#comment:29> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts