[Xorg-driver-geode] [PATCH] Allow compilation under 64 bit systems

Martin-Éric Racine q-funk at iki.fi
Wed Jun 23 08:10:07 PDT 2010


On Wed, Jun 23, 2010 at 5:57 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> On Wed, 2010-06-23 at 14:35 +0800, Huang, FrankR wrote:
>
> 	Is that to say this solve method will let the geode compilation successful,
> but in un-use status? Only for the whole build success of the X.org tree?
>
> Exactly.
>
> - We (as in X.Org) get bug reports as compilation fails on 64 bit. People
> don't know so they ask.

For this, I prefer your initial idea of issuing a warning and
gracefully skipping src/ on non-x86 architectures.

> - People other than pure Geode developers make contributions and many have
> 64 bit systems. It could be in Autotools only, like I do,
> it could be fixing code due to server API changes, like yesterday. Basically
> anything that is safe to do without the need of loading the driver on the
> real hardware.
>
> It is a simple matter of making it easy for others to contribute.

For that, wouldn't prepending -m32 to the compiler flags ensure that
the driver can be built on x86_64 and still generate x86_32
instructions always?

Martin-Éric


More information about the Xorg-driver-geode mailing list