On Tue, Jun 22, 2021 at 11:57 PM Volker Braun <vbraun.n...@gmail.com> wrote: > > I'm running Fedora 34 and 9.4.beta3 builds fine (x86_64). It did compile the > included gcc. > > > > > On Tuesday, June 22, 2021 at 11:50:00 PM UTC+2 dim...@gmail.com wrote: >> >> >> >> On Tue, 22 Jun 2021, 22:16 Kazuyoshi Furutaka, <furutaka....@gmail.com> >> wrote: >>> >>> On the other hand, build of gcc-10.3 failed. Then, what to do? >> >> >> use another compiler. >> e.g. you can use clang >> >> dnf install clang >> >> then run Sages configure as follows >> >> CC=clang CXX=clang++ ./configure >> >> and then >> >> make >> >> >> This configuration is not tested much on Linux, but on macOS this is the >> compiler used in our builds.
such a configuration is able to build Sage on Fedora 32, and only one doctest fails. It uses clang 10.0.1. >> >> >>> >>> Kazuyoshi >>> >>> 2021年6月23日(水) 5:40 Dima Pasechnik <dim...@gmail.com>: >>>> >>>> Sage is not yet ready to be built with gcc 11, see >>>> https://trac.sagemath.org/ticket/31786 >>>> >>>> On Tue, Jun 22, 2021 at 8:36 PM Kazuyoshi Furutaka >>>> <furutaka....@gmail.com> wrote: >>>> > >>>> > >>>> > >>>> > 2021年6月23日(水) 0:06 Dima Pasechnik <dim...@gmail.com>: >>>> >> >>>> >> On Tue, Jun 22, 2021 at 3:45 PM Kazuyoshi Furutaka >>>> >> <furutaka....@gmail.com> wrote: >>>> >> [...] >>>> >> > First of all, I'd like to let you know that on Fedora-34 (x86_64), >>>> >> > the simple build (configured with --prefix only) of prestine >>>> >> > gcc-10.3.0 fails without the static version of libstdc++ library >>>> >> > (please read this thread for details). >>>> >> > >>>> >> > On Fedora-33 systems, it can build without libstdc++.a; I've tried to >>>> >> > investigate the reason but couldn't figure out yet. >>>> >> > >>>> >> > Then, even on a Fedora-34 (x86_64) system WITH libstdc++.a, the build >>>> >> > of Sage 9.4.beta3 fails; the build of gcc-10.3.0 failed due to >>>> >> > "gcc-multilib-multiarch.patch": without it, the build of gcc >>>> >> > succeeds. I'll attach the log of the failed gcc build. >>>> >> > On Fedora, >>>> >> > MULTILIB_OSDIRNAMES = m64=../lib64 m32=../lib mx32=../libx32 >>>> >> > instead of >>>> >> > MULTILIB_OSDIRNAMES = m64=../lib m32=../lib32 mx32=../libx32 >>>> >> > >>>> >> > Sorry for just a report; I could not yet figure out how to resolve >>>> >> > this issue (modify the patch). >>>> >> >>>> >> it is not clear what you are trying to do. >>>> >> >>>> >> The reasons gcc is included as a package in Sage are mostly >>>> >> historical; I don't think there are many current use cases for it, >>>> >> and I think it actually should be removed. >>>> >> Fortunately there are enough options nowadays to source C/C++/Fortran >>>> >> compilers elsewhere. >>>> >> (at most, Sage might need to add some C,C++,Fortran flags) >>>> >> >>>> >> HTH, >>>> >> Dima >>>> > >>>> > >>>> > I once post a reply but it seems to disappear... >>>> > >>>> > I just want to build Sage from source. >>>> > The sage-build try to build GCC and a huge number of its dependent >>>> > packages though they're already on my system as rpm packages because GCC >>>> > on Fedora is TOO NEW. >>>> > So I'm very happy if someone modify the build system to avoid the >>>> > time-consuming build of GCC and its dependent! >>>> > >>>> > Yours, >>>> > Kazuyoshi >>>> > -- >>>> > Kazuyoshi Furutaka >>>> > >>>> > -- >>>> > 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+...@googlegroups.com. >>>> > To view this discussion on the web visit >>>> > https://groups.google.com/d/msgid/sage-devel/CANjERvf_M%3DDf25S3HKvkPhzXMxNEXGRcAbtUSU6g0J2UG6Q3CQ%40mail.gmail.com. >>>> >>>> -- >>>> 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+...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq2g68RNyD6L6jw2d_XNtOrdrqc8K3TvoMcU_H9iVXRPLQ%40mail.gmail.com. >>> >>> >>> >>> -- >>> Kazuyoshi Furutaka >>> >>> -- >>> 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+...@googlegroups.com. >>> >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sage-devel/CANjERveKpCrg%2BhJ-Expdkx5is-Jy7ehhhmmw3buWzcBpPL9o7w%40mail.gmail.com. > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/a2dc0758-8dd3-4b59-aa28-27d9d2f5e461n%40googlegroups.com. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1fx%2BZ%3DPkJAH5COFtSs-3Y3oHeSyssRTTn84SXZ%3DgS5Qw%40mail.gmail.com.