<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - libGL cannot load r600_dri unless application itself is linked to libstdc++"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59296">59296</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libGL cannot load r600_dri unless application itself is linked to libstdc++
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rankincj@googlemail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/r600
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have just tried to play WoW using the latest 64 bit Mesa from git, and have
noticed that libGL refuses to load the r600_dri object, complaining that:

libGL error: dlopen /usr/local/lib64/dri/r600_dri.so failed
(/usr/local/lib64/dri/r600_dri.so: undefined symbol:
_ZTVN10__cxxabiv120__si_class_type_infoE)
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: Try again with LIBGL_DEBUG=verbose for more details.

The symbol _ZTVN10__cxxabiv120__si_class_type_infoE is from libstdc++, which is
not listed as a dynamic dependency of r600_dri. Since wine64 doesn't have a
dynamic dependency on libstdc++ either, the dynamic linker does not know how to
resolve this symbol.

After I had relinked r600_dri against libstdc++, WoW-64.exe was able to run
successfully.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>