Web lists-archives.com

Re: [MPlayer-dev-eng] Building mplayer with ASAN support




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
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng