stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Build failures in v4.14.y, v4.19.y, v5.0.y, v5.1.y
@ 2019-05-27 23:39 Guenter Roeck
  2019-05-27 23:41 ` Guenter Roeck
  2019-05-28  4:48 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 3+ messages in thread
From: Guenter Roeck @ 2019-05-27 23:39 UTC (permalink / raw)
  To: stable, Greg Kroah-Hartman

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build failures in v4.14.y, v4.19.y, v5.0.y, v5.1.y
  2019-05-27 23:39 Build failures in v4.14.y, v4.19.y, v5.0.y, v5.1.y Guenter Roeck
@ 2019-05-27 23:41 ` Guenter Roeck
  2019-05-28  4:48 ` Greg Kroah-Hartman
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2019-05-27 23:41 UTC (permalink / raw)
  To: stable, Greg Kroah-Hartman

On 5/27/19 4:39 PM, Guenter Roeck wrote:
> The following build failure affects all stable releases starting with v4.14.y.
> v4.9.y and earlier are not affected.
> 
Additional information: v4.14.121, v4.19.45, v5.0.18, and v5.1.4 are not affected.

Guenter

> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build failures in v4.14.y, v4.19.y, v5.0.y, v5.1.y
  2019-05-27 23:39 Build failures in v4.14.y, v4.19.y, v5.0.y, v5.1.y Guenter Roeck
  2019-05-27 23:41 ` Guenter Roeck
@ 2019-05-28  4:48 ` Greg Kroah-Hartman
  1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2019-05-28  4:48 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: stable

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-28  4:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 23:39 Build failures in v4.14.y, v4.19.y, v5.0.y, v5.1.y Guenter Roeck
2019-05-27 23:41 ` Guenter Roeck
2019-05-28  4:48 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).