From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Waldemar Brodkorb <wbx@openadk.org>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/botan: avoid compile error with gcc 10.x
Date: Mon, 19 Aug 2024 23:12:49 +0200 [thread overview]
Message-ID: <ZsO1UYTTOIY7UuJn@landeda> (raw)
In-Reply-To: <ZsOw2IzdkaSTp+Ot@waldemar-brodkorb.de>
Waldemar, All,
You initial title is a misleading. Yes, it does "avoid compile error
with gcc 10.x", but "avoid" is a bit too evasive, so I changed it to the
more assertive:
package/botan: needs gcc >= 11
On 2024-08-19 22:53 +0200, Waldemar Brodkorb spake thusly:
> The "using enum" was added in gcc 11.x, see here for a info about it:
> https://stackoverflow.com/questions/75018634/how-to-use-the-using-keyword-in-gcc-10-4
I changed that to refer to the official gcc C++ support status;
https://gcc.gnu.org/projects/cxx-status.html#cxx20
(but I kept the S.O. thread for reference, because it is about
Buildroot, so is still interesting).
> Compile successfully tested with internal Buildroot toolchain for
> sparc with gcc 12.x as gcc 11.x is not available anymore.
>
> The autobuild failure will be avoided now and fixed with newer external
> bootlin toolchains.
>
> Fixes:
> - http://autobuild.buildroot.org/results/ab8/ab83b920156f5a1e51ef960e4007769b5c27d0a1
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/botan/Config.in | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/package/botan/Config.in b/package/botan/Config.in
> index c61b368801..305cc2fe8c 100644
> --- a/package/botan/Config.in
> +++ b/package/botan/Config.in
> @@ -14,7 +14,7 @@ config BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
> config BR2_PACKAGE_BOTAN
> bool "botan"
> depends on BR2_INSTALL_LIBSTDCPP
> - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_11 # C++20
> depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
> depends on BR2_TOOLCHAIN_HAS_THREADS
> select BR2_PACKAGE_BOOST_FILESYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
> @@ -24,8 +24,8 @@ config BR2_PACKAGE_BOTAN
>
> http://botan.randombit.net
>
> -comment "botan needs a toolchain w/ threads, C++, gcc >= 10"
> +comment "botan needs a toolchain w/ threads, C++, gcc >= 11"
> depends on !BR2_INSTALL_LIBSTDCPP \
> - || !BR2_TOOLCHAIN_GCC_AT_LEAST_10 \
> + || !BR2_TOOLCHAIN_GCC_AT_LEAST_11 \
> || !BR2_TOOLCHAIN_HAS_THREADS
> depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
> --
> 2.30.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-08-19 21:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-19 20:53 [Buildroot] [PATCH] package/botan: avoid compile error with gcc 10.x Waldemar Brodkorb
2024-08-19 21:12 ` Yann E. MORIN [this message]
2024-08-20 8:58 ` Thomas Petazzoni via buildroot
2024-08-20 21:39 ` Yann E. MORIN
2024-09-18 11:07 ` Peter Korsgaard
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=ZsO1UYTTOIY7UuJn@landeda \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=wbx@openadk.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox