Skip to content

Feature Request: Debian/x32 VM (or x32-enabled amd64) #1

@mirabilos

Description

@mirabilos

I can test most architectures by cross-compiling and with qemu-user, or with jirutka/setup-alpine or vmactions.

However, x32 (amd64ilp32, not to be confused with i386) still elides me.

Notably, x32 only exists in Debian-Ports, not in any released distribution, and as such is a moving target, so installing an x32 system will be tricky. If you wish to do that, I’ll certainly help (best to coordinate this in #debian-ports on OFTC IRC, where the main porter (cbmuser) also sits).

If not, I’d like to request a Debian/amd64 VM with syscall.x32=y added to GRUB_CMDLINE_LINUX in /etc/default/grub (and sudo update-grub ran once afterwards). The x32 architecture uses the standard amd64 kernel but a different syscall ABI surface which needs to be explicitly enabled because it is nowhere near as well-tested (also for security fuzzing), and the standard runners don’t have that, so one cannot use an x32 Docker image on them.

Users could then create a Debian/x32 chroot on the VM during test runs, with debootstrap. (Incidentally, i386 as well, which was recently removed as full architecture.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions