https://bugs.kde.org/show_bug.cgi?id=374685

            Bug ID: 374685
           Summary: Won't Build on Mac OS X 10.11 (El Capitan) - undefined
                    symbol ___bzero
           Product: valgrind
           Version: 3.12.0
          Platform: unspecified
                OS: OS X
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: ch...@icculus.org
  Target Milestone: ---

When I build Valgrind on Mac OS X 10.11 via:

1. Download Valgrind 3.12.0 source code tarball
2. cd to extracted source directory
3. Run ./configure
4. Run make

I get this error (truncated output):

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to