<html>
<head>
<base href="https://bugs.freedesktop.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 - intel-gpu-tools does not properly cross-compile when using assembler/intel-gen4asm"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89214">89214</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>intel-gpu-tools does not properly cross-compile when using assembler/intel-gen4asm
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>XOrg git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vapier@gentoo.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>intel-gfx-bugs@lists.freedesktop.org, vedang.patel@intel.com
</td>
</tr></table>
<p>
<div>
<pre>the assembler/Makefile will build & execute intel-gen4asm using the target
compiler. that means you can't cross-compile it as there's no guarantee the
target is producing code that is executable on the current build host.
i could post a pathological example (building x86 code on an arm system), but a
more realistic one is where you have a kernel running x86_64 and it only
supports x86_64 (so 64-bit, not x86/32-bit or x32). when it attempts to
execute the assembler, it fails with:
intel-gpu-tools-1.7: make[3]: ../../assembler/intel-gen4asm: Command not found
i guess assembler/Makefile.am needs some hacking so it uses
BUILD_CC/BUILD_CFLAGS/etc... instead of the default CC/CFLAGS/etc...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>