http://llvm.org/bugs/show_bug.cgi?id=2210
Summary: PPCJITInfo.cpp fails to compile on Power5 / AIX 5.3
Product: libraries
Version: 2.2
Platform: Other
OS/Version: AIX
Status: NEW
Severity: major
Priority: P2
Component: Backend: PowerPC
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Created an attachment (id=1582)
--> (http://llvm.org/bugs/attachment.cgi?id=1582)
PATCH to fix assembler errors
llvm[3]: Compiling PPCJITInfo.cpp for Release build
Assembler:
/tmp/ccLdO0ra.s: line 4: 1252-016 The specified opcode or pseudo-op is not
valid.
Use supported instructions or pseudo-ops only.
make[3]: *** [/llvm-2.2/lib/Target/PowerPC/Release/PPCJITInfo.o] Error 1
I investigated and it is complaining about the .text lines. Also, once those
are fixed, it can't resolve the registers by name. Adding .set lines mapping
the registers to register numbers eliminates that problem as well. Generated
assembler from gcc outputs .csect text[PR], so I switched the .text lines to
those.
I don't have any way of verifying this doesn't break anyone else, but the file
builds clean for me now with this patch.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs