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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to