<div>Hi Duncan</div><div> </div><div>I am facing a build error about __builtin_iceil when compiled with dragonegg using -ffast-math option. My dragonegg is built with gcc-4.7.0</div><div>(I am compiling namd spec benchmark here again).</div>

<div> </div><div>Any idea?</div><div> </div><div>g++ -march=bdver2 -save-temps -fplugin=/home/anboyapa/install/bin/dragonegg.so   -O2 -march=bdver2 -save-temps -fplugin=/home/anboyapa/install/bin/dragonegg.so -mno-fma -mfma4 -ffast-math  -DSPEC_CPU_LP64        Compute.o ComputeList.o ComputeNonbondedUtil.o LJTable.o Molecule.o Patch.o PatchList.o ResultSet.o SimParameters.o erf.o spec_namd.o                     -o namd<br>

spec_namd.o: In function `main':<br>spec_namd.C:(.text+0x2a3): undefined reference to `__builtin_iceil'<br>collect2: error: ld returned 1 exit status<br>specmake: *** [namd] Error 1<br></div><div> </div><div> </div>

<div><br><br> </div><div class="gmail_quote">On 5 November 2012 14:32, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">

Hi Anitha,<div class="im"><br>
<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<a href="http://llvm.org/bugs/show_bug.cgi?id=14185" target="_blank">http://llvm.org/bugs/show_bug.<u></u>cgi?id=14185</a><br>
I am stuck on analysis. Does any one have alternate suggestions on debugging<br>
llvm? (Please refer to comments for the work done so far)<br>
</blockquote>
<br></div>
try to reduce a small standalone testcase which is an LLVM IR (.ll) file.<br>
<br>
Ciao, Duncan.<br>
<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><i style="font-family:times new roman,serif"><b> Anitha</b></i><br><br>