<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa fails to build with gcc address sanitizer (-fsanitize=address -lasan)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100120#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa fails to build with gcc address sanitizer (-fsanitize=address -lasan)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100120">bug 100120</a>
              from <span class="vcard"><a class="email" href="mailto:vedran@miletic.net" title="Vedran Miletić <vedran@miletic.net>"> <span class="fn">Vedran Miletić</span></a>
</span></b>
        <pre>(In reply to Jeff Smith from <a href="show_bug.cgi?id=100120#c1">comment #1</a>)
<span class="quote">> While you shouldn't have needed LIBS="..." at all, there is a deficiency in
> libtool that was fixed in 2015:
> <a href="http://git.savannah.gnu.org/cgit/libtool.git/commit/">http://git.savannah.gnu.org/cgit/libtool.git/commit/</a>
> ?id=a5c6466528c060cc4660ad0319c00740db0e42ba, but no release has been made
> since.

> That said, with LIBS="-lasan -dl" it does build for me.</span >

Interesting. Shouldn't -ldl already be a part of the linker commandline?

$ ldd /usr/local/lib64/libGL.so | grep dl
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f3a9fbc8000)</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>