[LLVMdev] Help needed on debugging llvm

Anitha Boyapati anitha.boyapati at gmail.com
Tue Nov 6 01:21:33 PST 2012


On 6 November 2012 14:49, Anitha Boyapati <anitha.boyapati at gmail.com> wrote:

> Hi Duncan
>
> 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
> (I am compiling namd spec benchmark here again).
>
> Any idea?
>

Just wanted to add that without -ffast-math, build goes fine.


>
> 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> 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         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/**mailman/listinfo/llvmdev<http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
>>
>
>
>
> --
> * Anitha*
>
>


-- 
* Anitha*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121106/410d7b40/attachment.html>


More information about the llvm-dev mailing list