[Bug 89214] New: intel-gpu-tools does not properly cross-compile when using assembler/intel-gen4asm
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 18 15:24:19 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89214
Bug ID: 89214
Summary: intel-gpu-tools does not properly cross-compile when
using assembler/intel-gen4asm
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Intel
Assignee: intel-gfx-bugs at lists.freedesktop.org
Reporter: vapier at gentoo.org
QA Contact: intel-gfx-bugs at lists.freedesktop.org
CC: intel-gfx-bugs at lists.freedesktop.org,
vedang.patel at intel.com
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...
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150218/82b9b4cc/attachment.html>
More information about the intel-gfx-bugs
mailing list