<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 - Cross compilation fails with undefined reference"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103386">103386</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cross compilation fails with undefined reference
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>13.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>ARM
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>major
          </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>bkarthikk93@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have been trying to cross compile Mesa 13.0.6 and 12.0.6 for an arm platform.
Both compilation is failing with the following error 
=============================
  Making all in gbm
  make[3]: Entering directory
'/opt/qt/qt5.9.1arm_source/dependencies/mesa/mesa-13.0.6/src/gbm'
  CCLD     libgbm.la
  ../../src/loader/.libs/libloader.a(libxmlconfig_la-xmlconfig.o): In function
`__getProgramName':
  xmlconfig.c:(.text+0x78): undefined reference to `__progname'
  collect2: error: ld returned 1 exit status
  Makefile:847: recipe for target 'libgbm.la' failed
  make[3]: *** [libgbm.la] Error 1
=============================</pre>
        </div>
      </p>


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

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