bug#50972: src/ls.c fails to build when __GNUC_PREREQ is not defined (e.g., OpenBSD)

2021-10-02 Thread Brian Callahan
Hello -- I am the GNU coreutils package maintainer for OpenBSD. While updating the OpenBSD package to 9.0, the build errored out while compiling src/ls.c with the following error message: src/ls.c:2276:6: error: function-like macro '__GNUC_PREREQ' is not defined I noticed that there are som

bug#50972: src/ls.c fails to build when __GNUC_PREREQ is not defined (e.g., OpenBSD)

2021-10-03 Thread Brian Callahan
Hi Paul -- On 10/02/2021 10:07 PM, Paul Eggert wrote: The first patch listed above should fix the problem you mentioned; you might want to look at the other patches as well. Much appreciated. Can confirm the tip of the tree builds OOTB now. By the way, how do you deal with all those false p

bug#50972: src/ls.c fails to build when __GNUC_PREREQ is not defined (e.g., OpenBSD)

2021-10-03 Thread Brian Callahan
On 10/03/2021 01:42 PM, Paul Eggert wrote: On 10/2/21 8:14 PM, Brian Callahan wrote: I can send you a build log offlist if you'd like to see what the 7.0 build looks like. It sounds like the more-recent clang has fixed most of the false alarms. It'd probably be a more-efficient