[Mesa-dev] [Bug 100120] Mesa fails to build with gcc address sanitizer (-fsanitize=address -lasan)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 9 13:04:35 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100120

--- Comment #3 from Vedran Miletić <vedran at miletic.net> ---
(In reply to Jeff Smith from comment #1)
> While you shouldn't have needed LIBS="..." at all, there is a deficiency in
> libtool that was fixed in 2015:
> http://git.savannah.gnu.org/cgit/libtool.git/commit/
> ?id=a5c6466528c060cc4660ad0319c00740db0e42ba, but no release has been made
> since.
> 
> That said, with LIBS="-lasan -dl" it does build for me.

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)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170309/16a5485a/attachment.html>


More information about the mesa-dev mailing list