On Sat, Dec 21, 2019 at 7:59 PM 'Shing Hing Man' via sage-support <sage-support@googlegroups.com> wrote: > > My CPU is AMD Ryzen 2700X, so it is 64bit. > > I already have gcc-fortran-9-1.6.x86_64 > installed when I did the build earlier. > > After I install gcc-fortran-32bit-9-1.6.x86_64, and then do a make (on a new > sage-8.9 folder) , the error on gfortran disappeared and sage has built.
but why do you need a 32-bit gfortran? Is something getting misconfigured? Could you post the output of Sage's config.log if you use the "normal" gfortran? Thanks. > > Thank you for your assistance ! > > Shing > > > > On Saturday, December 21, 2019 at 10:28:44 AM UTC, Dima Pasechnik wrote: >> >> Do you have a 32-bit system? >> >> Anyway, if you could install system's gfortran package it would be a way out >> of this. >> It seems your system should have gfortran version 7, the package is called >> gcc-fortran. >> >> HTH >> Dmitrii >> >> On Sat, 21 Dec 2019, 17:12 'Shing Hing Man' via sage-support, >> <sage-s...@googlegroups.com> wrote: >>> >>> Hi, >>> When I compile Sage 8.9 on Opensuse Tumbleweed, there is a problem >>> building gfortran-7.4.0 : >>> static library. */"; echo "GROUP ( libgcc_s.so.1 -lgcc )" ) > ./libgcc_s.so >>> /usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when searching >>> for -lc >>> /usr/bin/ld: i386 architecture of input file `/usr/lib/../lib/crti.o' is >>> incompatible with i386:x86-64 output >>> /usr/bin/ld: i386 architecture of input file `/usr/lib/../lib/crtn.o' is >>> incompatible with i386:x86-64 output >>> collect2: error: ld returned 1 exit status >>> make[6]: *** [Makefile:982: libgcc_s.so] Error 1 >>> make[6]: Leaving directory >>> '/home/matmsh/installed/sages/sage-8.9/local/var/tmp/sage/build/gfortran-7.4.0/gcc-build/x86_64-pc-linux-gnu/libgcc' >>> make[5]: *** [Makefile:11907: all-target-libgcc] Error 2 >>> make[5]: Leaving directory >>> '/home/matmsh/installed/sages/sage-8.9/local/var/tmp/sage/build/gfortran-7.4.0/gcc-build' >>> make[4]: *** [Makefile:878: all] Error 2 >>> make[4]: Leaving directory >>> '/home/matmsh/installed/sages/sage-8.9/local/var/tmp/sage/build/gfortran-7.4.0/gcc-build' >>> ******************************************************************************** >>> Error building gfortran-7.4.0 >>> ******************************************************************************** >>> >>> I ran >>> ./configure >>> MAKE='make -12' make >>> >>> Thanks in advance for any assistance ! >>> Shing >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "sage-support" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to sage-s...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sage-support/4f8bac3b-7301-449b-af36-8cdf22569b32%40googlegroups.com. > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/eefa66a3-e921-4c4b-9b75-5e790c48ac4d%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq3y2se-H_QRooNYXTkZBQZJVwsFCzEC1kbwjgHVyqogPw%40mail.gmail.com.