[LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'

lipengcheng pli at cs.rochester.edu
Tue Nov 5 11:18:18 PST 2013


Very old version. r1128011…. 

On Nov 5, 2013, at 2:15 PM, Manman Ren <manman.ren at gmail.com> wrote:

> Also r174479.
> 
> Manman
> 
> 
> On Tue, Nov 5, 2013 at 11:11 AM, Manman Ren <manman.ren at gmail.com> wrote:
> Hi,
> 
> What version of clang are you using? I think r174785 is the fix.
> 
> Manman
> 
> 
> On Tue, Nov 5, 2013 at 11:04 AM, lipengcheng <pli at cs.rochester.edu> wrote:
> What do you mean by test case please ? Using the following commands to compile mcf program 
> can reproduce such issue all the time. 
> 
> Probably it is my version's problem. Because I checked out 3.3version from SVN before published. 
> 
> Could you tell me where Manman modified ? I cannot port to new version very quickly after changing 
> it a lot already. 
> 
> Thanks, 
> - Pengcheng
> 
> On Nov 5, 2013, at 1:57 PM, Eric Christopher <echristo at gmail.com> wrote:
> 
>> This is from work that Manman did. I thought she'd fixed this particular issue though. Can you file a bug with a test case please?
>> 
>> On Nov 5, 2013 10:10 AM, "lipengcheng" <pli at cs.rochester.edu> wrote:
>> Hello LLVM,
>> 
>> I encountered the following bugs when I compiled my program in debug version.
>> Could someone help me with that ? Really appreciate that. Thanks,
>> 
>> Take the mcf program in SPEC2K6 as example. The compiling options are :
>> 
>> clang -O0 -c -emit-llvm -o obj/mcf.o -g -DSPEC_CPU mcf.c
>> llvm-link -o mcf.bc obj/mcf.o
>> opt -o mcf.opt.bc mcf.bc -O2
>> llc -O0 -relocation-model=static -o mcf.s mcf.opt.bc
>> clang mcf.s -o mcf
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x48d): undefined reference to `.Lline_table_start1'
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x894): undefined reference to `.Lline_table_start2'
>> /tmp/mcf-CvkpnA.o:(.debug_info+0xfce): undefined reference to `.Lline_table_start3'
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x1226): undefined reference to `.Lline_table_start4'
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x1921): undefined reference to `.Lline_table_start5'
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x1e8c): undefined reference to `.Lline_table_start6'
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x21c7): undefined reference to `.Lline_table_start7'
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x23e2): undefined reference to `.Lline_table_start8'
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x2b39): undefined reference to `.Lline_table_start9'
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x2f9f): undefined reference to `.Lline_table_start10'
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>> 
>> Thanks,
>> - Pengcheng
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131105/b3959e58/attachment.html>


More information about the llvm-dev mailing list