[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 24 03:34:13 PDT 2014


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

--- Comment #9 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to comment #8)
> I added it to LDFLAGS (see the LDFLAGS while calling configure), but
> libglapi still links without it:
> https://launchpadlibrarian.net/183064138/buildlog_ubuntu-utopic-i386.mesa_10.
> 4~git1408241158.8d8a5e%2Bgallium-nine~gd~u_FAILEDTOBUILD.txt.gz

It should to be prefixed by "-Wl," otherwise libtool strips it out.
LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-fsanitize=address"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140824/fd1659b2/attachment.html>


More information about the mesa-dev mailing list