[PATCH v2] Xmd.h: Treat __ILP32__ targets as LONG32 ones
hongjiu.lu at intel.com
Mon Jun 11 07:42:05 PDT 2012
> On Mon, 11 Jun 2012 13:04:20 +0000, "Lu, Hongjiu" <hongjiu.lu at intel.com>
> > If a software checks __amd64__, it is likely that it won't compile
> > correctly for -mx32, no matter if -mx32 defines __amd64__ or not.
> > In this senses, this software is broken for -mx32. Yes, this package
> > needs updates to support -mx32. However, adding __ILP32__ check
> > to this package won't break anything.
> It's fine if *existing* software doesn't work on *new* architectures.
> It needs
> to be ported anyway. The problem is that you are breaking *existing*
> on *existing* architectures.
Please show me one example of such case.
FWIW, -mx32 may be considered as a new architecture for practical
purpose when you are building an OS with x32 user space binaries.
More information about the xorg-devel