Re: [PATCH] misc: port better to gcc -fsanitize=address

2016-02-07 Thread Paul Eggert
Pádraig Brady wrote: This does add overhead though it's less of an issue at configure time and tests, and so probably not worth complicating with #ifdef lint as is done in coreutils and a few places in gnulib. I didn't know that there were already workarounds for this problem with #ifdef lint.

Re: [PATCH] misc: port better to gcc -fsanitize=address

2016-02-06 Thread Pádraig Brady
On 06/02/16 18:12, Paul Eggert wrote: > Without these patches, ./configure CFLAGS='-fsanitize=address' > would compute incorrect values. This patch fixes some (but not all) > test failures with recent glibc, with this configuration. > * m4/acl.m4 (gl_ACL_GET_FILE): > * m4/calloc.m4 (_AC_FUNC_CALLO

[PATCH] misc: port better to gcc -fsanitize=address

2016-02-06 Thread Paul Eggert
Without these patches, ./configure CFLAGS='-fsanitize=address' would compute incorrect values. This patch fixes some (but not all) test failures with recent glibc, with this configuration. * m4/acl.m4 (gl_ACL_GET_FILE): * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): * m4/canonicalize.m4 (gl_FUNC_REALPATH_WO