<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 - gallium/svga_msg.c build failure on non-x86 with gcc 7.1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102232">102232</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>gallium/svga_msg.c build failure on non-x86 with gcc 7.1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>17.2
          </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>Other
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tjaalton@ubuntu.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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
<a href="https://buildd.debian.org/status/package.php?p=mesa&suite=experimental">https://buildd.debian.org/status/package.php?p=mesa&suite=experimental</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>