[bug#78433] [PATCH] Search for gcc-ar

2025-05-15 Thread Sam James
Karl Berry writes: > Hi Sam, Hi Karl, > > but how does this look in principle? > > -AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) > +AC_CHECK_TOOLS([AR], [gcc-ar ar lib "link -lib"], [false]) > > Seems about as simple a change as it could be. Assuming that gcc-ar > behaves lik

[bug#78433] [PATCH] Search for gcc-ar

2025-05-14 Thread Sam James
Sam James writes: > GCC requires `ar` to have plugin support when using LTO. While the situation > has improved as many distributions install the GCC plugin to a location > that GNU Binutils can automatically find, this isn't required and isn't done > by default. > &

[bug#78433] [PATCH] Search for gcc-ar

2025-05-14 Thread Sam James
GCC requires `ar` to have plugin support when using LTO. While the situation has improved as many distributions install the GCC plugin to a location that GNU Binutils can automatically find, this isn't required and isn't done by default. By searching for `gcc-ar` first, we can make this case work

[bug#71425] test: Accommodate C23 compilers.

2024-06-08 Thread Sam James
Collin Funk writes: > In the yacc test I see warnings like this: > > main.c:4:10: error: implicit declaration of function ‘yyparse’ > [-Wimplicit-function-declaration] > 4 | return yyparse (); > | ^~~ > > and some for yylex which is declared, but with an empty parameter

[bug#61240] improve high-res file timestamp in Automake

2023-02-04 Thread Sam James
> On 5 Feb 2023, at 00:02, Jacob Bachmeyer wrote: > > Paul Eggert wrote: >> On 2023-02-03 18:27, Jacob Bachmeyer wrote: >>> Where are you actually using a 5.10 feature? >> >> Where lib/Automake/FileUtils.pm says "use Time::HiRes qw(stat);". This does >> not work with Perl 5.6. > > Time::HiRe

[bug#59991] [PATCH 0/2] Port tests to modern C

2022-12-12 Thread Sam James
> On 12 Dec 2022, at 22:57, Karl Berry wrote: >Another patch dedicated to Flex related tests will follow. > > Just wondering again, is an upstream flex still actively maintained by > anyone, anywhere? Looks like https://github.com/westes/flex was touched > 6 months ago, so that's good, but