<div dir="rtl"><div dir="ltr">Probably solved in</div><div dir="ltr"><br></div><div dir="ltr"><a href="http://llvm.org/viewvc/llvm-project?view=revision&revision=274222">http://llvm.org/viewvc/llvm-project?view=revision&revision=274222</a></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2016-07-07 12:13 GMT+03:00 Paweł Bylica <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I was mixing libraries built with clang and GCC before, but recently I was be an issue:</div><div><br></div><div>undefined reference to 'llvm::sys::getProcessTriple[abi:cxx11]()'<br></div><div><br></div><div>when building with GCC and linking in the LLVM libraries built with clang.</div><div><br></div><div>GCC / libstdc++: 5.3.1</div><div>clang: 3.8.0</div><div><br></div><div>Because the <span style="line-height:1.5">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.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Is this a bug?</span></div><span class="HOEnZb"><font color="#888888"><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">- Paweł</span></div></font></span></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>