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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Feb 7 19:53:24 CET 2016


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).


More information about the MPlayer-dev-eng mailing list