Kernels after 5.16 cannot execute x32-ABI binaries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
The kernel configuration option CONFIG_X86_X32_ABI is outcommented for kernel 5.17 and higher (amd64). x32 binaries are now reporting:
cannot execute binary file: Exec format error
The x32-ABI has its proven merits in some HPC tasks (e.g. link and GC intensive tasks) because it saves CPU time and critical resources like energy.
So, the following approach (e.g. Debian) looks more appropriate:
1. Include the x32-relevant code, but disable its use on standard boots:
CONFIG_X86_X32=y
CONFIG_
2. Users that must run x32 binaries can easily add the GRUB cmdline option
syscall.x32=y
to enable x32 binaries.
This could be a good compromise between kernel complexity and resource efficiency.
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/
CRDA: N/A
CasperMD5CheckR
DistroRelease: Ubuntu 22.10
InstallationDate: Installed on 2022-10-24 (1 days ago)
InstallationMedia: Lubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221017.1)
IwConfig:
lo no wireless extensions.
eno1 no wireless extensions.
MachineType: ASUS System Product Name
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220923.
RfKill:
Tags: kinetic
Uname: Linux 5.19.0-23-generic x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo
WifiSyslog:
_MarkForUpload: False
dmi.bios.date: 10/13/2022
dmi.bios.release: 8.5
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0805
dmi.board.
dmi.board.name: PRIME B650-PLUS
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: ASUS
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: regression-release rls-ll-incoming |
tags: | added: rls-kk-incoming |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1994516
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.