From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/mongodb: fix build with gcc 11
Date: Thu, 12 Aug 2021 23:48:57 +0200 [thread overview]
Message-ID: <20210812234857.7ffdf865@windsurf> (raw)
In-Reply-To: <20210809201156.1595045-1-fontaine.fabrice@gmail.com>
On Mon, 9 Aug 2021 22:11:56 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure with gcc 11:
>
> In file included from src/mongo/db/query/plan_cache.h:36,
> from src/mongo/db/catalog/collection_info_cache.h:33,
> from src/mongo/db/catalog/collection.h:42,
> from src/mongo/db/exec/requires_collection_stage.h:32,
> from src/mongo/db/exec/delete.h:32,
> from src/mongo/db/query/internal_plans.h:33,
> from src/mongo/db/query/internal_plans.cpp:32:
> src/mongo/db/exec/plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type
> 214 | std::optional<std::string> replanReason;
> | ^~~~~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/8c0875fa413923504515a83d8b679366418c2444
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...c-plan_stats.h-fix-build-with-gcc-11.patch | 44 +++++++++++++++++++
> 1 file changed, 44 insertions(+)
> create mode 100644 package/mongodb/0002-src-mongo-db-exec-plan_stats.h-fix-build-with-gcc-11.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
prev parent reply other threads:[~2021-08-12 21:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-09 20:11 [Buildroot] [PATCH 1/1] package/mongodb: fix build with gcc 11 Fabrice Fontaine
2021-08-12 21:48 ` Thomas Petazzoni [this message]
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=20210812234857.7ffdf865@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox