[vlc-devel] [PATCH] configure.ac: unbreak AM_ICONV tests with -lasan
Thomas Guillem
thomas at gllm.fr
Tue Nov 14 18:12:22 CET 2017
On Tue, Nov 14, 2017, at 18:10, Rémi Denis-Courmont wrote:
> Le tiistaina 14. marraskuuta 2017, 17.57.47 EET Francois Cartegnie a
> écrit :
> > Le 14/11/2017 à 17:54, Rémi Denis-Courmont a écrit :
> > >> - Specifying ASAN_OPTIONS=exitcode=0 for the entire configure process
> > >
> > > That is what I have always done. Otherwise, make check also fails due to
> > > bugs in external libraries.
> > >
> > > But the simpler work-around to *both* missing symbols and memory leaks, as
> > > well as to any other hypothetical sanitizer interference during configure,
> > > consists of enabling sanitizers later in the process - after all the link
> > > and run configure tests are done.
> >
> > Another issue is the configure recheck being run without those env
> > variables. (bisect, etc)
>
> Sorry but that amounts to PEBKAC.
>
> autotools explicitly require that the build environment does not change
> for a
> given build directory, or then you have to run distclean.
>
> autoconf tries to help and detect inconsistency with well-known
> variables. It
> also saves explicitly provided environment variables as parameters to the
> configure script, e.g.:
>
> ./configure LSAN_OPTIONS="exitcode=0"
OK for me.
>
> This is as good as it gets; any build system will have similar
> limitations.
>
>
> --
> 雷米‧德尼-库尔蒙
> https://www.remlab.net/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list