|
|
Subscribe / Log in / New account

A Gentoo x32 release candidate

A Gentoo x32 release candidate

Posted Jun 7, 2012 4:15 UTC (Thu) by mikemol (guest, #83507)
In reply to: A Gentoo x32 release candidate by nybble41
Parent article: A Gentoo x32 release candidate

The x32 ABI is, in part, a redefinition of how the C and C++ languages operate on x86-64. You're telling the compiler that hey, pointers and 'long' are 32-bit.

You're *not* going to be able to interlink x32 and x86-64 binaries while sharing headers unless you make those headers aware of the differing binary representations of the types...and if you do that, you're making things significantly more complicated over a broad cross-section of code. That means tons of bugs.

As for having per-arch copies of the same binaries...that's already status quo on multilib systems. Not that big of a problem, really. x32 is poised to replace the old 32-bit ABI, with its segmented memory model and relatively limited register and CPU instruction set, with a 32-bit ABI with more registers and a higher-level guaranteed minimum for CPU instruction set availability. x32, in a sense, represents the new "i686" minimum compiler target for x86 systems with a 32-bit ABI.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds