I also tried to replace core2-*-* with core*-*-* in configure:4494 (of v. 2.5.1) and add "core | " to various cases in the following two "case $host_cpu in" statements so that the configure step works, but then I always get errors like these
$ ABI=32 ../../repos/mpir-2.5.1/configure --... ... (it works) $ make ... Making all in mpn make[2]: Betrete Verzeichnis '/home/ingo/Code/builds/mpir-2.5.1/mpn' /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../repos/mpir-2.5.1/mpn -I.. -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_`echo dummy1 | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -c -o dummy1.lo dummy1.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../repos/mpir-2.5.1/mpn -I.. -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_dummy1 -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -c dummy1.c -fPIC -DPIC -o .libs/dummy1.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../repos/mpir-2.5.1/mpn -I.. -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_dummy1 -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -c dummy1.c -o dummy1.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../repos/mpir-2.5.1/mpn -I.. -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_`echo add | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -c -o add.lo add.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../repos/mpir-2.5.1/mpn -I.. -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_add -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -c add.c -fPIC -DPIC -o .libs/add.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../repos/mpir-2.5.1/mpn -I.. -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_add -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -c add.c -o add.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../repos/mpir-2.5.1/mpn -I.. -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_`echo add_1 | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -c -o add_1.lo add_1.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../repos/mpir-2.5.1/mpn -I.. -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_add_1 -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -c add_1.c -fPIC -DPIC -o .libs/add_1.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../repos/mpir-2.5.1/mpn -I.. -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_add_1 -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -c add_1.c -o add_1.o >/dev/null 2>&1 /bin/bash ../libtool --mode=compile --tag=CC ../../../repos/mpir-2.5.1/mpn/m4-ccas --m4="m4" gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_`echo add_n | sed 's/_$//'` -I. -I../../../repos/mpir-2.5.1/mpn -I.. `test -f 'add_n.asm' || echo '../../../repos/mpir-2.5.1/mpn/'`add_n.asm libtool: compile: ../../../repos/mpir-2.5.1/mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_add_n -I. -I../../../repos/mpir-2.5.1/mpn -I.. 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 -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer -mtune=i486 -march=i486 -D__GMP_WITHIN_GMP -I../../../repos/mpir-2.5.1 -DOPERATION_add_n -I. -I../../../repos/mpir-2.5.1/mpn -I.. tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o tmp-add_n.s: Assembler messages: tmp-add_n.s:62: Error: invalid character '(' in mnemonic tmp-add_n.s:63: Error: invalid character '(' in mnemonic tmp-add_n.s:64: Error: invalid character '(' in mnemonic tmp-add_n.s:65: Error: invalid character '(' in mnemonic tmp-add_n.s:66: Error: invalid character '(' in mnemonic tmp-add_n.s:78: Error: junk `FRAME_pushl()' after register tmp-add_n.s:79: Error: junk `FRAME_pushl()' after register tmp-add_n.s:110: Error: junk `FRAME_pushl()' after register tmp-add_n.s:113: Error: junk `FRAME_popl()' after register tmp-add_n.s:128: Error: junk `FRAME_pushl()' after register tmp-add_n.s:129: Error: junk `FRAME_pushl()' after register tmp-add_n.s:160: Error: junk `FRAME_pushl()' after register tmp-add_n.s:163: Error: junk `FRAME_popl()' after register Patched or unpatched (why does sage need these patches btw?) and version doesn't matter. I can't even build the i486 version. What is the meaning of this? $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2050 @ 1.60GHz stepping : 8 microcode : 0x39 cpu MHz : 800.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts aperfmperf pni monitor est tm2 xtpr pdcm dts bogomips : 3200.33 clflush size : 64 cache_alignment : 64 address sizes : 32 bits physical, 32 bits virtual power management: ... [same for processor: 1] GCC detects my CPU as a Pentium-M (it is not listed for -march on http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html) $ gcc -march=native -c test.c -v /usr/lib/gcc/i686-linux-gnu/4.6/cc1 -quiet -v -imultilib . -imultiarch i386-linux-gnu test.c -march=pentium-m -mno-cx16 -mno-sahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic -quiet -dumpbase test.c -auxbase test -version -fstack-protector -o /tmp/ccD4waJW.s Tell me if you need/want additional information/logfiles. -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org