[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 15:31:52 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100120
--- Comment #7 from Vedran Miletić <vedran at miletic.net> ---
(In reply to Vedran Miletić from comment #6)
> (In reply to Emil Velikov from comment #4)
> > Note: I'm wondering if the explicit -lasan isn't agcc/clang bug. Can we get
> > a reference reading why we need it, considering the explicit -f.... toggle
> > we pass to gcc/clang.
>
> It's not required, it's added automatically. I started with the wrong
> assumption here.
>
Correction: it is not required when building something that is not Mesa (e.g. a
simple one file C/C++ program). When building Mesa specifying -lasan is
required.
--
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/8c1e303d/attachment.html>
More information about the mesa-dev
mailing list