Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
...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.)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.