[LLVMdev] Help needed on debugging llvm

Duncan Sands baldrick at free.fr
Tue Nov 6 01:22:26 PST 2012


Hi Anitha,

On 06/11/12 10:19, Anitha Boyapati wrote:
> Hi Duncan
> I am facing a build error about __builtin_iceil

it's surely just that dragonegg doesn't have any support for this builtin.
Please open a bug report with a minimal test case.

Ciao, Duncan.

  when compiled
> with dragonegg using -ffast-math option. My dragonegg is built with gcc-4.7.0
> (I am compiling namd spec benchmark here again).
> Any idea?
> 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
> spec_namd.o: In function `main':
> spec_namd.C:(.text+0x2a3): undefined reference to `__builtin_iceil'
> collect2: error: ld returned 1 exit status
> specmake: *** [namd] Error 1
>
>
> On 5 November 2012 14:32, Duncan Sands <baldrick at free.fr
> <mailto:baldrick at free.fr>> wrote:
>
>     Hi Anitha,
>
>
>         http://llvm.org/bugs/show_bug.__cgi?id=14185
>         <http://llvm.org/bugs/show_bug.cgi?id=14185>
>         I am stuck on analysis. Does any one have alternate suggestions on debugging
>         llvm? (Please refer to comments for the work done so far)
>
>
>     try to reduce a small standalone testcase which is an LLVM IR (.ll) file.
>
>     Ciao, Duncan.
>
>     _________________________________________________
>     LLVM Developers mailing list
>     LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu
>     http://lists.cs.uiuc.edu/__mailman/listinfo/llvmdev
>     <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
>
>
>
>
> --
> /* Anitha*/
>




More information about the llvm-dev mailing list