On Fedora 28 (another gcc-8 system) Dario (my student) also had problem with building python3, as we were getting a broken crypt module. A remedy he found, after a lot of debugging, was to backport the patch from https://bugs.python.org/issue28503 (which uses crypt_r if available)
On Thursday, May 17, 2018 at 7:23:30 AM UTC+1, vdelecroix wrote: > > Dear F, > > Thanks! > > For Python 2.7-14 we will be switching for 2.7-15 that does cause any > trouble with GCC 8.1.0. See [1]. > > For linbox, there is at least [2] opened (but no patch for the moment). > > BTW, when I did build Sage with 8.1.0 few times ago I also had troubles > with fflas that you do not mention (complaints about "const void"). > > [1] https://trac.sagemath.org/ticket/25204 > [2] https://trac.sagemath.org/ticket/25353 > > Vincent > > On 17/05/2018 04:59, fidelbc wrote: > > Hello all, > > > > Wanted to leave this note for anybody running into gcc8 compiling > issues. > > This was built on archlinux using their gcc 8.1.0-1 package. Fortunately > > there are fixes floating around, please see attached patches. > > > > - Python-2.7.14 > > > > Error (sorry for the lack of details, lost the log file:-/ ): > > /bin/sh: line 5: 25857 Segmentation fault (core dumped) ... > > Fix: > > Place attached patch gcc8_python.patch (also available at [1]) under > > $SAGEDIR/build/pkgs/python2/patches. I guess this is now fixed at > 2.7.15, > > see [2]. > > > > > > - linbox-1.5.2 > > > > Error: > > ../../linbox/matrix/densematrix/blas-transposed-matrix.h:74:8: error: > too > > many template-parameter-lists > > class TransposedBlasMatrix< TransposedBlasMatrix< Matrix > > : public > > Matrix { > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fix: > > Place attached patch gcc8_linbox.patch (also available at [3]) under > > $SAGEDIR/build/pkgs/linbox/patches > > > > Best, > > f > > > > [1]: > https://mail.python.org/pipermail/python-dev/2018-January/152011.html > > [2]: > > > https://github.com/python/cpython/commit/0b91f8a668201fc58fa732b8acc496caedfdbae0 > > > [3]: > > > https://git.archlinux.org/svntogit/community.git/tree/trunk/linbox-gcc8.patch?h=packages/linbox > > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.