Bug 330984 - build fails on snow leopard
Summary: build fails on snow leopard
Status: RESOLVED DUPLICATE of bug 327745
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: 3.9.0
Platform: MacPorts macOS
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 15:33 UTC by erg
Modified: 2015-06-01 00:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description erg 2014-02-10 15:33:18 UTC
Build fails both via macports and using the source package from the valgrind page, reporting missing symbols:


../coregrind/link_tool_exe_darwin 0x138000000 gcc  -Wno-long-long  -Wwrite-strings -fno-stack-protector   -o memcheck-amd64-darwin  -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -mmacosx-version-min=10.5 -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.5 -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:
  "_vgSysWrap_darwin_psynch_cvclrprepost_after", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_rw_unlock_before", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_cvclrprepost_before", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_rw_wrlock_after", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_mutexwait_after", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_cvwait_after", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_cvsignal_before", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_cvbroad_before", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_rw_wrlock_before", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_cvsignal_after", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_mutexdrop_before", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_mutexwait_before", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_rw_rdlock_after", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_cvbroad_after", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_mutexdrop_after", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_cvwait_before", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_rw_rdlock_before", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
  "_vgSysWrap_darwin_psynch_rw_unlock_after", referenced from:
      _vgModuleLocal_syscall_table in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-darwin.o)
ld: symbol(s) not found
make[3]: *** [memcheck-amd64-darwin] Error 1


Reproducible: Always

Steps to Reproduce:
1.configure --prefix=$HOME
2.make
3.



Or did I miss that snow leopard is no longer supported? Or can I just turn off amd support?
Comment 1 Rhys Kidd 2015-06-01 00:00:29 UTC

*** This bug has been marked as a duplicate of bug 327745 ***