Message ID | 20220529131811.481017-8-romain.naour@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [for-next,01/11] arch/Config.in.riscv: add Zicsr and Zifencei standalone extensions | expand |
On Sun, May 29, 2022 at 7:20 AM Romain Naour <romain.naour@gmail.com> wrote: > > https://gcc.gnu.org/gcc-12/changes.html > https://gcc.gnu.org/gcc-12/porting_to.html > > Tested with toolchain-builder: > https://gitlab.com/kubu93/toolchains-builder/-/pipelines/550404957 > > Signed-off-by: Romain Naour <romain.naour@gmail.com> Tested-by: James Hilliard <james.hilliard1@gmail.com> > --- > package/gcc/Config.in.host | 14 ++++++++++++++ > package/gcc/gcc.hash | 2 ++ > 2 files changed, 16 insertions(+) > > diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host > index 06f83d8f87..bcf0743b23 100644 > --- a/package/gcc/Config.in.host > +++ b/package/gcc/Config.in.host > @@ -62,6 +62,19 @@ config BR2_GCC_VERSION_11_X > depends on !BR2_archs4x_rel31 > select BR2_TOOLCHAIN_GCC_AT_LEAST_11 > > +config BR2_GCC_VERSION_12_X > + bool "gcc 12.x" > + # powerpc spe support has been deprecated since gcc 8.x. > + # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html > + depends on !BR2_powerpc_SPE > + # uClibc-ng broken on sparc due to recent gcc changes > + # that need to be reverted since gcc 8.4, 9.3 and 10.1. > + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784 > + depends on !BR2_sparc > + # ARC HS48 rel 31 only supported by gcc arc fork. > + depends on !BR2_archs4x_rel31 > + select BR2_TOOLCHAIN_GCC_AT_LEAST_12 > + > endchoice > > # libcilkrts was introduced in gcc 4.9 and removed in gcc 8.x > @@ -88,6 +101,7 @@ config BR2_GCC_VERSION > default "9.4.0" if BR2_GCC_VERSION_9_X > default "10.3.0" if BR2_GCC_VERSION_10_X > default "11.3.0" if BR2_GCC_VERSION_11_X > + default "12.1.0" if BR2_GCC_VERSION_12_X > default "arc-2020.09-release" if BR2_GCC_VERSION_ARC > > config BR2_EXTRA_GCC_CONFIG_OPTIONS > diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash > index e364be0a06..dc19c282c2 100644 > --- a/package/gcc/gcc.hash > +++ b/package/gcc/gcc.hash > @@ -6,6 +6,8 @@ sha512 dfd3500bf21784b8351a522d53463cf362ede66b0bc302edf350bb44e94418497a8b4b79 > sha512 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86 gcc-10.3.0.tar.xz > # From https://gcc.gnu.org/pub/gcc/releases/gcc-11.3.0/sha512.sum > sha512 f0be5ad705c73b84477128a69c047f57dd47002f375eb60e1e842e08cf2009a509e92152bca345823926d550b7395ae6d4de7db51d1ee371c2dc37313881fca7 gcc-11.3.0.tar.xz > +# From https://gcc.gnu.org/pub/gcc/releases/gcc-12.1.0/sha512.sum > +sha512 2121d295292814a6761edf1fba08c5f633ebe16f52b80e7b73a91050e71e1d2ed98bf17eebad263e191879561c02b48906c53faa4c4670c486a26fc75df23900 gcc-12.1.0.tar.xz > > # Locally calculated (fetched from Github) > sha512 b0853e2b1c5998044392023fa653e399e74118c46e616504ac59e1a2cf27620f94434767ce06b6cf4ca3dfb57f81d6eda92752befaf095ea5e564a9181b4659c gcc-arc-2020.09-release.tar.gz > -- > 2.35.3 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
Hello James, Le 25/06/2022 à 08:45, James Hilliard a écrit : > On Sun, May 29, 2022 at 7:20 AM Romain Naour <romain.naour@gmail.com> wrote: >> >> https://gcc.gnu.org/gcc-12/changes.html >> https://gcc.gnu.org/gcc-12/porting_to.html >> >> Tested with toolchain-builder: >> https://gitlab.com/kubu93/toolchains-builder/-/pipelines/550404957 >> >> Signed-off-by: Romain Naour <romain.naour@gmail.com> > Tested-by: James Hilliard <james.hilliard1@gmail.com> Thanks for testing but previous patches in this series seems to be holding back maintainers from merging gcc 12. If you have some time it would be nice if you can review them. Best regards, Romain >> --- >> package/gcc/Config.in.host | 14 ++++++++++++++ >> package/gcc/gcc.hash | 2 ++ >> 2 files changed, 16 insertions(+) >> >> diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host >> index 06f83d8f87..bcf0743b23 100644 >> --- a/package/gcc/Config.in.host >> +++ b/package/gcc/Config.in.host >> @@ -62,6 +62,19 @@ config BR2_GCC_VERSION_11_X >> depends on !BR2_archs4x_rel31 >> select BR2_TOOLCHAIN_GCC_AT_LEAST_11 >> >> +config BR2_GCC_VERSION_12_X >> + bool "gcc 12.x" >> + # powerpc spe support has been deprecated since gcc 8.x. >> + # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html >> + depends on !BR2_powerpc_SPE >> + # uClibc-ng broken on sparc due to recent gcc changes >> + # that need to be reverted since gcc 8.4, 9.3 and 10.1. >> + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784 >> + depends on !BR2_sparc >> + # ARC HS48 rel 31 only supported by gcc arc fork. >> + depends on !BR2_archs4x_rel31 >> + select BR2_TOOLCHAIN_GCC_AT_LEAST_12 >> + >> endchoice >> >> # libcilkrts was introduced in gcc 4.9 and removed in gcc 8.x >> @@ -88,6 +101,7 @@ config BR2_GCC_VERSION >> default "9.4.0" if BR2_GCC_VERSION_9_X >> default "10.3.0" if BR2_GCC_VERSION_10_X >> default "11.3.0" if BR2_GCC_VERSION_11_X >> + default "12.1.0" if BR2_GCC_VERSION_12_X >> default "arc-2020.09-release" if BR2_GCC_VERSION_ARC >> >> config BR2_EXTRA_GCC_CONFIG_OPTIONS >> diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash >> index e364be0a06..dc19c282c2 100644 >> --- a/package/gcc/gcc.hash >> +++ b/package/gcc/gcc.hash >> @@ -6,6 +6,8 @@ sha512 dfd3500bf21784b8351a522d53463cf362ede66b0bc302edf350bb44e94418497a8b4b79 >> sha512 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86 gcc-10.3.0.tar.xz >> # From https://gcc.gnu.org/pub/gcc/releases/gcc-11.3.0/sha512.sum >> sha512 f0be5ad705c73b84477128a69c047f57dd47002f375eb60e1e842e08cf2009a509e92152bca345823926d550b7395ae6d4de7db51d1ee371c2dc37313881fca7 gcc-11.3.0.tar.xz >> +# From https://gcc.gnu.org/pub/gcc/releases/gcc-12.1.0/sha512.sum >> +sha512 2121d295292814a6761edf1fba08c5f633ebe16f52b80e7b73a91050e71e1d2ed98bf17eebad263e191879561c02b48906c53faa4c4670c486a26fc75df23900 gcc-12.1.0.tar.xz >> >> # Locally calculated (fetched from Github) >> sha512 b0853e2b1c5998044392023fa653e399e74118c46e616504ac59e1a2cf27620f94434767ce06b6cf4ca3dfb57f81d6eda92752befaf095ea5e564a9181b4659c gcc-arc-2020.09-release.tar.gz >> -- >> 2.35.3 >> >> _______________________________________________ >> buildroot mailing list >> buildroot@buildroot.org >> https://lists.buildroot.org/mailman/listinfo/buildroot
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 06f83d8f87..bcf0743b23 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -62,6 +62,19 @@ config BR2_GCC_VERSION_11_X depends on !BR2_archs4x_rel31 select BR2_TOOLCHAIN_GCC_AT_LEAST_11 +config BR2_GCC_VERSION_12_X + bool "gcc 12.x" + # powerpc spe support has been deprecated since gcc 8.x. + # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html + depends on !BR2_powerpc_SPE + # uClibc-ng broken on sparc due to recent gcc changes + # that need to be reverted since gcc 8.4, 9.3 and 10.1. + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784 + depends on !BR2_sparc + # ARC HS48 rel 31 only supported by gcc arc fork. + depends on !BR2_archs4x_rel31 + select BR2_TOOLCHAIN_GCC_AT_LEAST_12 + endchoice # libcilkrts was introduced in gcc 4.9 and removed in gcc 8.x @@ -88,6 +101,7 @@ config BR2_GCC_VERSION default "9.4.0" if BR2_GCC_VERSION_9_X default "10.3.0" if BR2_GCC_VERSION_10_X default "11.3.0" if BR2_GCC_VERSION_11_X + default "12.1.0" if BR2_GCC_VERSION_12_X default "arc-2020.09-release" if BR2_GCC_VERSION_ARC config BR2_EXTRA_GCC_CONFIG_OPTIONS diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash index e364be0a06..dc19c282c2 100644 --- a/package/gcc/gcc.hash +++ b/package/gcc/gcc.hash @@ -6,6 +6,8 @@ sha512 dfd3500bf21784b8351a522d53463cf362ede66b0bc302edf350bb44e94418497a8b4b79 sha512 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86 gcc-10.3.0.tar.xz # From https://gcc.gnu.org/pub/gcc/releases/gcc-11.3.0/sha512.sum sha512 f0be5ad705c73b84477128a69c047f57dd47002f375eb60e1e842e08cf2009a509e92152bca345823926d550b7395ae6d4de7db51d1ee371c2dc37313881fca7 gcc-11.3.0.tar.xz +# From https://gcc.gnu.org/pub/gcc/releases/gcc-12.1.0/sha512.sum +sha512 2121d295292814a6761edf1fba08c5f633ebe16f52b80e7b73a91050e71e1d2ed98bf17eebad263e191879561c02b48906c53faa4c4670c486a26fc75df23900 gcc-12.1.0.tar.xz # Locally calculated (fetched from Github) sha512 b0853e2b1c5998044392023fa653e399e74118c46e616504ac59e1a2cf27620f94434767ce06b6cf4ca3dfb57f81d6eda92752befaf095ea5e564a9181b4659c gcc-arc-2020.09-release.tar.gz
https://gcc.gnu.org/gcc-12/changes.html https://gcc.gnu.org/gcc-12/porting_to.html Tested with toolchain-builder: https://gitlab.com/kubu93/toolchains-builder/-/pipelines/550404957 Signed-off-by: Romain Naour <romain.naour@gmail.com> --- package/gcc/Config.in.host | 14 ++++++++++++++ package/gcc/gcc.hash | 2 ++ 2 files changed, 16 insertions(+)