Re: building in 32-bit mode on Linux/s390x produces 64-bit mode binaries

2020-06-14 Thread Torbjörn Granlund
Bruno Haible writes: On a Linux/s390x machine, a build of gmp-6.2.0, configured in the same way as dozens of other GNU packages to build 32-bit mode binaries, in fact produces 64-bit mode binaries. * The GMP version number, and if pre-packaged or patched then say so. 6.2.0,

Re: gmp 6.2.0 build failure in 32-bit mode on Linux/mips

2020-06-14 Thread Torbjörn Granlund
Bruno Haible writes: No options, just './configure'. The environment variable CC is set to 'cc -xarch=v9', as recommended in https://gmplib.org/manual/ABI-and-ISA . No, the manual certainly does NOT recommended that. No, it doesn't say that I *must* set ABI. Er? I think the

[SOLVED] gmp 6.2.0 build failure in 32-bit mode on Linux/mips

2020-06-14 Thread Bruno Haible
I wrote: > tmp-add_n.s: Assembler messages: > tmp-add_n.s:54: Warning: macro instruction expanded into multiple instructions > tmp-add_n.s:55: Warning: macro instruction expanded into multiple instructions > tmp-add_n.s:57: Error: opcode not supported on this processor: mips2 (mips2) > `daddiu

Re: gmp 6.2.0 test failures on sparc64-solaris10

2020-06-14 Thread Bruno Haible
Marc Glisse wrote: > > * The ‘configure’ options you used when building GMP, if any. > > > > No options, just './configure'. > > The environment variable CC is set to 'cc -xarch=v9', as recommended in > > https://gmplib.org/manual/ABI-and-ISA . > > ? > The manual says to set ABI to 64. No, it

Re: gmp 6.2.0 build failure in 32-bit mode on Linux/mips

2020-06-14 Thread Bruno Haible
Niels Möller wrote: > Please set "ABI" on the configure command line. The manual https://gmplib.org/manual/ABI-and-ISA does not list any allowed values for ABI on Linux/mips. > Adding ABI-changing > flags to CC causes confusion (even if it works fine with other packages, > and possibly for gmp

Re: gmp 6.2.0 build failure in 32-bit mode on Linux/mips

2020-06-14 Thread Niels Möller
Bruno Haible writes: > I've read the first 10 lines of that chapter again, and I cannot see the > solution of the adventure game through which you want to chase me. Please set "ABI" on the configure command line. Adding ABI-changing flags to CC causes confusion (even if it works fine with other