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

Dmitry Polukhin via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 7 02:59:00 PDT 2016


Good to hear that it fixed your problems. Please let me know if you observe
any compatibility issues due to ABI tags with Clang trunk.

On Thu, Jul 7, 2016 at 12:37 PM, Paweł Bylica <cfe-dev at lists.llvm.org>
wrote:

> Ok, thanks.
>
> Will this fix be included in 3.8.1?
>
> On Thu, Jul 7, 2016 at 11:30 AM Yaron Keren <yaron.keren at gmail.com> wrote:
>
>> 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
>>>
>>>
>>
> _______________________________________________
> 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/ffe3b1e0/attachment-0001.html>


More information about the cfe-dev mailing list