Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS 10.14.6: install fails from brew #6

Closed
solzard opened this issue Apr 23, 2020 · 25 comments
Closed

macOS 10.14.6: install fails from brew #6

solzard opened this issue Apr 23, 2020 · 25 comments
Labels
bug Something isn't working
Projects

Comments

@solzard
Copy link

solzard commented Apr 23, 2020

On macOS Mojave 10.14.6, brew install --HEAD https://raw.githubusercontent.com/LouisBrunner/valgrind-macos/master/valgrind.rb fails.

❯ brew install --HEAD https://raw.githubusercontent.com/LouisBrunner/valgrind-macos/master/valgrind.rb
######################################################################## 100.0%
==> Cloning https://github.com/LouisBrunner/valgrind-macos.git
Updating /Users/solzard/Library/Caches/Homebrew/valgrind--git
fatal: unable to access 'https://github.com/LouisBrunner/valgrind-macos.git/': Couldn't connect to server
Error: An exception occurred within a child process:
  DownloadError: Failed to download resource "valgrind"
Failure while executing; `git fetch origin` exited with 128. Here's the output:
fatal: unable to access 'https://github.com/LouisBrunner/valgrind-macos.git/': Couldn't connect to server
macOS Mojave 10.14.6
Homebrew 2.2.13-130-gef471e9
@LouisBrunner
Copy link
Owner

