<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [s390x] "invalid use of length addressing"/"invalid operand for instruction" with integrated assembler"
href="https://bugs.llvm.org/show_bug.cgi?id=42128">42128</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[s390x] "invalid use of length addressing"/"invalid operand for instruction" with integrated assembler
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mh+llvm@glandium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>These errors happen when building Firefox with clang and targeting s390x:
[ 553s] 6:08.70 In file included from
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcstubs_linux_s390x.cpp:194:
[ 553s] 6:08.70
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/xptcstubsdef.inc:2:1:
error: invalid use of length addressing
[ 553s] 6:08.70 STUB_ENTRY(4)
[ 553s] 6:08.70 ^
[ 553s] 6:08.70
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcstubs_linux_s390x.cpp:167:9:
note: expanded from macro 'STUB_ENTRY'
[ 553s] 6:08.70 "lg %0,0(15)\n\t"
[ 553s] 6:08.70 ^
[ 553s] 6:08.70 <inline asm>:1:13: note: instantiated into assembly here
[ 553s] 6:08.70 lg %r1,0(15)
[ 553s] 6:08.70 ^
[ 553s] 6:08.70 In file included from
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcstubs_linux_s390x.cpp:194:
[ 553s] 6:08.70
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/xptcstubsdef.inc:2:1:
error: invalid operand for instruction
[ 553s] 6:08.70 STUB_ENTRY(4)
[ 553s] 6:08.70 ^
[ 553s] 6:08.70
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcstubs_linux_s390x.cpp:168:25:
note: expanded from macro 'STUB_ENTRY'
[ 553s] 6:08.70 "aghi %0,160\n\t"
[ 553s] 6:08.70 ^
[ 553s] 6:08.70 <inline asm>:3:9: note: instantiated into assembly here
[ 553s] 6:08.70 stmg 3,6,0(%r14)
[ 553s] 6:08.70 ^
[ 553s] 6:08.70 In file included from
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/md/unix/xptcstubs_linux_s390x.cpp:194:
[ 553s] 6:08.70
/home/abuild/rpmbuild/BUILD/firefox-68.0/xpcom/reflect/xptcall/xptcstubsdef.inc:2:1:
error: invalid operand for instruction
[ 553s] 6:08.70 STUB_ENTRY(4)
...
This builds fine with `-fno-integrated-as`.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>