[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel build fails



'stbcix' has to come from arch/powerpc/include/asm/io.h - and is already behind an ifdefs, though try changing it to #ifdef CONFIG_PPC64? I'm building now.

Michael

On Thu, Jan 20, 2022, 10:05 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
Hi Mike!

On 1/20/22 09:46, Mike wrote:
>> So, in order to fix this issue, someone needs to update the kernel to work with the new binutils version.
>
> That's what the patch does, I did a full Debian kernel build, but I'm having trouble explaining myself with my left hand.

I still think that your patch is incomplete as the "dsall" instruction is not the only
instruction that is affected by this change. See the kernel build logs below.

>From [1]:

{standard input}: Assembler messages:
{standard input}:1353: Error: unrecognized opcode: `ptesync'

and [2]:

{standard input}: Assembler messages:
{standard input}:2146: Error: unrecognized opcode: `stbcix'

> [1] https://buildd.debian.org/status/fetch.php?pkg=linux&arch=powerpc&ver=5.15.15-1&stamp=1642579068&raw=0
> [2] https://buildd.debian.org/status/fetch.php?pkg=linux&arch=ppc64&ver=5.15.15-1&stamp=1642578946&raw=0

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: