On Thu, 2017-01-05 at 10:44 +0100, Gabriel Gritsch wrote: > I am unable to compile on Mac OS X 10.11.6 Problem was already reported on this list the 23 of December, a bypass/solution was given by John Reiser. Here is a copy:
> 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) $ grep -r __bzero valgrind-3.12 ===== coregrind/m_main.c #if defined(VGO_darwin) && DARWIN_VERS == DARWIN_10_10 /* This might also be needed for > DARWIN_10_10, but I have no way to test for that. Hence '==' rather than '>=' in the version test above. */ void __bzero ( void* s, UWord n ); void __bzero ( void* s, UWord n ) { (void) VG_(memset)( s, 0, n ); } #endif ===== So a timid developer chose "not functional" versus "works, but perhaps a few microseconds slower". Just change it to #if defined(VGO_darwin) omitting the test of DARWIN_VERS. ------------------------------------------------------------------------------ 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