Ok, i have gone with a new attepmt, compiling sage in the phone itself. What i did is to install the easy-deb-chroot package (it basically mounts a disk image with a debian-arm system, and chroots into it). Then i installed in that echroot environment the needed tools (build- essential, m4 and gfortran),and tried to compile sage.
As before, the compilation process went on for several hours, but at some point, it crashed with the following output: Finished extraction **************************************************** Host system uname -a: Linux Nokia-N900-42-11 2.6.28-omap1 #1 PREEMPT Thu Dec 17 09:40:52 EET 2009 armv7l GNU/Linux **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: arm-linux-gnueabi Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.4-6' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs -- enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable- shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable- threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug -- enable-objc-gc --enable-mpfr --disable-sjlj-exceptions --enable- checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi -- target=arm-linux-gnueabi Thread model: posix gcc version 4.3.4 (Debian 4.3.4-6) **************************************************** Platform detected to be 32 bits system_atlas.py:6: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module. fortran = os.popen2(os.environ['SAGE_LOCAL']+'/bin/'+'which_fortran') [1].read() perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_PAPER = "es_ES", LC_ADDRESS = "es_ES", LC_MONETARY = "es_ES", LC_NUMERIC = "es_ES", LC_TELEPHONE = "es_ES", LC_MESSAGES = "es_ES", LC_IDENTIFICATION = "es_ES", LC_MEASUREMENT = "es_ES", LC_TIME = "es_ES", LC_NAME = "es_ES", LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). /sage-4.3.1/spkg/build/atlas-3.8.3.p10 Deal with PPC4 7447 model and Itanium 2 Updating archinfo_x86.c Updating probe_comp.c Updating Make.top make[2]: Entering directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' gcc -I/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src// CONFIG/include -g -w -c /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS- build/../src//CONFIG/src/atlconf_misc.c gcc -I/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src// CONFIG/include -g -w -o xconfig /sage-4.3.1/spkg/build/ atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/config.c atlconf_misc.o atlconf_misc.o: In function `CmndResults': /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ atlconf_misc.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' ./xconfig -d s /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../ src/ -d b /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build -Ss flapack /sage-4.3.1/local/lib/liblapack.a -Si cputhrchk 0 -Fa alg - fPIC -t 0 -C if /sage-4.3.1/local/bin/sage_fortran -b 32 atlconf_misc.o: In function `CmndResults': /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ atlconf_misc.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp' atlconf_misc.o: In function `CmndResults': /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ atlconf_misc.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[3]: *** [atlas_run] Error 1 make[2]: *** [IRun_asm] Error 2 atlconf_misc.o: In function `CmndResults': /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ atlconf_misc.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp' atlconf_misc.o: In function `CmndResults': /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ atlconf_misc.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S: Assembler messages: /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:30: Error: bad instruction `subl $8,%esp' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:31: Error: bad instruction `movl %ebx,(%esp)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:32: Error: bad instruction `movl %edi,4(%esp)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:36: Error: bad instruction `movl 16(%esp),%eax' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:37: Error: bad instruction `cpuid' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:41: Error: bad instruction `movl 12(%esp),%edi' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:42: Error: bad instruction `movl %eax,(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:43: Error: bad instruction `movl %ebx,4(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:44: Error: bad instruction `movl %ecx,8(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:45: Error: bad instruction `movl %edx,12(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:49: Error: bad instruction `movl (%esp),%ebx' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:50: Error: bad instruction `movl 4(%esp),%edi' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:51: Error: bad instruction `addl $8,%esp' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:52: Error: bad instruction `ret' make[4]: *** [xarchinfo_x86] Error 1 atlconf_misc_BE.o: In function `CmndResults': /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ atlconf_misc.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S: Assembler messages: /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:30: Error: bad instruction `subl $8,%esp' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:31: Error: bad instruction `movl %ebx,(%esp)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:32: Error: bad instruction `movl %edi,4(%esp)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:36: Error: bad instruction `movl 16(%esp),%eax' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:37: Error: bad instruction `cpuid' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:41: Error: bad instruction `movl 12(%esp),%edi' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:42: Error: bad instruction `movl %eax,(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:43: Error: bad instruction `movl %ebx,4(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:44: Error: bad instruction `movl %ecx,8(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:45: Error: bad instruction `movl %edx,12(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:49: Error: bad instruction `movl (%esp),%ebx' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:50: Error: bad instruction `movl 4(%esp),%edi' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:51: Error: bad instruction `addl $8,%esp' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:52: Error: bad instruction `ret' make[4]: *** [xarchinfo_x86] Error 1 /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S: Assembler messages: /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:30: Error: bad instruction `subl $8,%esp' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:31: Error: bad instruction `movl %ebx,(%esp)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:32: Error: bad instruction `movl %edi,4(%esp)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:36: Error: bad instruction `movl 16(%esp),%eax' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:37: Error: bad instruction `cpuid' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:41: Error: bad instruction `movl 12(%esp),%edi' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:42: Error: bad instruction `movl %eax,(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:43: Error: bad instruction `movl %ebx,4(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:44: Error: bad instruction `movl %ecx,8(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:45: Error: bad instruction `movl %edx,12(%edi)' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:49: Error: bad instruction `movl (%esp),%ebx' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:50: Error: bad instruction `movl 4(%esp),%edi' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:51: Error: bad instruction `addl $8,%esp' /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ backend/cpuid.S:52: Error: bad instruction `ret' make[4]: *** [xarchinfo_x86] Error 1 It appears you have cpu throttling enabled, which makes timings unreliable and an ATLAS install nonsensical. Aborting. See ATLAS/INSTALL.txt for further information Ignoring CPU throttling by user override! make[2]: Entering directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' gcc -I/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src// CONFIG/include -g -w -c /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS- build/../src//CONFIG/src/probe_comp.c gcc -I/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src// CONFIG/include -g -w -o xprobe_comp probe_comp.o atlconf_misc.o atlconf_misc.o: In function `CmndResults': /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src//CONFIG/src/ atlconf_misc.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp' rm -f config1.out make atlas_run atldir=/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS- build exe=xprobe_comp args="-v 0 -o atlconf.txt -O 1 -A 0 -Si nof77 0 -Fa ic '-fPIC' -Fa sm '-fPIC' -Fa dm '-fPIC' -Fa sk '-fPIC' -Fa dk '- fPIC' -Fa xc '-fPIC' -C if '/sage-4.3.1/local/bin/sage_fortran' -Fa if '-fPIC' -b 32" \ redir=config1.out make[3]: Entering directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' cd /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build ; ./xprobe_comp - v 0 -o atlconf.txt -O 1 -A 0 -Si nof77 0 -Fa ic '-fPIC' -Fa sm '- fPIC' -Fa dm '-fPIC' -Fa sk '-fPIC' -Fa dk '-fPIC' -Fa xc '-fPIC' -C if '/sage-4.3.1/local/bin/sage_fortran' -Fa if '-fPIC' -b 32 > config1.out cc1: error: unrecognized command line option "-m32" make[4]: *** [IRunCComp] Error 1 Unable to find usable compiler for ICC; abortingMake sure compilers are in your path, and specify good compilers to configure (see INSTALL.txt or 'configure --help' for details)make[3]: *** [atlas_run] Error 1 make[3]: Leaving directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' make[2]: *** [IRun_comp] Error 2 make[2]: Leaving directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' xconfig: /sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src// CONFIG/src/config.c:125: ProbeComp: Assertion `!system(ln)' failed. OS configured as Linux (1) Bad ASM value=0, ierr=1, ln2='' Assembly configured as (0) Bad VECFLAG value=0, ierr=0, ln2='VECFLAG=0 ' Vector ISA Extension configured as (0,0) Bad MACHTYPE value=0, ierr=0, ln2='MACHTYPE=0 ' Architecture configured as UNKNOWN (0) Bad CPU MHZ value=0, ierr=0, ln2='CPU MHZ=0 ' Clock rate configured as 0Mhz CPU Throttling apparently enabled! /bin/sh: line 1: 5640 Aborted ./xconfig -d s / sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build/../src/ -d b / sage-4.3.1/spkg/build/atlas-3.8.3.p10/ATLAS-build -Ss flapack / sage-4.3.1/local/lib/liblapack.a -Si cputhrchk 0 -Fa alg -fPIC -t 0 -C if /sage-4.3.1/local/bin/sage_fortran -b 32 xconfig exited with 134 make[2]: Entering directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' make -f Make.top build make[3]: Entering directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' make[3]: Make.top: No such file or directory make[3]: *** No rule to make target `Make.top'. Stop. make[3]: Leaving directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' make[2]: *** [build] Error 2 make[2]: Leaving directory `/sage-4.3.1/spkg/build/atlas-3.8.3.p10/ ATLAS-build' Failed to build ATLAS. Failed to build ATLAS. real 0m46.501s user 0m16.258s sys 0m6.867s sage: An error occurred while installing atlas-3.8.3.p10 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /sage-4.3.1/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /sage-4.3.1/spkg/build/atlas-3.8.3.p10 and type 'make check' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/sage-4.3.1/spkg/build/atlas-3.8.3.p10' && '/sage-4.3.1/sage' - sh) When you are done debugging, you can type "exit" to leave the subshell. make[1]: *** [installed/atlas-3.8.3.p10] Error 1 make[1]: Leaving directory `/sage-4.3.1/spkg' real 1m25.222s user 0m35.258s sys 0m9.250s Error building Sage. -- 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