* bug#32425: build fails due to undefined reference to mpz_roinit_n
@ 2018-08-11 22:45 Glenn Morris
2018-08-12 0:51 ` Tom Tromey
0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2018-08-11 22:45 UTC (permalink / raw)
To: 32425; +Cc: tom
Package: emacs
Version: 27.0.50
Since 78ec68e, builds on hydra.nixos.org fail with:
alloc.o: In function `make_pure_bignum':
alloc.c:5570: undefined reference to `mpz_roinit_n'
A quick search suggests this function was added in gmp 6.
hydra is using gmp 5.1.3.
There is no gmp version test in configure.ac, and no option to force use
of mini-gmp.
This suggests builds on eg RHEL6 would fail in the same way.
Ref eg https://hydra.nixos.org/build/79486113
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#32425: build fails due to undefined reference to mpz_roinit_n
2018-08-11 22:45 bug#32425: build fails due to undefined reference to mpz_roinit_n Glenn Morris
@ 2018-08-12 0:51 ` Tom Tromey
0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2018-08-12 0:51 UTC (permalink / raw)
To: Glenn Morris; +Cc: tom, 32425
>>>>> "GM" == Glenn Morris <rgm@gnu.org> writes:
GM> Since 78ec68e, builds on hydra.nixos.org fail with:
GM> alloc.o: In function `make_pure_bignum':
GM> alloc.c:5570: undefined reference to `mpz_roinit_n'
This was fixed here:
commit da7fc851dc21342bd8f33f92771fe78087b73e35
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Sat Aug 11 16:27:52 2018 -0700
Reject old libgmp that lack mpz_roinit_n
* configure.ac (HAVE_GMP): Port to RHEL 6.9, which has
libgmp 3.5, which predates mpz_roinit_n.
Tom
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-12 0:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-11 22:45 bug#32425: build fails due to undefined reference to mpz_roinit_n Glenn Morris
2018-08-12 0:51 ` Tom Tromey
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.