All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Lars Wendler <wendler.lars@web.de>
Cc: Linux kernel regressions list <regressions@lists.linux.dev>,
	Baoquan He <bhe@redhat.com>
Subject: Re: kexec build regression in linux-6.6.70 (linux-6.6.y LTS branch)
Date: Fri, 10 Jan 2025 10:40:24 +0100	[thread overview]
Message-ID: <2025011051-postbox-drove-0f5c@gregkh> (raw)
In-Reply-To: <20250110103328.0e3906a8@chagall.paradoxon.rec>

On Fri, Jan 10, 2025 at 10:33:28AM +0100, Lars Wendler wrote:
> Hello folks,
> 
> trying to build latest linux-6.6.y release (6.6.70) fails with the
> following error:
> 
>   LD      .tmp_vmlinux.kallsyms1
> ld: vmlinux.o: in function `__crash_kexec':
> (.text+0x1bf9c1): undefined reference to `machine_crash_shutdown'
> ld: vmlinux.o: in function `do_kexec_load':
> kexec.c:(.text+0x1c15bb): undefined reference to
>   `arch_kexec_protect_crashkres' ld: kexec.c:(.text+0x1c1611):
>   undefined reference to `arch_kexec_unprotect_crashkres' ld:
>   vmlinux.o: in function `__do_sys_kexec_file_load':
>   kexec_file.c:(.text+0x1c272a): undefined reference to
>   `arch_kexec_protect_crashkres' ld: kexec_file.c:(.text+0x1c2772):
>   undefined reference to `arch_kexec_unprotect_crashkres' make[2]: ***
>   [scripts/Makefile.vmlinux:37: vmlinux] Error 1 make[1]: ***
>   [/usr/src/linux-6.6.70/Makefile:1164: vmlinux] Error 2 make: ***
>   [Makefile:234: __sub-make] Error 2
> 
> 
> I suppose this is related to commit
> e5b1574a8ca28c40cf53eda43f6c3b016ed41e27 which is the only commit in
> question that changes kexec code between linux-6.6.69 and linux-6.6.70.

Yeah, this has been reported a number of times, I'll try to track down a
fix later today, sorry about this...

If you change your .config, it does work :)

thanks,

greg k-h

  reply	other threads:[~2025-01-10  9:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-10  9:33 kexec build regression in linux-6.6.70 (linux-6.6.y LTS branch) Lars Wendler
2025-01-10  9:40 ` Greg Kroah-Hartman [this message]
2025-01-10 14:05   ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2025011051-postbox-drove-0f5c@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=bhe@redhat.com \
    --cc=regressions@lists.linux.dev \
    --cc=wendler.lars@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.