[LLVMbugs] [Bug 2210] New: PPCJITInfo.cpp fails to compile on Power5 / AIX 5.3

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Apr 8 01:07:50 PDT 2008


           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: unassignedbugs at nondot.org
        ReportedBy: andrew at ishiboo.com
                CC: llvmbugs at cs.uiuc.edu

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
/tmp/ccLdO0ra.s: line 4: 1252-016 The specified opcode or pseudo-op is not
        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

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.

More information about the llvm-bugs mailing list