[LLVMbugs] [Bug 4881] New: LLVM does not compile libruntime, opt problem.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Sep 4 01:16:13 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4881
Summary: LLVM does not compile libruntime, opt problem.
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: astifter-llvm at gmx.at
CC: llvmbugs at cs.uiuc.edu, astifter-llvm at gmx.at
The libruntime gets not build with the problem being that not even the
compilation from CommonProfiling.ll to CommonProfiling.bc does not work.
I have reduced it to
$> .../Debug/bin/llvm-as .../runtime/libprofile/Debug/CommonProfiling.ll -o
test.bc
$> .../Debug/bin/opt -std-compile-opts -o
.../runtime/libprofile/Debug/CommonProfiling.bc < test.bc
0 opt 0x0000000000b2df54
1 opt 0x0000000000b2e4b3
2 libpthread.so.0 0x00007ffff7bd4a80
3 opt 0x000000000074f3bc llvm::Value::getValueID() const + 12
4 opt 0x00000000008ed86d llvm::MDNode::classof(llvm::Value
const*) + 21
5 opt 0x00000000008ee050 bool llvm::isa_impl<llvm::MDNode,
llvm::Value>(llvm::Value const&) + 21
6 opt 0x00000000008ee067 llvm::isa_impl_wrap<llvm::MDNode,
llvm::Value const, llvm::Value const>::doit(llvm::Value const&) + 21
7 opt 0x00000000008ee07e bool
llvm::isa_impl_cl<llvm::Value>::isa<llvm::MDNode>(llvm::Value const&) + 21
8 opt 0x00000000008ee095 bool
llvm::isa_impl_cl<llvm::Value*>::isa<llvm::MDNode>(llvm::Value*) + 21
9 opt 0x0000000000a9d1f8 bool llvm::isa_impl_cl<llvm::Value*
const>::isa<llvm::MDNode>(llvm::Value* const&) + 24
10 opt 0x0000000000a9d21c llvm::isa_impl_wrap<llvm::MDNode,
llvm::WeakVH const, llvm::Value*>::doit(llvm::WeakVH const&) + 34
11 opt 0x0000000000a9d233 bool
llvm::isa_impl_cl<llvm::WeakVH>::isa<llvm::MDNode>(llvm::WeakVH const&) + 21
12 opt 0x0000000000a9d24a bool llvm::isa<llvm::MDNode,
llvm::WeakVH>(llvm::WeakVH const&) + 21
13 opt 0x0000000000a9d3a3 llvm::cast_retty<llvm::MDNode,
llvm::WeakVH>::ret_type llvm::cast<llvm::MDNode, llvm::WeakVH>(llvm::WeakVH
const&) + 21
14 opt 0x0000000000a9ad9e llvm::LLVMContext::RemoveDeadMetadata()
+ 222
15 opt 0x0000000000789686
16 opt 0x0000000000ab10ee
llvm::MPPassManager::runOnModule(llvm::Module&) + 382
17 opt 0x0000000000ab336b
llvm::PassManagerImpl::run(llvm::Module&) + 111
18 opt 0x0000000000ab33cd llvm::PassManager::run(llvm::Module&) +
33
19 opt 0x000000000075e678 main + 3674
20 libc.so.6 0x00007ffff6ce61a6 __libc_start_main + 230
21 opt 0x000000000074ecb9 __gxx_personality_v0 + 697
Stack dump:
0. Running pass 'Dead Global Elimination' on module '<stdin>'.
Segmentation fault
Interesstingly this is not happening when opt gets the file on the command
line, not from stdin.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list