From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 08/10] gn: upgrade to latest revision
Date: Mon, 16 Nov 2026 12:16:56 +0100 [thread overview]
Message-ID: <20261116111658.7745-9-jaipaul.cheernam@est.tech> (raw)
In-Reply-To: <20261116111658.7745-1-jaipaul.cheernam@est.tech>
Group missing generated input errors by target and improve error messages.
Fix infinite recursion in "gn refs --tree --all"
Factor out helpers for generated_file() variables
Delay the whole Ninja writer of delayed generated_file() targets
Add TODO to check transitive deps by default in gn check
Create a function to calculate relative labels.
Header check: wait for chunked work with std::latch
Add --with-transitive-deps to gn check
Report .gn errors instead of crashing
Accept multiple label patterns in gn check
Fix how the regeneration command writes gn's own paths
Do not backslash-escape non-ASCII UTF-8 bytes on POSIX
Improve performance of escape functions.
Improve performance of StringOutputBuffer.
Reimplement EscapeStringToStream with zero-copy.
Propagate should_generate to sub-configs
[infra] Roll mac_toolchain to latest version
Stop integration tests from running every ninja invocation.
Replace instances of o(string)stream with StringOutputBuffer.
Only disable check_includes_strict optimization for exempted includers
Make build/gen.py use hermetic clang.
Cherry-pick script that runs your changes to recipes in CI
Improve StringOutputBuffer to act more like an o(string)stream
Disable check_includes_strict optimizations when there are exceptions.
Refactor CheckIncludesStrictExceptions API
Replace std::endl with '\n'.
Refactor string_output_buffer to support "Reserve".
Add check_includes_strict_exceptions configuration to .gn
Stop forwarding private hard_deps on Rust targets
Make StringAtom use pointer equality and hashing
Fix "Ouput" typos
Add no_check_generated_targets .gn variable
Improve the suggestion heuristic for depending on targets.
Do not generate last_commit_position.h in debug builds.
Enable check_includes_strict by default.
Disable rust formatter on main branch.
Add include sorting configuration to .clang-format and reformat
Delayed generated_file() writes if they collect validations metadata
Stop forwarding private hard_deps on check_includes_strict targets
Add `collect_validations_metadata` boolean flag to generated_file() targets.
Add new experimental_collect_validations_metadata .gn variable
Move generated_file() writes to dedicated function.
Avoid canonicalization + string comparisons during metadata collection.
Use internal state struct for Target::GetMetadata().
Fix minor Scheduler data races.
rust: Don't make rlibs depend on non-Rust link inputs
gn edit: keep build files alive for warnings
Add instructions for agent to build GN and run code / tests
Write phony rules for harddeps
Support conditional sources for gn check.
Don't write order-only deps reachable through direct deps
When suggestions have a known includer target, don't complain that they don't
resolve to a single target.
rust_project_writer: Support aliased_deps in rust-project.json
Header check: validate includes before building diagnostics
Header check: defer unrestricted dependency walks
Header check: batch reachability and file checking tasks
Header check: select files from the existing file map
Add an allowlist for allow_circular_includes_from.
[gn] Use std::unordered_map for waiting_map_
[gn] Shard StringAtomSet to avoid lock contention
[gn] Use DCHECK in Target::info()
[gn] Make ResolvedTargetData stateless
[recipe] Enable THP for jemalloc build in GN recipe
- Since commit 00748cec0 [1], gen.py uses $LD for the final link.
Set LD=$CXX in do_configure because OE's ld cannot handle the -Wl flags in LDFLAGS.
[1] https://gn.googlesource.com/gn/+/00748cec029890841e9e550281955324eb84a266
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
meta/recipes-devtools/gn/gn_git.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/gn/gn_git.bb b/meta/recipes-devtools/gn/gn_git.bb
index 6e8626dc32..6011ff6f12 100644
--- a/meta/recipes-devtools/gn/gn_git.bb
+++ b/meta/recipes-devtools/gn/gn_git.bb
@@ -8,7 +8,7 @@ UPSTREAM_CHECK_COMMITS = "1"
SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main \
"
-SRCREV = "cfcd774b98f3433e18b722f9a7ff06119825b8eb"
+SRCREV = "311003f8ea3500f8ce87c43ff61aec6f4066dac2"
PV = "0+git"
BB_GIT_SHALLOW = ""
@@ -27,6 +27,7 @@ def gn_platform(variable, d):
do_configure[cleandirs] += "${B}"
do_configure() {
+ export LD="${CXX}"
python3 ${S}/build/gen.py \
--platform=${@gn_platform("TARGET_OS", d)} \
--out-path=${B} \
next prev parent reply other threads:[~2026-11-16 11:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 11:16 [PATCH 00/10] Upgrades on 16th November Jaipaul Cheernam
2026-11-16 11:16 ` [PATCH 01/10] libffi: upgrade 3.8.0 -> 3.8.1 Jaipaul Cheernam
2026-11-16 11:16 ` [PATCH 02/10] utfcpp: upgrade 4.2.1 -> 5.0.0 Jaipaul Cheernam
2026-11-16 11:16 ` [PATCH 03/10] dpkg: upgrade 1.23.11 -> 1.23.12 Jaipaul Cheernam
2026-11-16 11:16 ` [PATCH 04/10] diffoscope: upgrade 332 -> 339 Jaipaul Cheernam
2026-11-16 11:16 ` [PATCH 05/10] python3-numpy: upgrade 2.5.4 -> 2.5.5 Jaipaul Cheernam
2026-11-16 11:16 ` [PATCH 06/10] python3-git: upgrade 3.2.0 -> 3.2.1 Jaipaul Cheernam
2026-11-16 11:16 ` [PATCH 07/10] python3-uv-build: upgrade 0.13.7 -> 0.13.8 Jaipaul Cheernam
2026-11-16 11:16 ` Jaipaul Cheernam [this message]
2026-11-16 11:16 ` [PATCH 09/10] p11-kit: upgrade 0.26.5 -> 0.26.6 Jaipaul Cheernam
2026-11-16 11:16 ` [PATCH 10/10] dbus: upgrade 1.16.2 -> 1.16.4 Jaipaul Cheernam
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=20261116111658.7745-9-jaipaul.cheernam@est.tech \
--to=jaipaul.cheernam@est.tech \
--cc=openembedded-core@lists.openembedded.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