Report of failure in building GMP

Leif Leonhardy not.really at online.de
Thu Apr 30 22:29:37 UTC 2015


Marc Glisse wrote:
> On Thu, 30 Apr 2015, H.Hiro wrote:
>> /bin/bash: 5 行: 30807 Illegal instruction     ${dir}$tst
>> FAIL: t-get_d
> [...]
>> /bin/bash: 5 行: 31523 Illegal instruction     ${dir}$tst
>> FAIL: t-div
>> /bin/bash: 5 行: 31546 Illegal instruction     ${dir}$tst
>> FAIL: t-bdiv
> [...]

Well, this pretty much smells like running in a VM that doesn't support
or allow AVX instructions (Jaguar /does/ support).

(Exactly the same tests failed with SIGILL recently in a Xen 4.1 VM
where AVX was disabled, or more precisely, not enabled [1] [2].)


-leif


P.S.:

If you try a *snapshot* as Marc suggested, you could try configuring with

  ./configure --prefix=$HOME/local --build=jaguarnoavx-linux-gnu

in order to suppress AVX instructions; unfortunately this does *not*
work with the /stable/ (6.0.0) release [3].


[1] http://permalink.gmane.org/gmane.linux.lfs.devel/16064

[2] https://gmplib.org/list-archives/gmp-bugs/2015-April/003620.html

[3] https://gmplib.org/list-archives/gmp-bugs/2015-April/003641.html



More information about the gmp-bugs mailing list