Skip to content

Fix Zephyr build warnings with GCC and Arm Compiler 6 - #25735

Open
christophe0606 wants to merge 1 commit into
pytorch:mainfrom
christophe0606:compilation-warnings
Open

christophe0606 wants to merge 1 commit into
pytorch:mainfrom
christophe0606:compilation-warnings

Conversation

@christophe0606

@christophe0606 christophe0606 commented Nov 25, 2026 •

Copy link
Copy Markdown

Change-Id: Ic70293edbf5cf3683d2460fe1e10ba47635bd8b2

Summary

When building with the compilation options defined by Zephyr RTOS, lots of warnings are generated with gcc or Arm Compiler 6.

This PR removes some of the warnings.

Warning coming from deprecated are not removed.
Warning generated when building without -Wno-psabi and gcc are not removed.

And finally, warnings generated when building with AC6 and not using -ffp-mode=full are also kept.

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

Change-Id: Ic70293edbf5cf3683d2460fe1e10ba47635bd8b2
Signed-off-by: Christophe Favergeon <Christophe.Favergeon@arm.com>
@pytorch-bot

pytorch-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/25735

Note: Links to docs will display an error until the docs builds have been completed.

❌ You can merge normally! (3 Unrelated Failures), 6 Unclassified Failures

As of commit eb97407 with merge base ec5e3cf (image):

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla

meta-cla Bot commented Nov 25, 2026

Copy link
Copy Markdown

Hi @christophe0606!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

@zingo zingo added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk labels Nov 25, 2026
@pytorch-bot

pytorch-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

@zingo zingo added the release notes: arm Changes to the ARM backend delegate label Nov 25, 2026
@zingo

zingo commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Hi @rascani and @digantdesai here is some nice compiler output fixes we need help reviewing. Maybe you want to run/test this internally also!

@zingo
zingo requested a review from metascroy November 25, 2026 12:13

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk 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.

2 participants