<div>Hi,<br><br>Sorry for the newbie question. I downloaded llvm 1.8a and llvm-gcc3.4, tried out the<br>simple "Hello, World" program but got the following error. My system is RedHat 9<br><br>$ ./hello<br>lli: /home//llvm/lib/Target/X86/X86CodeEmitter.cpp:208:
<br>unsigned char ModRMByte(unsigned int, unsigned int, unsigned int):<br>Assertion `Mod < 4 && RegOpcode < 8 && RM < 8 && "ModRM Fields out of<br>range!"' failed.<br>lli((anonymous namespace)::PrintStackTrace()+0x15)[0x84ab499]
<br>/lib/tls/libc.so.6[0x3d7ec8]<br>/lib/tls/libc.so.6(abort+0x15)[0x3d94f5]<br>/lib/tls/libc.so.6[0x3d1619]<br>lli((anonymous namespace)::Emitter::emitMemModRMByte(llvm::MachineInstr<br>const&, unsigned int, unsigned int)+0x219)[0x81af7c9]
<br>Aborted</div>
<div> </div>
<div>Thanks,</div>
<div>Arthur.</div>