[cfe-dev] GCC vs clang -- cxx11 ABI issue?
Paweł Bylica via cfe-dev
cfe-dev at lists.llvm.org
Thu Jul 7 02:13:28 PDT 2016
Hi,
I was mixing libraries built with clang and GCC before, but recently I was
be an issue:
undefined reference to 'llvm::sys::getProcessTriple[abi:cxx11]()'
when building with GCC and linking in the LLVM libraries built with clang.
GCC / libstdc++: 5.3.1
clang: 3.8.0
Because the getProcessTriple() returns std::string I suspect that GCC
expects the new string ABI to be used here, but looks like clang produced
the function with the old version.
Is this a bug?
- Paweł
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160707/40c089dc/attachment.html>
More information about the cfe-dev
mailing list