[PATCH 0/2] mmap: Avoid the sanitizer configure check failure
H.J. Lu
hjl.tools@gmail.com
Wed Apr 10 10:56:24 GMT 2024
On Tue, Apr 9, 2024 at 10:39 PM Alan Modra <amodra@gmail.com> wrote:
>
> On Tue, Apr 09, 2024 at 07:24:33AM -0700, H.J. Lu wrote:
> > Define GCC_AC_FUNC_MMAP with export ASAN_OPTIONS=detect_leaks=0 to avoid
> > the sanitizer configure check failure.
>
> OK for binutils. (I just fixed my local copy of autoconf so I
> wouldn't run into this again.) The proper fix of course is to update
> autotools to something more recent.
>
This is what I am checking in with:
dnl
dnl Avoid the sanitizer run-time memory leak failure in the mmap configure
dnl test. This should be removed when autoconf with commit:
dnl
dnl commit 09b6e78d1592ce10fdc975025d699ee41444aa3f
dnl Author: Paul Eggert <eggert@cs.ucla.edu>
dnl Date: Fri Feb 5 21:06:20 2016 -0800
dnl Fix memory leak in AC_FUNC_MMAP
dnl
dnl * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Fix memory leak
dnl in test case, found by configuring with gcc -fsanitize=address.
dnl
dnl is in use.
dnl
Thanks.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mmap-Avoid-the-sanitizer-configure-check-failure.patch
Type: text/x-patch
Size: 7276 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240410/f78f760f/attachment.bin>
More information about the Binutils
mailing list