<div dir="ltr">We haven't done a large amount of testing with the builtins library for powerpc64le, but it has worked well for the work we have done. I don't know why cmake doesn't have options for it</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 7, 2017 at 9:08 AM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>Sterling has been looking into this lately. <div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Fri, Apr 7, 2017, 7:17 AM Roberto Oliveira via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
I'm building compiler-rt in a ppc64le machine and it is generating the<br class="m_400825812396986450gmail_msg">
sanitizers fine but it is not generating the builtin library. I tried to<br class="m_400825812396986450gmail_msg">
compile it in a x86_64 machine and I got the builtin library generated<br class="m_400825812396986450gmail_msg">
(libclang_rt.builtins-x86_64.<wbr>a).<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
Taking a look in a cmake config file from compiler-rt, I saw that ppc64<br class="m_400825812396986450gmail_msg">
is not in the supported architecture list to generate the builtin library:<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
set(ALL_BUILTIN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}<br class="m_400825812396986450gmail_msg">
${MIPS32} ${MIPS64} ${WASM32} ${WASM64})<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
But in compiler-rt webpage (<a href="https://compiler-rt.llvm.org/" rel="noreferrer" class="m_400825812396986450gmail_msg" target="_blank">https://compiler-rt.llvm.org/</a><wbr>), under<br class="m_400825812396986450gmail_msg">
"Platform Support", says:<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
"builtins is known to work on the following platforms:<br class="m_400825812396986450gmail_msg">
- Machine Architectures: i386, X86-64, SPARC64, ARM, PowerPC, PowerPC 64."<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
Shouldn't the builtin library be built in ppc64 or I am missing something?<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
Thanks,<br class="m_400825812396986450gmail_msg">
Roberto Oliveira<br class="m_400825812396986450gmail_msg">
<br class="m_400825812396986450gmail_msg">
______________________________<wbr>_________________<br class="m_400825812396986450gmail_msg">
LLVM Developers mailing list<br class="m_400825812396986450gmail_msg">
<a href="mailto:llvm-dev@lists.llvm.org" class="m_400825812396986450gmail_msg" target="_blank">llvm-dev@lists.llvm.org</a><br class="m_400825812396986450gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" class="m_400825812396986450gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br class="m_400825812396986450gmail_msg">
</blockquote></div></div>
</blockquote></div><br></div>