[LLVMbugs] [Bug 11273] New: building llvm 3.0rc1 hangs on OpenBSD sparc64 in llvm-tblgen
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Oct 31 00:41:49 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=11273
Bug #: 11273
Summary: building llvm 3.0rc1 hangs on OpenBSD sparc64 in
llvm-tblgen
Product: new-bugs
Version: trunk
Platform: Sun
OS/Version: OpenBSD
Status: NEW
Severity: release blocker
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sebastia at l00-bugdead-prods.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
trying to build llvm/clang on OpenBSD 5.0 -current sparc64, hangs here:
llvm[3]: Building PPC.td code emitter with tblgen
/home/ports/pobj/llvm-3.0rc1.src/build-sparc64/Release/bin/llvm-tblgen -I
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/lib/Target/PowerPC -I
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/include -I
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/include -I
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/lib/Target -gen-emitter -o
/home/ports/pobj/llvm-3.0rc1.src/build-sparc64/lib/Target/PowerPC/Release/PPCGenCodeEmitter.inc.tmp
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/lib/Target/PowerPC/PPC.td
/usr/bin/cmp -s PPCGenCodeEmitter.inc
/home/ports/pobj/llvm-3.0rc1.src/build-sparc64/lib/Target/PowerPC/Release/PPCGenCodeEmitter.inc.tmp
|| /bin/cp
/home/ports/pobj/llvm-3.0rc1.src/build-sparc64/lib/Target/PowerPC/Release/PPCGenCodeEmitter.inc.tmp
PPCGenCodeEmitter.inc
llvm[3]: Building PPC.td instruction information with tblgen
/home/ports/pobj/llvm-3.0rc1.src/build-sparc64/Release/bin/llvm-tblgen -I
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/lib/Target/PowerPC -I
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/include -I
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/include -I
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/lib/Target -gen-instr-info -o
/home/ports/pobj/llvm-3.0rc1.src/build-sparc64/lib/Target/PowerPC/Release/PPCGenInstrInfo.inc.tmp
/home/ports/pobj/llvm-3.0rc1.src/llvm-3.0rc1/lib/Target/PowerPC/PPC.td
top output:
load averages: 1.17, 1.25, 1.17
enterprise.ds9 08:35:41
42 processes: 40 idle, 2 on processor
CPU0 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU1 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU2 states: 0.2% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.8% idle
CPU3 states: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle
Memory: Real: 48M/536M act/tot Free: 1468M Cache: 373M Swap: 0K/587M
PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND
25101 root 64 0 15M 17M onproc/3 - 949:46 99.80% llvm-tblgen
2040 sebastia 28 0 1696K 2928K onproc/2 - 1:59 0.00% top
The build was started at around 2 pm, now its 9 am next day. As top shows, this
process was very busy for a loooong time. The system is a Sun Enterprise Server
E450 with 4x400MHz and 2GB RAM.
attaching to the process with gdb, it hangs here:
(gdb) bt
#0 0x000000000021e7d8 in std::vector<llvm::Record*,
std::allocator<llvm::Record*> >::size ()
#1 0x0000000000225538 in llvm::Record::isSubClassOf ()
#2 0x00000000003723ac in llvm::InstrInfoEmitter::GetOperandInfo ()
#3 0x0000000000373c50 in llvm::InstrInfoEmitter::EmitOperandInfo ()
#4 0x000000000037451c in llvm::InstrInfoEmitter::run ()
#5 0x00000000003b9724 in LLVMTableGenAction::operator() ()
#6 0x00000000003cc020 in llvm::TableGenMain ()
#7 0x00000000003b5c08 in main ()
I marked this as release blocker, but you may decide otherwise. As far as I
know, llvm 2.9 also did not built or worked on OpenBSD sparc64. Don't know the
exact problem, but in the ports tree it was marked as broken.
--
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