On 09/09/2016 03:29 AM, Michael Ellerman wrote:
Interestingly it builds fine for me, even for 32-bit configs, I assume
because my toolchains are 32/64-bit they are able to cope with it. I'll
try and built a 32-bit only toolchain to catch these problems in future.
Yeah, I was just asking myself the same question after seeing your patch
on the list as the kernel package builds fine on Debian's powerpc port [1].
However, the powerpc Debian package always builds a 64-bit kernel image
as well in order to be able to use a 32-bit userland on a 64-bit kernel
when the hardware is capable of 64-bit. So, your guess above might actually
be true, but I haven't tested it.
What I do know is that "ld" is definitely not available on PowerPC e500
while "lwz" is available, see 3-68 in the e500 reference manual [2].
Thanks for the quick fix!
Adrian
[1] https://buildd.debian.org/status/fetch.php?pkg=linux&arch=powerpc&ver=4.7.2-1&stamp=1472464832
[2] http://www.nxp.com/files/32bit/doc/ref_manual/E500CORERM.pdf
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913