Hi @solzard,
Unfortunately, the issue seems to be a problem with git or GitHub side (it can't even download the repo). Could it be a temporary networking issue? See Homebrew/brew#1414 or https://gitlab.com/gnachman/iterm2/issues/6590 (might need to disable git proxying?)

@solzard
Copy link
Author

solzard commented Apr 23, 2020

Hi @LouisBrunner,
Thank you for informing me of related issues.
It seems my new firewall settings silently rejected git-remote-http(s).
After fixing it, the terminal started installing; however, I got another error.

❯ brew install --HEAD https://raw.githubusercontent.com/LouisBrunner/valgrind-macos/master/valgrind.rb
######################################################################## 100.0%
==> Cloning https://github.com/LouisBrunner/valgrind-macos.git
Updating /Users/solzard/Library/Caches/Homebrew/valgrind--git
From https://github.com/LouisBrunner/valgrind-macos
   75878add5..733424492  master     -> origin/master
==> Checking out branch master
Already on 'master'
Your branch is behind 'origin/master' by 76 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at 733424492 macOS 10.15: fix suppression for bcmp usage in /usr/lib/dyld
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-7334244 --enable-only64bit --buil
==> make
Last 15 lines from /Users/solzard/Library/Logs/Homebrew/valgrind/03.make:
clang -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../include -I../VEX/pub -I../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1     -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -O2  -c -o memcheck_amd64_darwin-mc_machine.o `test -f 'mc_machine.c' || echo './'`mc_machine.c
clang -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../include -I../VEX/pub -I../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1     -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -O2  -c -o memcheck_amd64_darwin-mc_errors.o `test -f 'mc_errors.c' || echo './'`mc_errors.c
clang -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../include -I../VEX/pub -I../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1    -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing -fpic -fPIC -fno-builtin  -O2  -c -o vgpreload_memcheck_amd64_darwin_so-mc_replace_strmem.o `test -f 'mc_replace_strmem.c' || echo './'`mc_replace_strmem.c
clang  -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing -fpic -fPIC -fno-builtin  -O2  -dynamic -dynamiclib -all_load -arch x86_64 ../coregrind/libreplacemalloc_toolpreload-amd64-darwin.a  -o vgpreload_memcheck-amd64-darwin.so vgpreload_memcheck_amd64_darwin_so-mc_replace_strmem.o
../coregrind/link_tool_exe_darwin 0x158000000 clang     -o memcheck-amd64-darwin   -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -O2 -nodefaultlibs -nostartfiles -Wl,-u,__start -Wl,-e,__start -arch x86_64 memcheck_amd64_darwin-mc_leakcheck.o memcheck_amd64_darwin-mc_malloc_wrappers.o memcheck_amd64_darwin-mc_main.o memcheck_amd64_darwin-mc_main_asm.o memcheck_amd64_darwin-mc_translate.o memcheck_amd64_darwin-mc_machine.o memcheck_amd64_darwin-mc_errors.o ../coregrind/libcoregrind-amd64-darwin.a ../VEX/libvex-amd64-darwin.a -lgcc
link_tool_exe_darwin: /usr/bin/ld -static -new_linker -arch x86_64 -macosx_version_min 10.6 -o memcheck-amd64-darwin -u __start -e __start -image_base 0x158000000 -stack_addr 0x154000000 -stack_size 0x800000 memcheck_amd64_darwin-mc_leakcheck.o memcheck_amd64_darwin-mc_malloc_wrappers.o memcheck_amd64_darwin-mc_main.o memcheck_amd64_darwin-mc_main_asm.o memcheck_amd64_darwin-mc_translate.o memcheck_amd64_darwin-mc_machine.o memcheck_amd64_darwin-mc_errors.o ../coregrind/libcoregrind-amd64-darwin.a ../VEX/libvex-amd64-darwin.a
link_tool_exe_darwin: ../coregrind/fixup_macho_loadcmds 0x154000000 0x800000 memcheck-amd64-darwin
fixup_macho_loadcmds: requested stack_addr (top) 0x154000000, stack_size 0x800000
fixup_macho_loadcmds: examining tool exe: memcheck-amd64-darwin
fixup_macho_loadcmds:   initial RSP is as expected (0x154000000)
fixup_macho_loadcmds: fail: has __UNIXSTACK, but wrong ::maxprot (should be 7)
make[3]: *** [memcheck-amd64-darwin] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC.

@LouisBrunner
Copy link
Owner

That should be easy enough to fix. Can you tell me what version of Xcode you have installed?

@solzard
Copy link
Author

solzard commented Apr 24, 2020

❯ xcodebuild -version
Xcode 11.3.1
Build version 11C504

~
❯ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G4032

@LouisBrunner
Copy link
Owner

So there are multiple issues at play here:

  • brew uses a different SDK than CommandLine or Xcode (error: fail: has __UNIXSTACK, but wrong ::maxprot (should be 7)), I don't know yet if the best way to fix this is improve the brew formula or improve valgrind's SDK detection
  • the build breaks with the Xcode SDK on 10.14.6 (error: type 'task_exc_guard_behavior_t' not defined), I have seen this error before but can't remember exactly what is going on

Your output from brew was truncated (that line ==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-7334244 --enable-only64bit --buil) but after trying it on mine, it shows ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-7334244 --enable-only64bit --build=amd64-darwin --with-xcode-path=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk, if you can confirm you have the same, I'll see what I can do.

@LouisBrunner LouisBrunner added the bug Something isn't working label Apr 25, 2020
@LouisBrunner LouisBrunner changed the title Can't install macOS 10.14.6: install fails from brew Apr 25, 2020
@solzard
Copy link
Author

solzard commented Apr 25, 2020

Here's the log in full width.
./configure has the same option as yours.

❯ brew install --HEAD https://raw.githubusercontent.com/LouisBrunner/valgrind-macos/master/valgrind.rb
######################################################################## 100.0%
==> Cloning https://github.com/LouisBrunner/valgrind-macos.git
Updating /Users/solzard/Library/Caches/Homebrew/valgrind--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 733424492 macOS 10.15: fix suppression for bcmp usage in /usr/lib/dyld
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-7334244 --enable-only64bit --build=amd64-darwin --with-xcode-path=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
==> make
Last 15 lines from /Users/solzard/Library/Logs/Homebrew/valgrind/03.make:
clang -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../include -I../VEX/pub -I../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1     -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -O2  -c -o memcheck_amd64_darwin-mc_machine.o `test -f 'mc_machine.c' || echo './'`mc_machine.c
clang -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../include -I../VEX/pub -I../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1     -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -O2  -c -o memcheck_amd64_darwin-mc_errors.o `test -f 'mc_errors.c' || echo './'`mc_errors.c
clang -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../include -I../VEX/pub -I../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1    -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing -fpic -fPIC -fno-builtin  -O2  -c -o vgpreload_memcheck_amd64_darwin_so-mc_replace_strmem.o `test -f 'mc_replace_strmem.c' || echo './'`mc_replace_strmem.c
clang  -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing -fpic -fPIC -fno-builtin  -O2  -dynamic -dynamiclib -all_load -arch x86_64 ../coregrind/libreplacemalloc_toolpreload-amd64-darwin.a  -o vgpreload_memcheck-amd64-darwin.so vgpreload_memcheck_amd64_darwin_so-mc_replace_strmem.o
../coregrind/link_tool_exe_darwin 0x158000000 clang     -o memcheck-amd64-darwin   -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wenum-conversion -finline-functions -fno-stack-protector -fno-strict-aliasing -fno-builtin -Wno-cast-align -Wno-self-assign -Wno-tautological-compare -mmacosx-version-min=10.6 -O2 -nodefaultlibs -nostartfiles -Wl,-u,__start -Wl,-e,__start -arch x86_64 memcheck_amd64_darwin-mc_leakcheck.o memcheck_amd64_darwin-mc_malloc_wrappers.o memcheck_amd64_darwin-mc_main.o memcheck_amd64_darwin-mc_main_asm.o memcheck_amd64_darwin-mc_translate.o memcheck_amd64_darwin-mc_machine.o memcheck_amd64_darwin-mc_errors.o ../coregrind/libcoregrind-amd64-darwin.a ../VEX/libvex-amd64-darwin.a -lgcc
link_tool_exe_darwin: /usr/bin/ld -static -new_linker -arch x86_64 -macosx_version_min 10.6 -o memcheck-amd64-darwin -u __start -e __start -image_base 0x158000000 -stack_addr 0x154000000 -stack_size 0x800000 memcheck_amd64_darwin-mc_leakcheck.o memcheck_amd64_darwin-mc_malloc_wrappers.o memcheck_amd64_darwin-mc_main.o memcheck_amd64_darwin-mc_main_asm.o memcheck_amd64_darwin-mc_translate.o memcheck_amd64_darwin-mc_machine.o memcheck_amd64_darwin-mc_errors.o ../coregrind/libcoregrind-amd64-darwin.a ../VEX/libvex-amd64-darwin.a
link_tool_exe_darwin: ../coregrind/fixup_macho_loadcmds 0x154000000 0x800000 memcheck-amd64-darwin
fixup_macho_loadcmds: requested stack_addr (top) 0x154000000, stack_size 0x800000
fixup_macho_loadcmds: examining tool exe: memcheck-amd64-darwin
fixup_macho_loadcmds:   initial RSP is as expected (0x154000000)
fixup_macho_loadcmds: fail: has __UNIXSTACK, but wrong ::maxprot (should be 7)
make[3]: *** [memcheck-amd64-darwin] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC.
❯ brew --version
Homebrew 2.2.13-138-gd5ab653
Homebrew/homebrew-core (git revision 414f5; last commit 2020-04-25)
Homebrew/homebrew-cask (git revision 9cd7a6; last commit 2020-04-25)

@porcupinenick
Copy link

porcupinenick commented Apr 26, 2020

Hey Louis, great project! I noticed that this project's install script is very similar to this script:

https://github.com/sowson/valgrind/blob/master/valgrind.rb

It seems like you are checking for Xcode a bit differently. ^ I was able to successfully install Valgrind using the above mentioned script.

image

Your script is on the left, the mentioned script is on the right.

@LouisBrunner
Copy link
Owner

Unfortunately, that isn't enough to build reliably on every system. Depending on what SDK you have currently selected using xcode-select (CLI or Xcode), the build will still fail.
I am currently trying to unify the build process to ensure that SDK versions are correctly detected.

The above fix will only work if the currently selected SDK is CLI (which was GitHub and mine and thus why I never caught the bug), but @solzard has Xcode and that currently doesn't work (this can be changed through xcode-select but affects your whole system so I don't want to recommend it).

