Skip to content

Arm backend: Fix standalone runner link order#20756

Open
bdemirb wants to merge 2 commits into
pytorch:mainfrom
bdemirb:fix-arm-runner-link-order
Open

Arm backend: Fix standalone runner link order#20756
bdemirb wants to merge 2 commits into
pytorch:mainfrom
bdemirb:fix-arm-runner-link-order

Conversation

@bdemirb

@bdemirb bdemirb commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Fix the Arm semihosting executor runner link order used by setup_testing.sh. The previous link line placed backend archives before the objects and dependent archives that reference them, so ld could miss bare-metal symbols when building the standalone runners.

Group the runner libraries and keep the backend archives in a whole-archive region after clearing their inherited interface link options. This keeps symbols visible to the linker while preserving the existing runner setup.

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

Fix the Arm semihosting executor runner link order used by
setup_testing.sh. The previous link line placed backend archives
before the objects and dependent archives that reference them, so ld
could miss bare-metal symbols when building the standalone runners.

Group the runner libraries and keep the backend archives in a
whole-archive region after clearing their inherited interface link
options. This keeps symbols visible to the linker while preserving the
existing runner setup.

Signed-off-by: Baris Demir <baris.demir@arm.com>
Change-Id: Ib1bb2e3a39a3b955556cd67847f74c6ff6d159ab
@pytorch-bot

pytorch-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 3 New Failures, 27 Pending

As of commit 5fde7b6 with merge base fa49f8f (image):

NEW FAILURES - The following jobs have failed:

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 Jul 6, 2026
@github-actions github-actions Bot added ciflow/trunk module: arm Issues related to arm backend labels Jul 6, 2026
@bdemirb

bdemirb commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot label "partner: arm"

@pytorch-bot pytorch-bot Bot added the partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm label Jul 6, 2026
@bdemirb

bdemirb commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot label "release notes: arm"

@pytorch-bot pytorch-bot Bot added the release notes: arm Changes to the ARM backend delegate label Jul 6, 2026
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.

1 participant