[Mesa-dev] [Bug 102232] gallium/svga_msg.c build failure on non-x86 with gcc 7.1
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 15 11:01:15 UTC 2017
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 at lists.freedesktop.org
Reporter: tjaalton at ubuntu.com
QA Contact: mesa-dev at 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&suite=experimental
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170815/23be553c/attachment.html>
More information about the mesa-dev
mailing list