Build failures

Niels Möller nisse at lysator.liu.se
Wed Mar 11 18:55:06 CET 2026


Torbjörn Granlund <tg at gmplib.org> writes:

> Something isn't right, there are massive failures for the nightbuilds.
>
> https://gmplib.org/devel/tm/gmp/date

After a quick look, my guess is that the C compiler has been upgraded to
a more modern version where void foo(); is the same as void foo (void);
(earlier, that was a way to declare a functions without providing a
prototype).

Based on this error message

  gmp/tests/devel/try.c: In function 'call':
  gmp/tests/tests.h:86:45: error: too many arguments to function '(calling_conventions_function = (mp_limb_t (*)(void))function, & calling_conventions)'; expected 0, have 5
     86 |   (calling_conventions_function = (function), calling_conventions)
        |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
  gmp/tests/devel/try.c:2466:17: note: in expansion of macro 'CALLING_CONVENTIONS'
   2466 |     e->retval = CALLING_CONVENTIONS (function)

>From the
https://gmplib.org/devel/tm/gmp/build/failure/plm.gmplib.org-stat:64.txt,
which version of gcc is installed on that machine?


Regards,
/Niels


-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list