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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to