Running Debian With The Linux x32 ABI

Posted by Michael Larabel on December 05, 2012

Debian packages for using the Linux x32 ABI have begun to surface and it's possible to chroot into a Debian x32 environment, but it's not yet part of the official Debian archive.

Merged into the Linux 3.4 kernel was x32 ABI support, which for x86_64 processors basically means taking advantage of all the modern 64-bit features and increased register set but while still mostly using 32-bit memory pointers for a smaller memory footprint. Glibc 2.16 also picked up x32 support as did GCC plus LLVM/Clang now has the support. GDB also picked up support this year for debugging x32.

The first tier-one Linux distribution offering up any x32 support was a Gentoo x32 Stage 3 installation. While in an unofficial manner, joining the party now is a Debian-built x32-supported Linux kernel and some other x32-built packages.

Since two weeks ago there has been a x32 port Debian Wiki page. Linked to from there is an archive with a Linux 3.6 kernel built with the CONFIG_X86_X32 option enabled for the necessary kernel-side support. There's also various x32 Debian packages from there too. The command is also given for setting up an x32 chroot of Debian if so desired to experiment with the new Linux ABI.

While x32 is attractive due to the smaller memory footprint, it's not yet picked up much steam with most Linux users and developers being content with just using x86_64 packages. Linux x32 benchmarks are forthcoming.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  2. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  3. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
  4. AMD Radeon Gallium3D More Competitive With Catalyst On Linux
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Modern Intel Gallium3D Driver Still Being Toyed With
  2. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  3. GCC 4.8.1 Compiler Due To Be Out Next Week
  4. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  5. Linux's "Ondemand" Governor Is No Longer Fit
  6. Firefox 22 Beta Enables WebRTC Support
  7. OpenSUSE 13.1 Milestone 1 Released
  8. DRM Graphics Driver Comes For Dove/Cubox
  9. JADE: An LLVM-Based Video Decoder For MPEG RVC
  10. Ubuntu 13.10 Likely Switching To Chromium Browser
  11. Unity 7, Compiz To Be Polished For Ubuntu 13.10
Latest Forum Talk
  1. Unity 8, Mir To Be Experimental Choice In Ubuntu...
  2. Linux's "Ondemand" Governor Is No...
  3. Greater Radeon Gallium3D Shader Optimization Tests
  4. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  5. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  6. Modern Intel Gallium3D Driver Still Being Toyed...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite