I wonder how your arm64/aarch64 build worked, as for me in fails in building gc,
with "The collector has not been ported to this machine/OS combination"
(the gc bundled with Sage is kind of old, though, it's 7.2f).
I tried building Sage 8.1.beta3 on Pinebook (https://www.pine64.org/?page_id=3707)
We also saw that we need to update tachyon to 0.99b6, see
https://trac.sagemath.org/ticket/23712
It appears that Debian autotools patches have a bug that only manifests itself in a non-Debian setup. As these are meant to be upstreamed, it's probably a true Debian bug, see
https://trac.sagemath.org/ticket/23712#comment:9
Not sure how and if this should be properly reported.
Thanks,
Dima
OK, so these to be upstreamed patches either need gnulib installed, or
AM_CONDITIONAL([HAVE_LD_VERSION_SCRIPT], ... ) I mentioned above,
or some other way to deal with this issue, perhaps dropping LD_VERSION_SCRIPT
all together, right?
With the AM_CONDITIONAL() added, I am sort of able to do the rest, by
./configure --prefix=$SAGE_LOCAL --with-libflavour=serial
where the latter is needed for tachyon executables to be built, as
configure.ac says
+bin_PROGRAMS =
+man_MANS =
+if LIBFLAVOUR_IS_SERIAL
+bin_PROGRAMS += tachyon-nox tachyon-ogl
+man_MANS += tachyon-nox.1 tachyon-ogl.1
+endif
This strikes me as a bit strange, as surely the executable would work
in the multithreaded setting too, no?
Could you comment on this?
In fact, I see that on Debian the corresponding executable is linked to
libpthread, while out of Debian I only (unsurprisingly) get an executable which is not linked to libpthread, and thus, I presume, single-threaded. So there is some Debian-only building mechanism in action here...
Thanks,
Dima
Could you test for me whether in your setup with gc-7.4.2 (patched, or not) you don't hit this,
https://trac.sagemath.org/ticket/23700#comment:11
sage: from sage.libs.ecl import *
sage: sage.interfaces.maxima_lib import <TAB>
results in segfaults for all gc versions I tried on Linux (Fedora 26) which are younger than gc-7.2f.
Thanks,
Dima
how about https://trac.sagemath.org/ticket/22766 ?
(note that to trigger this you might need to delete ~/.sage/maxima_commandlist_cache.sobj
- or whatever the Debian equavalent of it is)
> To see the patches applied to gc in that version you can look into this
> file:
> http://http.debian.net/debian/pool/main/libg/libgc/libgc_7.4.2-8.debian.tar.xz
I guess you are doing something to IPython - namely, disabling running tab completion in a separate thread, no?
Thanks,
Dima