On 2022-11-29 11:24 -0500, Jeffrey Walton wrote:

> I'm running a Debian Unstable machine. I use it for Chroots. I noticed
> x32 is not available when I attempted to setup a chroot with
> debootstrap:
>
> $ debootstrap --arch=x32 --keyring
> /usr/share/keyrings/debian-archive-keyring.gpg \
>   --variant=buildd --exclude=debfoster unstable debian-x32
> http://ftp.ports.debian.org/debian-ports
>
> E: Unable to execute target architecture
>
> In the past I seem to recall I had a x32 chroot for testing. And the
> Debian Ports page shows x32 as a work in progress. Cf.,
> https://www.debian.org/ports/ .
>
> Has x32 been dropped? Or am I doing something wrong?

Debian kernels disable x32 support by default for security reasons.  You
can enable it at boot time via the "syscall.x32=y" kernel parameter.
Here is the patch that Debian applies to the upstream kernel sources:

https://sources.debian.org/src/linux/6.0.10-1/debian/patches/features/x86/x86-make-x32-syscall-support-conditional.patch/

Cheers,
       Sven

Reply via email to