[llvm-dev] compiler-rt builtin library in ppc64le architecture

Sterling Augustine via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 11 14:33:30 PDT 2017


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

On Fri, Apr 7, 2017 at 9:08 AM, Eric Christopher <echristo at gmail.com> wrote:

>
> Sterling has been looking into this lately.
>
>
> On Fri, Apr 7, 2017, 7:17 AM Roberto Oliveira via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi,
>>
>> I'm building compiler-rt in a ppc64le machine and it is generating the
>> sanitizers fine but it is not generating the builtin library. I tried to
>> compile it in a x86_64 machine and I got the builtin library generated
>> (libclang_rt.builtins-x86_64.a).
>>
>> Taking a look in a cmake config file from compiler-rt, I saw that ppc64
>> is not in the supported architecture list to generate the builtin library:
>>
>> set(ALL_BUILTIN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
>>      ${MIPS32} ${MIPS64} ${WASM32} ${WASM64})
>>
>>
>> But in compiler-rt webpage (https://compiler-rt.llvm.org/), under
>> "Platform Support", says:
>>
>> "builtins is known to work on the following platforms:
>> - Machine Architectures: i386, X86-64, SPARC64, ARM, PowerPC, PowerPC 64."
>>
>>
>> Shouldn't the builtin library be built in ppc64 or I am missing something?
>>
>>
>> Thanks,
>> Roberto Oliveira
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170411/409b7995/attachment.html>


More information about the llvm-dev mailing list