From: Romain Naour <romain.naour@gmail.com>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH for-next 08/11] package/gcc: add support for gcc 12
Date: Sat, 16 Jul 2022 13:31:19 +0200 [thread overview]
Message-ID: <33065cf2-4fdf-1abf-75ce-b737e55fdd7f@gmail.com> (raw)
In-Reply-To: <CADvTj4oSsDgObzR=zRD_g0rHYn6AHEKQp7g0OY+qRi29wo=WNw@mail.gmail.com>
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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-07-16 11:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-29 13:18 [Buildroot] [PATCH for-next 01/11] arch/Config.in.riscv: add Zicsr and Zifencei standalone extensions Romain Naour
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 02/11] configs/qemu_riscv{32, 64}_virt: kernel bump version to 5.15.43 Romain Naour
2022-07-23 12:57 ` Thomas Petazzoni via buildroot
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 03/11] package/gcc: disable libsanitizer for mips64{el} w/ n32 ABI Romain Naour
2022-07-23 12:41 ` Thomas Petazzoni via buildroot
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 04/11] package/gcc: disable libsanitizer for mips{el} and gcc > 12 Romain Naour
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 05/11] toolchain: enable libquadmath for PowerPC with VSX Romain Naour
2022-07-23 12:57 ` Thomas Petazzoni via buildroot
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 06/11] package/gcc: add missing --enable-libquadmath-support option Romain Naour
2022-07-23 12:57 ` Thomas Petazzoni via buildroot
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 07/11] package/gcc: switch to https urls for archives hashes Romain Naour
2022-07-23 12:57 ` Thomas Petazzoni via buildroot
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 08/11] package/gcc: add support for gcc 12 Romain Naour
2022-06-25 6:45 ` James Hilliard
2022-07-16 11:31 ` Romain Naour [this message]
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 09/11] arch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_12 Romain Naour
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 10/11] package/gcc: switch to gcc 11.x as the default Romain Naour
2022-05-29 13:18 ` [Buildroot] [PATCH for-next 11/11] package/gcc: remove gcc 9.x Romain Naour
2022-07-23 12:39 ` [Buildroot] [PATCH for-next 01/11] arch/Config.in.riscv: add Zicsr and Zifencei standalone extensions Thomas Petazzoni via buildroot
2022-07-23 13:00 ` Romain Naour
2022-07-23 13:25 ` Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33065cf2-4fdf-1abf-75ce-b737e55fdd7f@gmail.com \
--to=romain.naour@gmail.com \
--cc=buildroot@buildroot.org \
--cc=james.hilliard1@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.