Re: *alloc-gnu on glibc

2021-05-15 Thread Bruno Haible
Pádraig Brady wrote: > Ah this issue is restricted to glibc's MALLOC_CHECK_ implementation. Ah, that explains why I got different results than you did. > I've reported the glibc bug at: > https://sourceware.org/bugzilla/show_bug.cgi?id=27870 Thanks! > The attached avoids this part of the test i

Re: *alloc-gnu on glibc

2021-05-15 Thread Pádraig Brady
On 15/05/2021 16:49, Bruno Haible wrote: Hi Pádraig, On glibc-2.31-5.fc32.x86_64 I'm seeing this test failure with coreutils, since the tests are now checking for a specific errno. I just checked a later Fedora 34 system which has the same issue. For me, a testdir created through ./gnuli

Re: *alloc-gnu on glibc

2021-05-15 Thread Bruno Haible
Hi Pádraig, > On glibc-2.31-5.fc32.x86_64 I'm seeing this test failure with coreutils, > since the tests are now checking for a specific errno. > I just checked a later Fedora 34 system which has the same issue. For me, a testdir created through ./gnulib-tool --create-testdir --dir=../testdir

Re: *alloc-gnu on glibc

2021-05-15 Thread Paul Eggert
On 5/15/21 9:04 AM, Pádraig Brady wrote: I'm wondering should we be more relaxed here as, there is only one standardised ENOMEM error from realloc, so code doesn't have to behave differently based on what the errno is. We've already relaxed the errno test for reallocarray, where NetBSD fails

Re: New way to integrate gnulib into projects?

2021-05-15 Thread Bruce Korb
On 5/15/21 1:01 AM, Simon Josefsson via Gnulib discussion list wrote: However, running ./bootstrap remains painfully slow. Amen!!! Then a second run of ./bootstrap in the directory would avoid the gnulib-tool step, and only run autoreconf and friends. A new cfg.mk variable to tell ./bootstrap

Re: *alloc-gnu on glibc

2021-05-15 Thread Pádraig Brady
On glibc-2.31-5.fc32.x86_64 I'm seeing this test failure with coreutils, since the tests are now checking for a specific errno. I just checked a later Fedora 34 system which has the same issue. Specifically test-realloc-gnu is enabled in coreutils and it's failing as realloc is returning NULL as

New way to integrate gnulib into projects?

2021-05-15 Thread Simon Josefsson via Gnulib discussion list
Hi. There are a couple of different ways to use gnulib in projects: https://www.gnu.org/software/gnulib/manual/html_node/VCS-Issues.html At some point in some project I've used all variants, but today most of my projects are converted into not commiting any gnulib files at all and use gnulib's b