[vlc-devel] [PATCH] configure.ac: unbreak AM_ICONV tests with -lasan
thomas at gllm.fr
Tue Nov 14 16:58:36 CET 2017
On Tue, Nov 14, 2017, at 16:52, Rémi Denis-Courmont wrote:
> Le tiistaina 14. marraskuuta 2017, 16.38.54 EET Francois Cartegnie a
> écrit :
> > if -lasan needs to go through LDFLAGS because
> > of -zdefs then iconv test cannot survive again
> Sorry but this is utter BS.
> The iconv test is performed before sanitizers are enabled, so it cannot
> affected by asan linking issues.
If you have a broken libtool (like almost everyone since there is no
release since the fix was pushed), you have to force extra flags:
LDFLAGS="-lasan" when running configure. This fixes the asan link
errors, but this also add this flags for configure tests like iconv.
So that is why there is no subtitles with my ASAN build...
Could we find a way to make every one happy ?
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel