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

Eric Christopher echristo at gmail.com
Tue Nov 5 10:57:05 PST 2013


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131105/ead86e73/attachment.html>


More information about the llvm-dev mailing list