Arm backend: Update gcc to 15.2#19549
Conversation
Signed-off-by: per.held@arm.com Change-Id: I5c3e9388f3a6d87fd987811d7dc04e9ef85cb69d
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19549
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 2 New Failures, 3 Unrelated FailuresAs of commit 1ac00ba with merge base c502916 ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Pull request overview
Updates the Arm backend’s GCC toolchain to Arm GNU Toolchain 15.2.rel1 and adds a targeted build workaround for GCC 15+ when compiling the in-tree flatccrt runtime, keeping builds green under the newer compiler.
Changes:
- Bump Arm GNU toolchain download URLs/dirs/checksums from 13.3.rel1 to 15.2.rel1 in the Arm setup tooling.
- Add a GCC 15+
flatccrtcompile option to preventunterminated-string-initializationwarnings from being treated as errors.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
third-party/CMakeLists.txt |
Adds a GCC 15+ conditional compile option for flatccrt to avoid a new warning being promoted to an error. |
backends/arm/scripts/toolchain_utils.sh |
Updates Arm toolchain URL/dir/checksum entries to Arm GNU Toolchain 15.2.rel1 for supported host platforms. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if(CMAKE_C_COMPILER_ID STREQUAL "GNU" | ||
| AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 15 | ||
| ) | ||
| target_compile_options( | ||
| flatccrt PRIVATE -Wno-error=unterminated-string-initialization | ||
| ) | ||
| endif() |
Signed-off-by: per.held@arm.com
Change-Id: I5c3e9388f3a6d87fd987811d7dc04e9ef85cb69d
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani