Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17334


Change subject: [tools] fix build on macOS
......................................................................

[tools] fix build on macOS

This patch fixes a build error seen on macOS:

FAILED: lib/libkudu_tools_test_util.dylib
: && 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
 -msse4.2 -Wall -Wno-sign-compare -Wno-comment -pthread -fno-strict-aliasing 
-DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG  -ggdb -Qunused-arguments 
-Wno-ambiguous-member-template -Wdocumentation-deprecated-sy
nc -Wno-unknown-warning-option -Wno-address-of-packed-member -std=c++17 -g 
-isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
 -mmacosx-version-min=10.15 -dynamiclib -Wl,-headerpad_max_install_names  -o 
lib/libkudu_tools_test_util.dylib -ins
tall_name @rpath/libkudu_tools_test_util.dylib 
src/kudu/tools/CMakeFiles/kudu_tools_test_util.dir/tool_test_util.cc.o  
-Wl,-rpath,/Users/awong/Repositories/kudu/build/debug/lib 
-Wl,-rpath,/Users/awong/Repositories/kudu/thirdparty/installed/uninstrumented/lib
  lib/libkudu_util.dylib  lib/libblock_b
loom_filter_proto.dylib  
../../thirdparty/installed/uninstrumented/lib/libcrcutil.dylib  
../../thirdparty/installed/uninstrumented/lib/libgflags.dylib  
lib/libgutil.dylib  ../../thirdparty/installed/uninstrumented/lib/libglog.dylib 
 lib/libhash_proto.dylib  lib/libhistogram_proto.dylib  ../../thir
dparty/installed/uninstrumented/lib/libev.dylib  
lib/libmaintenance_manager_proto.dylib  lib/libmem_tracker_proto.dylib  
lib/libpb_util_proto.dylib  lib/libversion_info_proto.dylib  
../../thirdparty/installed/uninstrumented/lib/libprotobuf.dylib  
../../thirdparty/installed/uninstrumented/lib/libya
ml-cpp.dylib  ../../thirdparty/installed/uninstrumented/lib/libz.dylib  
../../thirdparty/installed/uninstrumented/lib/libtcmalloc.dylib && :
Undefined symbols for architecture x86_64:
  "kudu::tools::GetKuduToolAbsolutePathSafe(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> >*)", referenced from:
      kudu::tools::GetKuduToolAbsolutePath() in tool_test_util.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Change-Id: Icd385b5b7b499dcd106f9e0333e4d6f616c68f89
---
M src/kudu/tools/CMakeLists.txt
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/34/17334/1
--
To view, visit http://gerrit.cloudera.org:8080/17334
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd385b5b7b499dcd106f9e0333e4d6f616c68f89
Gerrit-Change-Number: 17334
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>

Reply via email to