Skip to content

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

Open
christophe0606 wants to merge 2 commits into
pytorch:mainfrom
christophe0606:compilation-warnings
Open

christophe0606 wants to merge 2 commits 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

@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.

❌ 2 New Failures, 5 Pending, 2 Unrelated Failures, 1 Unclassified Failure

As of commit 21f1ca9 with merge base efd7f9b (image):

NEW FAILURES - The following jobs have failed:

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

  • trunk / test-coreml-delegate / macos-job (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    RuntimeError: Command bash /Users/runner/work/_temp/exec_script failed with exit code 65

FLAKY - The following job failed but was likely due to flakiness present on trunk:

BROKEN TRUNK - The following job failed but was 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 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

linux-foundation-easycla Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: christophe0606 / name: Christophe Favergeon (1ce87df)

@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!

@rascani rascani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Generally LGTM, but a few more type fixes. Thanks for putting this together!

Comment thread kernels/quantized/cpu/op_quantize.cpp Resolved
Comment thread kernels/quantized/cpu/op_dequantize.cpp Resolved
Comment thread kernels/portable/cpu/op_round.cpp Resolved
@zingo

zingo commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

/easycla

1 similar comment
@zingo

zingo commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

/easycla

@rascani rascani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this @christophe0606!

@zingo

zingo commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

@claude can I or you rerun EasyCLA check on this PR? And if I can do it how do I do?

@zingo

zingo commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

/easycla

@claude

claude Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Claude finished @zingo's task in 23s —— View job


You can retrigger EasyCLA yourself by posting a comment that says only /easycla. I can't run it, but your two earlier /easycla comments already did. A rerun won't turn the check green yet, because the failure isn't a stale check: it says commit 6043d5c from @christophe0606 is not covered by a signed CLA.

Details

Rerunning the check

  • Post a PR comment containing just /easycla. Anyone on the PR can do this, including you.
  • It won't pass until the authorization below is in place. Run it again after that.

What the check reports

Commit Author Status
892c37c (merge) Zingo Andersen <zingo.andersen@arm.com> ✅ covered
6043d5c Christophe Favergeon <Christophe.Favergeon@arm.com> ❌ not covered

How to fix it

Christophe is contributing as an Arm employee, so the usual route is Arm's corporate CLA. Either:

  1. Christophe clicks the "Please click here to be authorized" link in the EasyCLA comment, picks Corporate → Arm, and requests to be added to Arm's approved list. Or
  2. Arm's CLA manager (whoever handles Arm's EasyCLA approvals; you may know who that is) adds him in the EasyCLA Corporate Console. They can approve his GitHub username christophe0606, his email, or the @arm.com domain / the GitHub org.

Also check these, since they are common reasons the check keeps failing:

  • Christophe.Favergeon@arm.com must be a verified email on his GitHub account. EasyCLA matches commits by author email. If that address isn't linked to his account, the commit can't be tied to christophe0606.
  • Or the commit can be re-authored with an email that is already linked to his GitHub account and approved.

The separate Meta CLA bot

meta-cla posted its own "Action Required" message. That is a different check, and it needs Christophe to sign at https://code.facebook.com/cla (or be covered by Arm's corporate agreement with Meta). After that, the CLA signed label is added automatically, which can take up to an hour.

Once the authorizations are done, post /easycla again to refresh the status.

@christophe0606

Copy link
Copy Markdown
Author

/easycla

Change-Id: Ic70293edbf5cf3683d2460fe1e10ba47635bd8b2
Signed-off-by: Christophe Favergeon <christophe.favergeon@arm.com>
@freddan80

Copy link
Copy Markdown
Collaborator

/easycla

@christophe0606

Copy link
Copy Markdown
Author

/easycla

@zingo

zingo commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

rebased and running test now

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.

4 participants