<html>
    <head>
      <base href="https://bugzilla.icculus.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 - vm_x86.c inline assembly error on hosts using -fPIC"
   href="https://bugzilla.icculus.org/show_bug.cgi?id=6429">6429</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>vm_x86.c inline assembly error on hosts using -fPIC
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>ioquake3
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>GIT MASTER
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P3
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Misc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>zachary@ioquake.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mark@noffle.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>quake3-bugzilla@icculus.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On hardened distros, gcc will be configured to automatically compile code as
position independent code as part of their hardening toolset.

code/qcommon/vm_x86:1792

contains the entry:
        __asm__ volatile(
                "calll *%3\n"
                : "+S" (programStack), "+D" (opStack), "+b" (opStackOfs)
                : "g" (entryPoint)
                : "cc", "memory", "%eax", "%ecx", "%edx"
        );

This doesn't work on hosts compiling with -fPIC with 32bit builds since ebx is
used by pic.

-fno-pic would probably be the easiest option here, imo.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>