Roberto Oliveira via llvm-dev
2017-Apr-07 14:17 UTC
[llvm-dev] compiler-rt builtin library in ppc64le architecture
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
Eric Christopher via llvm-dev
2017-Apr-07 16:08 UTC
[llvm-dev] compiler-rt builtin library in ppc64le architecture
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/20170407/60a8a292/attachment.html>
Sterling Augustine via llvm-dev
2017-Apr-11 21:33 UTC
[llvm-dev] compiler-rt builtin library in ppc64le architecture
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>