From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Romain Naour <romain.naour@smile.fr>
Cc: Thomas Perale <thomas.perale@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/qt6: fix c++ static_assert issue
Date: Fri, 4 Sep 2026 14:17:36 +0200 [thread overview]
Message-ID: <20260904121736.404020-1-thomas.perale@mind.be> (raw)
In-Reply-To: <20260826210042.212245-1-romain.naour@smile.fr>
In reply of:
> Since the last qt6 version bump to 6.11.1 [1], the TestQuazipQt6 fail to
> build due to a c++ static_assert issue.
>
> Backport a patch from v6.11.2 release.
>
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/16060153667 (TestQuazipQt6)
>
> [1] https://github.com/qt/qtbase/commit/2983318421d623c6c9feff95ff947ca489f4313d
>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
Applied to 2026.05.x. Thanks
> ---
> ...e.cpp-remove-is_always_lock_free-sta.patch | 41 +++++++++++++++++++
> 1 file changed, 41 insertions(+)
> create mode 100644 package/qt6/qt6base/0001-qtestsupport_core.cpp-remove-is_always_lock_free-sta.patch
>
> diff --git a/package/qt6/qt6base/0001-qtestsupport_core.cpp-remove-is_always_lock_free-sta.patch b/package/qt6/qt6base/0001-qtestsupport_core.cpp-remove-is_always_lock_free-sta.patch
> new file mode 100644
> index 0000000000..3347caa8da
> --- /dev/null
> +++ b/package/qt6/qt6base/0001-qtestsupport_core.cpp-remove-is_always_lock_free-sta.patch
> @@ -0,0 +1,41 @@
> +From 2983318421d623c6c9feff95ff947ca489f4313d Mon Sep 17 00:00:00 2001
> +From: Mitch Curtis <mitch.curtis@qt.io>
> +Date: Mon, 11 May 2026 08:41:08 +0800
> +Subject: [PATCH] qtestsupport_core.cpp: remove is_always_lock_free
> + static_assert
> +
> +This causes a build failure when cross-compiling Qt for MIPS32 targets
> +(e.g. `mips-unknown-linux-musl`, `mipsel-unknown-linux-musl`).
> +
> +Amends 9b938823776865837901f29082301f5624ac2b04.
> +
> +Fixes: QTBUG-146670
> +Change-Id: I170bd9f93c1ef809f56e5b36835e457bbbe8e16c
> +Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
> +Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
> +
> +Upstream: https://github.com/qt/qtbase/commit/2983318421d623c6c9feff95ff947ca489f4313d
> +[Romain: backport to 6.11.1]
> +Signed-off-by: Romain Naour <romain.naour@smile.fr>
> +---
> + src/corelib/kernel/qtestsupport_core.cpp | 4 ----
> + 1 file changed, 4 deletions(-)
> +
> +diff --git a/src/corelib/kernel/qtestsupport_core.cpp b/src/corelib/kernel/qtestsupport_core.cpp
> +index 9bbe1c18e84..5f28cedec68 100644
> +--- a/src/corelib/kernel/qtestsupport_core.cpp
> ++++ b/src/corelib/kernel/qtestsupport_core.cpp
> +@@ -8,10 +8,6 @@
> +
> + using namespace std::chrono_literals;
> +
> +-// Assert that this instantiation of std::atomic is always lock-free so we
> +-// know that no code will execute on destruction.
> +-static_assert(std::atomic<std::chrono::milliseconds>::is_always_lock_free);
> +-
> + QT_BEGIN_NAMESPACE
> +
> + // ### Qt 7: reduce the default: QTBUG-138160
> +--
> +2.55.0
> +
> --
> 2.55.0
>
> _______________________________________________
> 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
prev parent reply other threads:[~2026-09-04 12:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-26 21:00 [Buildroot] [PATCH] package/qt6: fix c++ static_assert issue Romain Naour via buildroot
2026-08-27 19:47 ` Julien Olivain via buildroot
2026-09-04 12:17 ` Thomas Perale via buildroot [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=20260904121736.404020-1-thomas.perale@mind.be \
--to=buildroot@buildroot.org \
--cc=romain.naour@smile.fr \
--cc=thomas.perale@mind.be \
/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.