[llvm-dev] Ask for helpping to compile compiler-rt, thanks
Neil Nelson via llvm-dev
llvm-dev at lists.llvm.org
Thu Jul 9 06:48:34 PDT 2020
Just compiled compiler-rt OK on Ubuntu 20.04.
cd /home/*??*/Documents/llvm-project
rm -rf build
mkdir build
cd build
cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;llvm;compiler-rt"
-DLLVM_USE_LINKER=lld -DCMAKE_BUILD_TYPE="Release"
-DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_LIBPFM=OFF
-DRUN_HAVE_GNU_POSIX_REGEX=0 -DRUN_HAVE_THREAD_SAFETY_ATTRIBUTES=0
-Wno-dev ../llvm &> /home/*??*/Documents/cmake.log
ninja &> /home/*??*/Documents/ninja.log
ninja.log ends with
[3790/3791] Linking CXX executable bin/llvm-readobj
[3791/3791] Generating ../../bin/llvm-readelf
There may be some other aspects that need tweaking but let's start with
the above.
Let's see your command sequence,
Change ?? as needed.
Neil Nelson
On 7/8/20 8:47 PM, Zhenxiang Li via llvm-dev wrote:
>
> Dear Everyone;
>
> I am an engineer that design compile project with LLVM
> and encounter 64bit Multiplication, division Issues.
>
> I read the LLVM documents and add the compiler-rt
> library to solve the problem above.
>
> But when I compiler the compiler-rt library, I always
> encounter compile errors as attachment.
>
> It seems a compiler check error, and many solutions to
> solve it.
>
> I tried many method but fail until now.
>
> Could you give me some suggestion to solve this issue.
>
> My developing environment is Ubuntu 20.04, LLVM
> version 10.0.0, Clang version 10.0.0
>
> Thanks a lot .
>
> Best Regards
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://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/20200709/8d8b80d8/attachment.html>
More information about the llvm-dev
mailing list