From 166d69605b799e7e7e72b80e10d530ffe756dc73 Mon Sep 17 00:00:00 2001 From: James Rich Date: Thu, 20 Aug 2026 16:39:31 -0500 Subject: [PATCH] =?UTF-8?q?docs:=20AGENTS.md=20GCC-15=20gotcha=20=E2=80=94?= =?UTF-8?q?=20the=20array-bounds=20fix=20is=20backported=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index d21a5cc85..18e07094d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -131,13 +131,14 @@ itself; a human has to edit it too. ## Gotchas -- **ARM GCC version matters.** CI pins exactly `12.3.Rel1`. Much newer - toolchains (verified: 15.2.Rel1) fail with `-Werror=array-bounds` in - `lib/sdk11/components/libraries/bootloader_dfu/bootloader_settings.c` - (a false positive from newer GCC's stricter analysis of a fixed - MBR-address read) — verified by actually building with it. 13.3.Rel1 +- **ARM GCC version matters.** CI pins exactly `12.3.Rel1`; 13.3.Rel1 also compiles clean and is the closest verified-working version if you can't - get the exact CI-pinned one. + get the exact CI-pinned one. GCC 15 used to fail with + `-Werror=array-bounds` in + `lib/sdk11/components/libraries/bootloader_dfu/bootloader_settings.c` + (a false positive on a fixed MBR-address read); Adafruit's fix (a scoped + `#pragma GCC diagnostic`, backported in #26) is in, but nobody has rebuilt + here with GCC 15 since — if you do, update this note. - **MeshCore/Ripple content has been deliberately removed** from the docs (README, changelog) — this is Meshtastic's own branded fork now, not a place to re-add other companion-firmware documentation. If you're