Re: [MPlayer-dev-eng] Building mplayer with ASAN support
- Date: Sun, 7 Feb 2016 19:53:24 +0100
- From: Reimar Döffinger <Reimar.Doeffinger@xxxxxx>
- Subject: Re: [MPlayer-dev-eng] Building mplayer with ASAN support
On Tue, Dec 22, 2015 at 01:00:32PM +0100, Gustavo Grieco wrote:
> 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
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