Skip to content

Arm backend: Update gcc to 15.2#19549

Open
perheld wants to merge 1 commit into
pytorch:mainfrom
perheld:change-1260197
Open

Arm backend: Update gcc to 15.2#19549
perheld wants to merge 1 commit into
pytorch:mainfrom
perheld:change-1260197

Conversation

@perheld
Copy link
Copy Markdown
Collaborator

@perheld perheld commented May 13, 2026

Signed-off-by: per.held@arm.com
Change-Id: I5c3e9388f3a6d87fd987811d7dc04e9ef85cb69d

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani

Signed-off-by: per.held@arm.com
Change-Id: I5c3e9388f3a6d87fd987811d7dc04e9ef85cb69d
Copilot AI review requested due to automatic review settings May 13, 2026 13:19
@perheld perheld added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: arm Changes to the ARM backend delegate labels May 13, 2026
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 13, 2026

🔗 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 SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 2 New Failures, 3 Unrelated Failures

As of commit 1ac00ba with merge base c502916 (image):

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.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 13, 2026
@github-actions github-actions Bot added the module: arm Issues related to arm backend label May 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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+ flatccrt compile option to prevent unterminated-string-initialization warnings 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.

Comment on lines +150 to +156
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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: arm Issues related to arm backend partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: arm Changes to the ARM backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants