[cfe-dev] Compiler-rt fot ppc 32

vsp 1729 via cfe-dev cfe-dev at lists.llvm.org
Mon Mar 15 12:32:17 PDT 2021


I am building Clang/LLVM for PPC440 processor. This is 32 bit processor. It
built successfully (llvm, clang 9.0).
But compiling simple 2 long double numbers addition it generates __gcc_qadd
from libgcc.a. I have GCC 9.2
toolchain. But its libgcc.a does not contain __gcc_qadd and others similar
functions. Instead GCC handles same
situation with __adddf3 call. GCC does have a file ibm-double.c in libgcc
but it is not built as part of libgcc.a instead
__adddf3 are built.
So I found that compiler-rt has these functions. But when builing
compiler-rt, it is not supporting ppc32. It only builds
for PPC64.
So my question is: How to build compiler-rt for PPC32?

Please help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210316/338128ba/attachment.html>

More information about the cfe-dev mailing list