<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p><font size="-1">Just compiled compiler-rt OK on Ubuntu 20.04.</font></p>
<p><font size="-1">cd /home/<b>??</b>/Documents/llvm-project</font></p>
<p><font size="-1">rm -rf build</font></p>
<p><font size="-1">mkdir build</font></p>
<p><font size="-1">cd build<br>
</font></p>
<p><font size="-1">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/<b>??</b>/Documents/cmake.log</font></p>
<p><font size="-1">ninja &> /home/<b>??</b>/Documents/ninja.log</font></p>
<p><font size="-1">ninja.log ends with</font></p>
<p><font size="-1">[3790/3791] Linking CXX executable
bin/llvm-readobj<br>
[3791/3791] Generating ../../bin/llvm-readelf</font></p>
<p><font size="-1">There may be some other aspects that need
tweaking but let's start with the above.</font></p>
<p><font size="-1">Let's see your command sequence,</font></p>
<p><font size="-1">Change ?? as needed.<br>
</font></p>
<p><font size="-1">Neil Nelson<br>
</font></p>
<div class="moz-cite-prefix"><font size="-1">On 7/8/20 8:47 PM,
Zhenxiang Li via llvm-dev wrote:</font><br>
</div>
<blockquote type="cite"
cite="mid:DM6PR06MB55459D6D62F8640A9EE2C189F2640@DM6PR06MB5545.namprd06.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Dear Everyone;<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> I am an engineer that design
compile project with LLVM and encounter 64bit Multiplication,
division Issues.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> I read the LLVM documents
and add the compiler-rt library to solve the problem above.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> But when I compiler the
compiler-rt library, I always encounter compile errors as
attachment.<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"> It seems a compiler check
error, and many solutions to solve it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> I tried many method but fail
until now.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> Could you give me some
suggestion to solve this issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> My developing environment is
Ubuntu 20.04, LLVM version 10.0.0, Clang version 10.0.0<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> Thanks a lot .<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> Best Regards<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
</body>
</html>