ppc64: Fix PER_LINUX32 behaviour
A message that is not in the archive (sent off-list or not yet received): 20050608.121950.104038734.davem@davemloft.net.suse.lists.linux.kernel
Quoted 9 lines · In article <20050608.121950.104038734.davem@davemloft.net.suse.lists.linux.kern…
From: Arnd Bergmann <[email protected]>
Date: Wed, 8 Jun 2005 20:49:48 +0200Quoted 5 lines
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.
Quoted 3 lines
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.
Actually what you then do (which is the standard way) is
powerpc32 bash --login
which gives you a shell with 32bit personality and work from this.
Ciao, Marcus