[xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

Lu, Hongjiu hongjiu.lu at intel.com
Wed Dec 28 07:33:27 PST 2011


> On 12/28/11 06:34, Lu, Hongjiu wrote:
> > __AMD64__ is defined when 64bit x86 instruction set is used,
> > which is true for x32. The difference is x32 doesn't define
> > __LP64__.
> 
> Then you have explictly designed your ABI to break existing
> software, and it is broken by design and should not be adopted.
> 

Yes, some existing software packages don't compile with x32.
They need to be ported to x32.


H.J.


More information about the xorg-devel mailing list