[llvm-bugs] [Bug 42127] New: [ppc64] "invalid memory operand" with integrated assembler

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 4 17:30:34 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42127

            Bug ID: 42127
           Summary: [ppc64] "invalid memory operand" with integrated
                    assembler
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mh+llvm at glandium.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

These errors happen when building Firefox with clang and targeting powerpc64el:

[ 1534s] 17:49.71
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S:65:18:
error: invalid memory operand                   
[ 1534s] 17:49.71         std 0,16(r1)                                          
[ 1534s] 17:49.71                  ^                                            
[ 1534s] 17:49.71
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S:67:21:
error: invalid memory operand                   
[ 1534s] 17:49.71         std r29,-24(r1)                                       
[ 1534s] 17:49.71                     ^                                         
[ 1534s] 17:49.71
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S:68:21:
error: invalid memory operand                   
[ 1534s] 17:49.71         std r30,-16(r1)                                       
[ 1534s] 17:49.71                     ^                                         
[ 1534s] 17:49.72
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S:69:20:
error: invalid memory operand                   
[ 1534s] 17:49.72         std r31,-8(r1)                                        
[ 1534s] 17:49.72                    ^                                          
[ 1534s] 17:49.72
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S:108:17:
error: invalid memory operand                  
[ 1534s] 17:49.72         ld r9,0(r29) # vtable (r29 is 'that')  
...

This builds fine with `-fno-integrated-as`.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190605/d430c201/attachment.html>


More information about the llvm-bugs mailing list