Re: Building mplayer with ASAN support

Reimar Döffinger <[email protected]>
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
On Tue, Dec 22, 2015 at 01:00:32PM +0100, Gustavo Grieco wrote:
> Hello,
> 
> I'm trying to build the last cve snapshot (export 2015-12-18) with address sanitizer in order to test in deep the last version of mplayer. I used:
> 
> $ ./configure --extra-cflags="-fsanitize=address"

I think you need to add that to ldflags, too.

> but unfortunately, this is not working:

That specific error was just a bug in configure.
Fixed by r37617.
Haven't tested it further though.

> If i disable the custom CFLAGS, mplayer will compile correctly. Is ASAN supported somehow?

Adding it to config.mak after configure would have worked
I think.
At least I seem to remember compiling with it enabled once
(using clang though, as gcc didn't have that feature back then
if I remember right).
_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.