[LLVMbugs] [Bug 5151] New: Error while generating ARM code with llvm-gcc
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Oct 7 19:37:00 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=5151
Summary: Error while generating ARM code with llvm-gcc
Product: libraries
Version: 2.6
Platform: PC
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nbd at openwrt.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3625)
--> (http://llvm.org/bugs/attachment.cgi?id=3625)
Simplified test case
While trying to compile the kernel with an arm llvm-gcc cross toolchain, I get
this error triggered by net/sched/cls_basic.c of linux 2.6.28.10:
Assertion failed: ((!EarlyClobberRegs.test(Reg) ||
MI->isRegTiedToDefOperand(i)) && "Using an early clobbered register!"),
function forward, file RegisterScavenging.cpp, line 221.
0 llc 0x0000000100bc7ef2 std::vector<llvm::sys::Path,
std::allocator<llvm::sys::Path>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::sys::Path*,
std::vector<llvm::sys::Path, std::allocator<llvm::sys::Path> > >,
llvm::sys::Path const&) + 8402
1 llc 0x0000000100bc85b6 std::vector<llvm::sys::Path,
std::allocator<llvm::sys::Path>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::sys::Path*,
std::vector<llvm::sys::Path, std::allocator<llvm::sys::Path> > >,
llvm::sys::Path const&) + 10134
2 libSystem.B.dylib 0x00007fff8332c14a _sigtramp + 26
3 libSystem.B.dylib 0x00000001010627f2 _sigtramp + 2111006402
4 libSystem.B.dylib 0x00007fff833a8104 __pthread_markcancel + 0
5 llc 0x000000010095f78f
llvm::RegisterCoalescer::getAnalysisUsage(llvm::AnalysisUsage&) const + 6943
6 llc 0x00000001009303d8 llvm::DenseMap<llvm::VNInfo*,
llvm::SmallPtrSet<llvm::MachineInstr*, 4u>, llvm::DenseMapInfo<llvm::VNInfo*>,
llvm::DenseMapInfo<llvm::SmallPtrSet<llvm::MachineInstr*, 4u> >
>::FindAndConstruct(llvm::VNInfo* const&) + 3192
7 llc 0x0000000100932ccb llvm::DenseMap<llvm::VNInfo*,
llvm::SmallPtrSet<llvm::MachineInstr*, 4u>, llvm::DenseMapInfo<llvm::VNInfo*>,
llvm::DenseMapInfo<llvm::SmallPtrSet<llvm::MachineInstr*, 4u> >
>::FindAndConstruct(llvm::VNInfo* const&) + 13675
8 llc 0x00000001008f8abb llvm::sys::Path
llvm::WriteGraph<llvm::MachineFunction const*>(llvm::MachineFunction const*
const&, std::string const&, bool, std::string const&) + 2363
9 llc 0x0000000100b4af0a llvm::FunctionPass::~FunctionPass() +
42906
10 llc 0x0000000100b4b574 llvm::FunctionPass::~FunctionPass() +
44548
11 llc 0x0000000100b4b8b2 llvm::FunctionPass::~FunctionPass() +
45378
12 llc 0x0000000100020dc2 llvm::sys::SmartMutex<true>::release()
+ 24418
13 llc 0x000000010001f238 llvm::sys::SmartMutex<true>::release()
+ 17368
--
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