0 down vote favorite [http://stackoverflow.com/questions/9354312/llvm-2-8-dswp-core-dump-linux#] share [g+] share [fb] share [tw] i new in llvm.i just compile google code and got this error. " Stack dump: 0. Program arguments: opt -load /home/vahid/mywork/llvm-2.8/Release/lib/DSWP.so -dswp obj.o -o out.o 1. Running pass 'Function Pass Manager' on module 'obj.o'. 2. Running pass 'Loop Pass Manager' on function '@fun' 3. Running pass '15745 Decoupled Software Pipeline' on basic block '' ./execute: line 15: 2196 Aborted (core dumped) opt -load /home/vahid/mywork/llvm-2.8/Release/lib/DSWP.so -dswp obj.o -o out.o " for more information you can see this link : code.google.com/p/15745-project-dswp/source/browse/ I used llvm-2.8 , clang-2.8 , fedora 15 please help me -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120220/63e488b8/attachment.html>
Hi Vahid, I suggest you use a more recent version. The latest version is 3.0. Ciao, Duncan. On 20/02/12 09:27, vahid eslami wrote:> > 0 down vote favorite > <http://stackoverflow.com/questions/9354312/llvm-2-8-dswp-core-dump-linux#> > share [g+] share [fb] share [tw] > > i new in llvm.i just compile google code and got this error. " Stack dump: 0. > Program arguments: opt -load /home/vahid/mywork/llvm-2.8/Release/lib/DSWP.so > -dswp obj.o -o out.o 1. Running pass 'Function Pass Manager' on module 'obj.o'. > 2. Running pass 'Loop Pass Manager' on function '@fun' 3. Running pass '15745 > Decoupled Software Pipeline' on basic block '' ./execute: line 15: 2196 Aborted > (core dumped) opt -load /home/vahid/mywork/llvm-2.8/Release/lib/DSWP.so -dswp > obj.o -o out.o " for more information you can see this link : > code.google.com/p/15745-project-dswp/source/browse/ > I used llvm-2.8 , clang-2.8 , fedora 15 please help me > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Hello, I am also getting very frequent this Stack dump error. I am using the most recent version. And it appears related to passes written from opt tool. Basically, this kind of error: 0 opt 0x08eaf9a8 1 opt 0x08eaff24 2 0xb774a400 __kernel_sigreturn + 0 3 patternDC.so 0xb7744c48 .... run(llvm::Module&) + 38 10 opt 0x081a290f main + 6095 11 libc.so.6 0xb74574d3 __libc_start_main + 243 12 opt 0x081b8509 Stack dump: ... and then Segmentation fault (core dumped)