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 ../../mpn/m4-ccas --m4="m4" gcc -mabi=32 -std=gnu99 -c -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_`echo add_n | sed 's/_$//'` -I/home/haible/prefixel32/include -Wall -O2 -pedantic `test -f 'add_n.asm' || echo '../../mpn/'`add_n.asm libtool: compile: ../../mpn/m4-ccas --m4=m4 gcc -mabi=32 -std=gnu99 -c -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_add_n -I/home/haible/prefixel32/include -Wall -O2 -pedantic add_n.asm -fPIC -DPIC -o .libs/add_n.o m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DPIC add_n.asm >tmp-add_n.s gcc -mabi=32 -std=gnu99 -c -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_add_n -I/home/haible/prefixel32/include -Wall -O2 -pedantic tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o 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,$7,-1' tmp-add_n.s:62: Error: opcode not supported on this processor: mips2 (mips2) `dsubu $7,$7,$9' tmp-add_n.s:69: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:70: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:72: Error: opcode not supported on this processor: mips2 (mips2) `daddiu $7,$7,-1' tmp-add_n.s:77: Error: opcode not supported on this processor: mips2 (mips2) `dsubu $7,$7,$9' tmp-add_n.s:79: Error: opcode not supported on this processor: mips2 (mips2) `daddiu $9,$9,-1' tmp-add_n.s:80: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:81: Error: opcode not supported on this processor: mips2 (mips2) `daddu $11,$11,$2' tmp-add_n.s:82: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:84: Error: opcode not supported on this processor: mips2 (mips2) `daddu $11,$10,$11' tmp-add_n.s:86: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:89: Error: opcode not supported on this processor: mips2 (mips2) `daddiu $5,$5,8' tmp-add_n.s:90: Error: opcode not supported on this processor: mips2 (mips2) `daddiu $6,$6,8' tmp-add_n.s:94: Error: opcode not supported on this processor: mips2 (mips2) `daddiu $4,$4,8' tmp-add_n.s:99: Error: opcode not supported on this processor: mips2 (mips2) `daddiu $7,$7,-4' tmp-add_n.s:101: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:102: Error: opcode not supported on this processor: mips2 (mips2) `daddu $11,$11,$10' tmp-add_n.s:103: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:105: Error: opcode not supported on this processor: mips2 (mips2) `daddu $11,$11,$2' tmp-add_n.s:107: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:110: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:111: Error: opcode not supported on this processor: mips2 (mips2) `daddu $13,$13,$12' tmp-add_n.s:112: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:114: Error: opcode not supported on this processor: mips2 (mips2) `daddu $13,$13,$2' tmp-add_n.s:116: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:119: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:120: Error: opcode not supported on this processor: mips2 (mips2) `daddu $11,$11,$10' tmp-add_n.s:121: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:123: Error: opcode not supported on this processor: mips2 (mips2) `daddu $11,$11,$2' tmp-add_n.s:125: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:128: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:129: Error: opcode not supported on this processor: mips2 (mips2) `daddu $13,$13,$12' tmp-add_n.s:130: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:132: Error: opcode not supported on this processor: mips2 (mips2) `daddu $13,$13,$2' tmp-add_n.s:134: Warning: macro instruction expanded into multiple instructions tmp-add_n.s:137: Error: opcode not supported on this processor: mips2 (mips2) `daddiu $5,$5,32' tmp-add_n.s:138: Error: opcode not supported on this processor: mips2 (mips2) `daddiu $6,$6,32' tmp-add_n.s:141: Error: opcode not supported on this processor: mips2 (mips2) `daddiu $4,$4,32' tmp-add_n.s:143: Error: opcode not supported on this processor: mips2 (mips2) `daddu $11,$11,$2' tmp-add_n.s:145: Error: opcode not supported on this processor: mips2 (mips2) `daddu $11,$10,$11' tmp-add_n.s:147: Warning: macro instruction expanded into multiple instructions Makefile:768: recipe for target 'add_n.lo' failed make[2]: *** [add_n.lo] Error 1 I did not specify an ABI variable to configure, because the documentation section 'ABI and ISA' does not specify any value values for Linux/mips. Bruno _______________________________________________ gmp-bugs mailing list [email protected] https://gmplib.org/mailman/listinfo/gmp-bugs
