I've encountered similar, but different, problems on a different Linux system. Opened https://trac.sagemath.org/ticket/27907 for this.
On Tuesday, May 28, 2019 at 10:15:08 AM UTC-7, Dima Pasechnik wrote: > > On Tue, May 28, 2019 at 6:43 PM Christian Stump > <christi...@gmail.com <javascript:>> wrote: > > > > > well, building gcc 7 with a 7-years old complier (gcc version 4.4.7 > > > 20120313 (Red Hat 4.4.7-23), as the log says) > > > probably not possible. > > > Do they have something newer installed? > > > > They did install for me both gcc-7.2.0 (didn't work) and gcc-7.3.0 > (didn't work either). > > > > Let me emphasize again that their setup (with the old gcc 4.x.x) let me > compile a fresh sage-8.6 without any trouble, only when trying sage-8.7, > the error occurs. Doesn't that suggest that the issue is not the old > compiler? > > > the final error in your gcc build log : > > /lib/crti.o: could not read symbols: File in wrong format > > suggests that something is messed up w.r.t. 32- vs 64-bit support. > It probably should have used /lib64/crti.o > > So something is dodgy with the environment on your machine (gfan error > you posted looks of the same sort). > Probably it is assumed you must have something nontrivial in LDFLAGS or > so. > (or maybe you do have something in LDFLAGS or other similar variable > that should not be there) > E.g. gfan did not link to the right libraries for no apparent reason > whatsoever. > > Since 8.6 there were several chnages in how Sage is built, e.g. in the > minimum C++ standard requied (gnu++11 now), some changes in how there > 32- vs 64-bit issues are handled, etc., this might explian why 8.6 > still works. > > > > -- > > 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-...@googlegroups.com <javascript:>. > > To post to this group, send email to sage-...@googlegroups.com > <javascript:>. > > Visit this group at https://groups.google.com/group/sage-devel. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/d41ea0d0-d463-4d93-8895-7a4a17802716%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/0fdc02f3-be20-48a8-a148-b88908a935fe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.