lipengcheng
2013-Nov-05 19:04 UTC
[LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131105/ee66f642/attachment.html>
Manman Ren
2013-Nov-05 19:11 UTC
[LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
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/0d37251f/attachment.html>
Manman Ren
2013-Nov-05 19:15 UTC
[LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
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/8cf81f29/attachment.html>
Reasonably Related Threads
- [LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
- [LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
- [LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
- [LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
- blank plot----how do I make symbols appear