Version 4 (modified by Jean-Pierre Flori, 9 years ago) (diff)


I'll put some info here on what I needed to build Sage on some exotic archs.

Sage 5.13

Raspberry Pi running Raspbian (armv6 with hard floats)

  • Surprisingly ATLAS built without problems, surely because ATLAS tries to be smart only for ARMv7.
  • for some libs (I'd say linbox or libmari(e)) the RAM was not large enough, I had to add some swap space.
  • libmarie triggers an ICE in GCC. Lowering optimization to "-O0" solves the problem.
  • tachyon fails to build but that's just because our install script does not even try.

ARMv7 board running Ubuntu 12.04 (armv7 with hard floats)

  • ATLAS has to be tweaked to build with hard floats. Follow instructions at I also had to bypass throttling detection: modify
  • pil did not build because of libjpeg misdetection (the lib is installed, the headers aren't, so pil thinks it can include jpeg support but then compiling fails, kind of like #7273). I modified so that it does not even try to detect libjpeg.

Sun Ultrasparc T1/2 running debian/sparc (64 bit kernel, 32 bit userland, 32 bit Sage build)

  • PARI fails to build because it tries to include asm for 64 bit sparc v9 but gcc defaults to 32 bit sparc v8. Passing CFLAGS="-m32 -O3 -Wa,-xarch=v8plus -mcpu=ultrasparc -g" solves this first issue. Then it tries to feed "-mimpure-text" to gcc which is not supported on linux anymore, modify config/get_dlld (this is fixed upstream in rev b2bc4faa4).
  • tachyon will surely fail for the same stupid reason as on the raspberry pi.

Sun Ultrasparc T2 running Solaris 10 (64 bit kernel, 32 bit userland, 32 bit Sage build)