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 documentat

[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 $7,

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 to

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

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

2020-06-13 Thread Bruno Haible
Torbjörn Granlund wrote: > In the section "Build Options" it mentions the possibility to set the CC > variable. I've built many packages with this setting of CC. > > The section "ABI and ISA" has a subsection "MIPS under IRIX 6" but > no section regarding Linux/MIPS. > > Please just read

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

2020-06-13 Thread Torbjörn Granlund
Bruno Haible writes: In the section "Build Options" it mentions the possibility to set the CC variable. I've built many packages with this setting of CC. The section "ABI and ISA" has a subsection "MIPS under IRIX 6" but no section regarding Linux/MIPS. Please just read the first 10 lin

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

2020-06-13 Thread Bruno Haible
Torbjörn Granlund wrote: > $ ../configure CC="gcc -mabi=32" > > Please see the Installing GMP chapter in the fine manual. Do you mean, VPATH builds are not supported? In the section "Build Options" it mentions the possibility to set the CC variable. I've built many packages with this setting o

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

2020-06-13 Thread Bruno Haible
Hi, On a Linux/mips64 (little-endian) machine (gcc23.fsffrance.org), a build of gmp-6.2.0 in 32-bit mode fails: $ ../configure CC="gcc -mabi=32" CPPFLAGS="-I/home/haible/prefixel32/include -Wall" LDFLAGS="-L/home/haible/prefixel32/lib" ... $ make ... /bin/bash ../libtool --mode=compile --tag=CC

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

2020-06-13 Thread Torbjörn Granlund
Bruno Haible writes: $ ../configure CC="gcc -mabi=32" Please see the Installing GMP chapter in the fine manual. Usually, checking that one follows the installation instructions is a better first step than reporting one's build failure as a bug. ;-) -- Torbjörn Please encrypt, key id 0xC86