SlackwareThis Forum is for the discussion of Slackware Linux.
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.
CONFIG_X86_X32:
Include code to run binaries for the x32 native 32-bit ABI
for 64-bit processors. An x32 process gets access to the
full 64-bit register file and wide data path while leaving
pointers at 32 bits for smaller memory footprint.
You will need a recent binutils (2.22 or later) with
elf32_x86_64 support enabled to compile a kernel with this
option set.
There's an unofficial multilib version of LFS that includes this architecture. I can't remember who maintains it but there are a couple of threads on it in the LFS forum.
OK, but in this post https://www.linuxquestions.org/quest...ml#post6267470 I showed that ld makes an elf32_x86_64 exe from an elf32_x86_64 object. After that file tells it's 'ELF 32-bit LSB executable, x86-64'. An ordinary 64-bit exe of slackware64 is 'ELF 64-bit LSB executable, x86-64' and in the 32-bit slackware it's 'ELF 32-bit LSB executable, Intel 80386'. So, elf32-x86-64 is already supported is slackware64, as is elf32-i386. Alien Bob's multilib also does not replace binutils, even though you can't see elf32-i386 in the configure command you copied in your original post.
This is not "normal" 32bit support.
This is x32 ABI, it's kind of hybrid between 32 and 64bit.
It's running in 64 bit mode but uses 32bit pointers. I don't know if this is really used anywhere.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.