Bug#823526: linux: FTBFS on powerpcspe due to the use of unsupported instructions
On 05/05/2016 09:01 PM, Lennart Sorensen wrote:
> I think this would fix it:
> (...)
Good idea, I'll give that a try!
> It seems that gas on powerpc is willing to accept ldarx and stdcx even
> when compiling in 32 bit mode (even though the instructions are not
> allowed in 32 bit mode), while gas for powerpcspe does not seem willing
> to accept them. So they need to be left out when building on 32 bit
> systems, just like everywhere else in that file already did.
Indeed. And ldarx and stdcx are definitely not available on e500,
according to the datasheet by NXP.
> If it works, I can submit it to the kernel. I don't have a powerpcspe
> environment to try building it, but I did notice that sstep.o contained
> those two instructions when building a ppc32 kernel, and that's wrong.
> After the patch those are gone as expected.
I'll test it and let you know.
Adrian
--
.''`. 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
Reply to: