Skip to content

archutil: advertise linux/arm/v5 from arm probe#6832

Draft
crazy-max wants to merge 1 commit into
moby:masterfrom
crazy-max:support-arm-v5-archutil
Draft

archutil: advertise linux/arm/v5 from arm probe#6832
crazy-max wants to merge 1 commit into
moby:masterfrom
crazy-max:support-arm-v5-archutil

Conversation

@crazy-max

@crazy-max crazy-max commented Jun 5, 2026

Copy link
Copy Markdown
Member

follow-up

QEMU exposes one 32-bit ARM user-mode emulator as qemu-arm, and BuildKit maps all arm variants to buildkit-qemu-arm. The platform variant is OCI metadata and should not be modeled as a separate emulator capability. This change keeps detection aligned with that model while making linux/arm/v5 visible when ARM32 emulation is available.

@crazy-max crazy-max requested a review from tonistiigi June 5, 2026 09:49
@crazy-max crazy-max force-pushed the support-arm-v5-archutil branch from d953712 to beb4385 Compare June 5, 2026 11:47
@crazy-max crazy-max changed the title archutil: detect linux/arm/v5 support archutil: linux/arm/v5 and linux/ppc support Jun 5, 2026
@crazy-max crazy-max changed the title archutil: linux/arm/v5 and linux/ppc support archutil: linux/arm/v5, linux/ppc and 32-bit mips support Jun 5, 2026
@crazy-max crazy-max force-pushed the support-arm-v5-archutil branch from e9046ca to d6f0311 Compare June 5, 2026 11:58
@crazy-max

Copy link
Copy Markdown
Member Author

ci failure with freebsd not related, see #6833

@crazy-max crazy-max marked this pull request as ready for review June 5, 2026 12:10
@crazy-max crazy-max added this to the v0.31.0 milestone Jun 5, 2026

@tonistiigi tonistiigi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There is no such thing as v5 emulator, only one arm32 emulator. I'm not sure if the others make sense as they do increase binary size.

@crazy-max crazy-max removed this from the v0.31.0 milestone Jun 8, 2026
@crazy-max crazy-max marked this pull request as draft June 8, 2026 21:16
@crazy-max crazy-max changed the title archutil: linux/arm/v5, linux/ppc and 32-bit mips support archutil: use armel probe for arm/v5 Jun 9, 2026
@crazy-max crazy-max force-pushed the support-arm-v5-archutil branch 2 times, most recently from e1f4d64 to 70027b4 Compare June 9, 2026 13:48
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the support-arm-v5-archutil branch from 70027b4 to 88523fd Compare June 10, 2026 07:46
@crazy-max crazy-max changed the title archutil: use armel probe for arm/v5 archutil: advertise linux/arm/v5 from arm probe Jun 10, 2026
@github-actions github-actions Bot removed the area/hack building buildkit itself label Jun 10, 2026
@LonghronShen

Copy link
Copy Markdown

Hi @tonistiigi and @crazy-max, we do need the mipsel support. Do we have any tree-shake way, say, for rare used platform, introduce a lazy load behavior for extra binaries if configured?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants