LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-31-2023, 11:18 AM   #1
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
What is switchable x86-32 binary support?


I clicked on a recent LXer headline "Linux will soon offer switchable x86-32 binary support" but the article doesn't actually say anything about "switchable x86-32 binary support". What is it?

https://www.linuxquestions.org/quest...rt-4175730426/
 
Old 10-31-2023, 11:33 AM   #2
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,628

Rep: Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557
Quote:
Originally Posted by BenCollver View Post
...the article doesn't actually say anything about "switchable x86-32 binary support".
I went to the article, pressed Ctrl-F and entered "x86-32".

The first hit is the title, the second hit reveals this explanation:
Quote:
Originally Posted by https://www.theregister.com/2023/10/30/linux_kernel_6_7_rundown/
We suspect that quite a few distros would like to drop support for 32-bit x86 binaries, but a lot of people still use them. Ubuntu tried in 2019 but an outcry forced it to backtrack, so it just dropped support for 32-bit hardware. Users of 64-bit Ubuntu can still run 32-bit binaries today, and some of us do. This isn't just for gamers; for instance, The Reg FOSS desk still has WordPerfect 8 for Linux installed – released for free long before 64-bit PCs were even a daydream – and occasionally even uses it.

Part of the problem is that right now, 32-bit x86 support on 64-bit Linux comes in two separate parts: a set of 32-bit libraries that you can easily install, and inside the kernel itself, the 32-bit interfaces that those libraries need. Currently, if the kernel is compiled with those turned off, x86-32 code can't be executed. To make 32-bit support optional would be tricky; for example, vendors would have to supply two sets of kernels, one with 32-bit support and another without. So almost everyone just leaves it on.

A new patch will turn this into an option that the user can choose at boot time. That means that vendors could ship their distros with it turned off, but if the user installs 32-bit libraries, 32-bit binary support can be enabled; all that will be needed afterward is a reboot to run code built for older 386, 486, or Pentium chips.
It's a bad explanation, but it is an explanation. (The commit message and documentation changes in the linked patch are clearer.)


Last edited by boughtonp; 10-31-2023 at 11:37 AM.
 
1 members found this post helpful.
Old 10-31-2023, 11:40 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
https://www.theregister.com/2023/10/...l_6_7_rundown/

Basically, you need to have 32-bit support compiled into the kernel to be able to run 32-bit programs. Practically all distro kernels have this parameter set because a lot of proprietary printer drivers are 32-bit, and people want to use 32-bit steam for playing games. A new patch allows kernels to be shipped with 32-bit support turned off and users can turn it on at boot time if they need it.
 
1 members found this post helpful.
Old 10-31-2023, 03:40 PM   #4
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376

Original Poster
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
Nice, thanks for the explanation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux will soon offer switchable x86-32 binary support LXer Syndicated Linux News 0 10-31-2023 08:24 AM
Switchable graphics support (2017) displace Linux - Hardware 4 03-03-2017 03:04 PM
LXer: Fedora 25 GNU/Linux Distribution to Offer Better Switchable Graphics Support LXer Syndicated Linux News 0 07-08-2016 02:06 AM
T410s Nvidia Switchable Optimus Graphics - a problem? fhsm Linux - Laptop and Netbook 4 12-12-2010 08:57 PM
[SOLVED] Slackware64 current - Core i3 and ATI Mobility Radeon HD 5470 switchable problem soviet Slackware 8 12-12-2010 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration