Re: Build failures in v4.14.y, v4.19.y, v5.0.y, v5.1.y

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

 



On Mon, May 27, 2019 at 04:39:51PM -0700, Guenter Roeck wrote:
> The following build failure affects all stable releases starting with v4.14.y.
> v4.9.y and earlier are not affected.
> 
> Guenter
> 
> ---
> Build reference: v4.14.122
> gcc version: x86_64-linux-gcc.br_real (Buildroot 2017.02) 6.3.0
> 
> Building um:defconfig ... failed
> --------------
> Error log:
> In file included from /opt/buildbot/slave/stable-queue-4.14/build/arch/x86/um/../kernel/module.c:34:0:
> /opt/buildbot/slave/stable-queue-4.14/build/arch/x86/include/asm/text-patching.h: In function ‘int3_emulate_jmp’:
> /opt/buildbot/slave/stable-queue-4.14/build/arch/x86/include/asm/text-patching.h:43:6: error: ‘struct pt_regs’ has no member named ‘ip’
>   regs->ip = ip;
>       ^~
> /opt/buildbot/slave/stable-queue-4.14/build/arch/x86/include/asm/text-patching.h: In function ‘int3_emulate_push’:
> /opt/buildbot/slave/stable-queue-4.14/build/arch/x86/include/asm/text-patching.h:58:6: error: ‘struct pt_regs’ has no member named ‘sp’
>   regs->sp -= sizeof(unsigned long);
>       ^~
> /opt/buildbot/slave/stable-queue-4.14/build/arch/x86/include/asm/text-patching.h:59:24: error: ‘struct pt_regs’ has no member named ‘sp’
>   *(unsigned long *)regs->sp = val;
>                         ^~
> /opt/buildbot/slave/stable-queue-4.14/build/arch/x86/include/asm/text-patching.h: In function ‘int3_emulate_call’:
> /opt/buildbot/slave/stable-queue-4.14/build/arch/x86/include/asm/text-patching.h:64:30: error: ‘struct pt_regs’ has no member named ‘ip’
>   int3_emulate_push(regs, regs->ip - INT3_INSN_SIZE + CALL_INSN_SIZE);
>                               ^~
> make[2]: *** [arch/x86/um/../kernel/module.o] Error 1

This should already be fixed with 693713cbdb3a ("x86: Hide the
int3_emulate_call/jmp functions from UML") which is queued up in all of
these trees.

Sorry about the breakage.

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux