Re: [PATCH] ppc64: Fix PER_LINUX32 behaviour

From: Olaf Hering
Date: Wed Jun 08 2005 - 15:50:12 EST


On Wed, Jun 08, David S. Miller wrote:

> From: Arnd Bergmann <arnd@xxxxxxxx>
> Date: Wed, 8 Jun 2005 20:49:48 +0200
>
> > With the LINUX32 personality, you can build 32 bit binaries through
> > autoconf, rpmbuild, or the kernel without pretending to be
> > cross-compiling. It may not be the best solution, but people seem to
> > rely on it and the patch brings ppc64 in line with how it works on
> > the other architectures.
>
> I totally agree, this has a large precedence on many platforms
> and there are even gcc frontends that check the uname output
> to decide what code model to output by default.

They (the auto* tools) should probably check for gcc -dumpmachine
instead for uname -m. Both have nothing in common, they just happen to
be equal on Walmart boxes.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/