@LouisBrunner
Copy link
Owner

I have now merged the fix to master, can you please confirm it is building and working as expected?

@porcupinenick
Copy link

porcupinenick commented Apr 27, 2020

image

It worked, thanks Louis!

@solzard
Copy link
Author

solzard commented Apr 27, 2020

I could install it successfully. It works properly in some small test codes.
I really appreciate you, Louis!

@solzard
Copy link
Author

solzard commented Apr 27, 2020

Just a question.
Is brew upgrade fine to upgrade this Valgrind?
Or, tapping brew install --force --HEAD https://raw.githubusercontent.com/LouisBrunner/valgrind-macos/master/valgrind.rb?

brew upgrade caused weird behaviors: trying to upgrade from the latest version and showing the installation error of the original Valgrind.

❯ brew update; brew upgrade
Updated 1 tap (homebrew/core).
==> Updated Formulae
helmfile
==> Upgrading 2 outdated packages:
valgrind HEAD-36f444c -> HEAD-36f444c
==> Upgrading valgrind HEAD-36f444c -> HEAD-36f444c
==> Cloning https://sourceware.org/git/valgrind.git
Updating /Users/solzard/Library/Caches/Homebrew/valgrind--git
From https://sourceware.org/git/valgrind
 + 36f444cf0...d9e714812 master     -> origin/master  (forced update)
==> Checking out branch master
Already on 'master'
Your branch is ahead of 'origin/master' by 65 commits.
  (use "git push" to publish your local commits)
