https://bugs.freedesktop.org/show_bug.cgi?id=102232
Bug ID: 102232
Summary: gallium/svga_msg.c build failure on non-x86 with gcc
7.1
Product: Mesa
Version: 17.2
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Other
Assignee: mesa-dev@lists.freedesktop.org
Reporter: tjaal...@ubuntu.com
QA Contact: mesa-dev@lists.freedesktop.org
Hi, 17.2.0-rc3/4 (probably master too) fails to build on non-x86 with gcc 7.1:
for example with arm64:
../../../../../src/gallium/drivers/svga/svga_msg.c: In function
‘svga_host_log’:
../../../../../src/gallium/drivers/svga/svga_msg.c:86:4: error: output number 4
not directly addressable
({ \
asm volatile ("inl %%dx, %%eax;" : \
^
"=a"(ax),\
~~
"=b"(bx),\
~~
"=c"(cx),\
~~
"=d"(dx),\
~~
"=S"(si),\
~~
"=D"(di) : \
~~
"a"(magic), \
~~
"b"(in_bx), \
~~
"c"(cmd),\
~~
"d"(port_num), \
~~
"S"(in_si), \
~~
"D"(in_di) : \
~~
"memory"); \
~~
})
~~
../../../../../src/gallium/drivers/svga/svga_msg.c:298:4: note: in expansion of
macro ‘VMW_PORT’
VMW_PORT(VMW_PORT_CMD_OPEN_CHANNEL,
^~~~
../../../../../src/gallium/drivers/svga/svga_msg.c:86:4: warning: asm operand
10 probably doesn’t match constraints
full buildlogs at
https://buildd.debian.org/status/package.php?p=mesa=experimental
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev