https://llvm.org/bugs/show_bug.cgi?id=25656
Bug ID: 25656 Summary: gcc cxx11 abi and clang Product: clang Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: C++ Assignee: unassignedclangb...@nondot.org Reporter: clap...@yandex.ru CC: dgre...@apple.com, llvm-bugs@lists.llvm.org Classification: Unclassified Hi. Ubuntu 15.04, gcc 5.2.1, recent clang APT http://llvm.org/apt/ I use libglog. Which is built with new gcc cxx11 abi. Clang is unable to perform this. #include <glog/logging.h> int main() { google::base::CheckOpMessageBuilder("").NewString(); return 0; } clang++ -std=c++14 test.cc -lglog /tmp/test-65a5b3.o:test.cc:function main: error: undefined reference to 'google::base::CheckOpMessageBuilder::NewString()' clang: error: linker command failed with exit code 1 (use -v to see invocation) $ nm /usr/lib/x86_64-linux-gnu/libglog.a | c++filt | grep NewString 00000000000042a0 T google::base::CheckOpMessageBuilder::NewString[abi:cxx11]() -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs