* kexec build regression in linux-6.6.70 (linux-6.6.y LTS branch)
@ 2025-01-10 9:33 Lars Wendler
2025-01-10 9:40 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Lars Wendler @ 2025-01-10 9:33 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: Linux kernel regressions list, Baoquan He
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
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.
Kind regards
Lars Wendler
[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kexec build regression in linux-6.6.70 (linux-6.6.y LTS branch)
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
2025-01-10 14:05 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2025-01-10 9:40 UTC (permalink / raw)
To: Lars Wendler; +Cc: Linux kernel regressions list, Baoquan He
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kexec build regression in linux-6.6.70 (linux-6.6.y LTS branch)
2025-01-10 9:40 ` Greg Kroah-Hartman
@ 2025-01-10 14:05 ` Greg Kroah-Hartman
0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2025-01-10 14:05 UTC (permalink / raw)
To: Lars Wendler; +Cc: Linux kernel regressions list, Baoquan He
On Fri, Jan 10, 2025 at 10:40:24AM +0100, Greg Kroah-Hartman wrote:
> 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 :)
Should now be fixed with the 6.6.71 release.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-10 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2025-01-10 14:05 ` Greg Kroah-Hartman
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.