Build regression introduced by 31cdd0c39c7544ced79da53aa0b7e989f3a39582

Michael Ellerman mpe at ellerman.id.au
Sat Sep 10 19:53:13 AEST 2016


John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de> writes:

> 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.

I built a 32-bit only toolchain, ie. one that doesn't accept -m64. But
it still happily assembles a .S with "ld" in it. So not sure what's
going on with that.

> 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].

Yep.

> Thanks for the quick fix!

I assume by that it worked for you? I'll add a Tested-by: for you?

cheers


More information about the Linuxppc-dev mailing list