Zhenxiang Li via llvm-dev
2020-Jul-09 02:47 UTC
[llvm-dev] Ask for helpping to compile compiler-rt, thanks
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200709/8d017eda/attachment-0001.html> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: compiler-rt-error.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200709/8d017eda/attachment-0001.txt>
Neil Nelson via llvm-dev
2020-Jul-09 13:48 UTC
[llvm-dev] Ask for helpping to compile compiler-rt, thanks
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>