Hi all,

I am unable to compile on Mac OS X 10.11.6

Xcode command line tools are installed.

Downloaded the valgrind version 3.12.0 from official site:
http://www.valgrind.org/downloads/current.html
http://www.valgrind.org/downloads/valgrind-3.12.0.tar.bz2

./configure (without arguments) runs fine with final output:
         Maximum build arch: amd64
         Primary build arch: amd64
       Secondary build arch: x86
                   Build OS: darwin
       Primary build target: AMD64_DARWIN
     Secondary build target: X86_DARWIN
           Platform variant: vanilla
      Primary -DVGPV string: -DVGPV_amd64_darwin_vanilla=1
         Default supp files: exp-sgcheck.supp xfree-3.supp xfree-4.supp 
darwin10-drd.supp darwin15.supp

but then „make“ files after a while with missing symbol „___bzero“.
Otheres have that problem too but there are no answers:
https://gist.github.com/tapichu/3025307
https://gist.github.com/Jud/3001460

below is the output of last command that fials:

Making all in memcheck
Making all in .
../coregrind/link_tool_exe_darwin 0x138000000 gcc     -o memcheck-amd64-darwin  
-arch x86_64 -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow 
-Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align 
-Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security 
-Wignored-qualifiers -fno-stack-protector -fno-strict-aliasing -fno-builtin 
-Wno-cast-align -Wno-self-assign -Wno-tautological-compare 
-mmacosx-version-min=10.6 -fno-stack-protector -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_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 -arch x86_64 -macosx_version_min 10.6 
-o memcheck-amd64-darwin -u __start -e __start -image_base 0x138000000 
-stack_addr 0x134000000 -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_translate.o 
memcheck_amd64_darwin-mc_machine.o memcheck_amd64_darwin-mc_errors.o 
../coregrind/libcoregrind-amd64-darwin.a ../VEX/libvex-amd64-darwin.a
Undefined symbols for architecture x86_64:
  "___bzero", referenced from:
      _hijack_thread_state in 
libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-amd64-darwin.o)
      _RRegUniverse__init in 
libvex-amd64-darwin.a(libvex_amd64_darwin_a-host_generic_regs.o)
ld: symbol(s) not found for architecture x86_64
make[3]: *** [memcheck-amd64-darwin] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

It would be great if someone could help me.

thank you very much!

Gabriel


Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to