HEAD is now at d9e714812 Do not fix '417075 - pwritev(vector[...]) suppression ignored' but produce a warning.
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-d9e7148 --enable-only64bit --buil
Last 15 lines from /Users/solzard/Library/Logs/Homebrew/valgrind/02.configure:
checking for gcc-ar... no
checking for perl... /usr/bin/perl
checking for gdb... /no/gdb/was/found/at/configure/time
checking dependency style of clang... none
checking for diff -u... yes
checking for clang option to accept ISO C99... none needed
checking for a supported version of gcc... ok (clang-11.0.0)
checking build system type... x86_64-pc-darwin
checking host system type... x86_64-pc-darwin
checking for a supported CPU... ok (x86_64)
checking for a 64-bit only build... yes
checking for a 32-bit only build... no
checking for a supported OS... ok (darwin)
checking for the kernel version... unsupported (18.7.0)
configure: error: Valgrind works on Darwin 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x and 17.x (Mac OS X 10.6/7/8/9/10/11 and macOS 10.12/13)

READ THIS: https://docs.brew.sh/Troubleshooting

@LouisBrunner
Copy link
Owner

I don't know enough about brew and how it updates but it seems to be fetching from the upstream who doesn't support Mojave and later.
You might need to brew pin valgrind to ensure it doesn't get updated and then manually rerun brew install --HEAD https://raw.githubusercontent.com/LouisBrunner/valgrind-macos/master/valgrind.rb (potentially with a brew remove valgrind before) when you want to update.
Unless we change the repository used in brew itself, I don't know what can be done for this unfortunately. I do have the plan of starting to build binary releases of valgrind at the same time the upstream release.

@LouisBrunner
Copy link
Owner

@solzard,

Good news, I have found a way to solve that issue. After @YsHaNgM suggested adding a Homebrew Tap, I did just that and it works great!

See the Tap repository for full information. TL;DR: you just need to do brew tap LouisBrunner/valgrind and then use brew install --HEAD LouisBrunner/valgrind/valgrind. Once you do that, you can brew remove valgrind, any brew upgrade should fetch my repository instead of the upstream one.

@LouisBrunner LouisBrunner added this to Review in progress in Roadmap May 4, 2020
@YsHaNgM
Copy link

YsHaNgM commented May 4, 2020

@LouisBrunner Great job! Apart from the tapping way, the aforementioned "change the repository used in brew itself", what's the requirements from brew? Do you have to build binary releases for each macOS versions?

@LouisBrunner
Copy link
Owner

I have no idea. I imagine they might not be too pleased with the lack of binary releases and my erratic branch management.

I guess there is no harm in asking, I will put in down on my list.

@solzard
Copy link
Author

solzard commented May 4, 2020

@LouisBrunner Fantastic! I confirmed it works on my environment too.
How about adding this tip on README? It must help future users.

@TonioGela
Copy link

Hi @LouisBrunner ,
I'm still getting the aforementioned error despite I have tapped the repo and trying to install it with brew install --HEAD LouisBrunner/valgrind/valgrind
I noticed that despite having xcode normally installed my ./configure line lacks the last flag --with-xcode-path=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk

I'm on
macOS Mojave 10.14.6
using
Homebrew 2.2.17 Homebrew/homebrew-core (git revision 294ee; last commit 2020-05-19) Homebrew/homebrew-cask (git revision 4939f; last commit 2020-05-19)

Can I do something to help you debugging?
TY

@LouisBrunner
Copy link
Owner

@TonioGela could you send me the files contained in ~/Library/Logs/Homebrew/valgrind?

@Axenow
Copy link

Axenow commented Aug 1, 2020

Hi @TonioGela.
Just want to help you if you still needed it.
I had totally the same issue like you. Just try to download https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_11.3/Command_Line_Tools_for_Xcode_11.3.dmg
Even if you have the version of CMT for Xcode 11.2 it may not compile for you.

@LouisBrunner Very big thank you for your work.

@TonioGela
Copy link

TonioGela commented Aug 1, 2020

@LouisBrunner @Axenow sorry for the late response, I have to admit that I completely forgot this thread. I can confirm btw that updating CLI tools works fine even for me.
Louis, thanks again for your work!

@LouisBrunner
Copy link
Owner

Thanks for the confirmation, I will add a line in the README!

Roadmap automation moved this from Review in progress to Done Aug 2, 2020
@karimvafin
Copy link

Hello, I installed valgrind from your repo, but it doesn't detect any allocs and frees (although I'm sure there should be about 100,000 of them). macOS 11 Big Sur. What could be the problem? TY
Снимок экрана 2020-12-05 в 22 14 55

@mkjun14
Copy link

mkjun14 commented Aug 26, 2021

@karimvafin did you find the solution to the issue? Iam facing the same problem as well

@LouisBrunner
Copy link
Owner

@karimvafin @mkjun14 As stated in #19, Big Sur is still unsupported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Roadmap
  
Done
Development

No branches or pull requests

8 participants