[cfe-dev] GCC vs clang -- cxx11 ABI issue?

Yaron Keren via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 7 02:30:04 PDT 2016


Probably solved in

http://llvm.org/viewvc/llvm-project?view=revision&revision=274222

2016-07-07 12:13 GMT+03:00 Paweł Bylica <cfe-dev at lists.llvm.org>:

> 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ł
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160707/27ed2444/attachment.html>


More information about the cfe-dev mailing list