chore(build): pin xPack GCC 15.2.1 for CI and local builds#32
Open
AlexKlimaj wants to merge 1 commit into
Open
chore(build): pin xPack GCC 15.2.1 for CI and local builds#32AlexKlimaj wants to merge 1 commit into
AlexKlimaj wants to merge 1 commit into
Conversation
…builds Replace the ardupilot-hosted gcc 10.3 tools tarball with a version-pinned xPack download from GitHub Releases so arm_sdk_install always matches ARM_SDK_PREFIX. Fix checkDeviceInfo for GCC 12+ -Warray-bounds so the firmware builds cleanly under 15.2. Bench (ark-release, noprop 95% / 3 A): hold95 stable; ~0.5 KB less flash than gcc 10.3; free-run CPU essentially unchanged.
dakejahl
approved these changes
Jul 9, 2026
dakejahl
left a comment
There was a problem hiding this comment.
Yeah makes sense. We really need to be pinning the toolchains for all projects. I opened PX4 and Ardu PRs to do that... they didn't get merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
make/tools.mk(linux / macos / windows).make arm_sdk_installto download that pin from GitHub Releases (no longer depends on the ardupilot-hosted gcc 10.3 tools tarball staying in sync withARM_SDK_PREFIX). Windows still pullswindows-tools.ziponly formakeutilities.CICD_build.yml,hwci.yml) installs/uses the same pin; hardware-CI requires the exact 15.2.1 path.checkDeviceInfo()for GCC 12+-Warray-boundsso the tree builds under 15.2.Bench (ark-release,
noprop_smoke_95pct_3a, 3 A supply).textFree-run steady CPU is essentially flat across compilers; 15.2 is mainly a size/toolchain hygiene win, not a free-run headroom miracle.
Test plan
make arm_sdk_install(linux) — installs or reports already presentmake ARK_4IN1_F051 HWCI_PERF=1with default pin — links as GCC 15.2.1CI Build Linuxworkflow green (linux + windows matrix)hwciworkflow once a runner has the new pin