Thread View: linux.debian.ports.68k
2 messages
2 total messages
Started by John Paul Adrian Glaubitz
Mon, 30 Nov 2026 09:10
Kernel 7.3.6 fails to build from source on m68k
Author: John Paul Adrian Glaubitz
Date: Mon, 30 Nov 2026 09:10
Date: Mon, 30 Nov 2026 09:10
70 lines
5385 bytes
5385 bytes
Hi Geert,
kernel 7.3.6 no longer builds on m68k [1]:
# CC kernel/ucount.o
m68k-linux-gnu-gcc-16 -Wp,-MMD,kernel/.ucount.o.d -nostdinc -I/build/reproducible-path/linux-7.3.6/arch/m68k/include -I./arch/m68k/include/generated -I/build/reproducible-path/linux-7.3.6/include -
I./include -I/build/reproducible-path/linux-7.3.6/arch/m68k/include/uapi -I./arch/m68k/include/generated/uapi -I/build/reproducible-path/linux-7.3.6/include/uapi -I./include/generated/uapi -include
/build/reproducible-path/linux-7.3.6/include/linux/compiler-version.h -include /build/reproducible-path/linux-7.3.6/include/linux/kconfig.h -include /build/reproducible-path/linux-
7.3.6/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/build/reproducible-path/linux-7.3.6/= -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -std=gnu11 -fms-
extensions -pipe -ffreestanding -ffixed-a2 -fno-delete-null-pointer-checks -Os -fno-allow-store-data-races -fno-stack-protector -fomit-frame-pointer -ftrivial-auto-var-init=zero -fzero-init-padding-
bits=all -fno-stack-clash-protection -fdiagnostics-show-context=2 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -
Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-
declarations -Wmissing-prototypes -Wframe-larger-than=1280 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-
initialization -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-
conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-
missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -fdebug-prefix-map=/build/reproducible-path/linux-7.3.6/= -
I/build/reproducible-path/linux-7.3.6/kernel -Ikernel -DKBUILD_MODFILE='"kernel/ucount"' -DKBUILD_BASENAME='"ucount"' -DKBUILD_MODNAME='"ucount"' -D__KBUILD_MODNAME=ucount -c -o kernel/ucount.o
/build/reproducible-path/linux-7.3.6/kernel/ucount.c
In file included from /build/reproducible-path/linux-7.3.6/include/linux/math64.h:8,
from /build/reproducible-path/linux-7.3.6/include/linux/time.h:6,
from /build/reproducible-path/linux-7.3.6/include/linux/stat.h:19,
from /build/reproducible-path/linux-7.3.6/kernel/ucount.c:3:
/build/reproducible-path/linux-7.3.6/include/vdso/math64.h: In function ‘__iter_div64_u64_rem’:
/build/reproducible-path/linux-7.3.6/include/vdso/math64.h:33:17: error: implicit declaration of function ‘OPTIMIZER_HIDE_VAR’ [-Wimplicit-function-declaration]
33 | OPTIMIZER_HIDE_VAR(dividend);
| ^~~~~~~~~~~~~~~~~~
I assume it's the result of a bodged backport.
Adrian
> [1] https://buildd.debian.org/status/fetch.php?pkg=linux&arch=m68k&ver=7.3.6-1&stamp=1795562759&raw=0
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Kernel 7.3.6 fails to build from source on m68k
Author: Geert Uytterhoeven
Date: Mon, 30 Nov 2026 09:20
Date: Mon, 30 Nov 2026 09:20
33 lines
4715 bytes
4715 bytes
Hi Adrian,
On Mon, 30 Nov 2026 at 10:02, John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
> kernel 7.3.6 no longer builds on m68k [1]:
> /build/reproducible-path/linux-7.3.6/include/vdso/math64.h: In function ‘__iter_div64_u64_rem’:
> /build/reproducible-path/linux-7.3.6/include/vdso/math64.h:33:17: error: implicit declaration of function ‘OPTIMIZER_HIDE_VAR’ [-Wimplicit-function-declaration]
> 33 | OPTIMIZER_HIDE_VAR(dividend);
> | ^~~~~~~~~~~~~~~~~~
>
> I assume it's the result of a bodged backport.
Thanks, missing backport of commit c1b910b270fee893 ("vdso/math64:
Use OPTIMIZER_HIDE_VAR() in __iter_div_u64_rem()"), reported to Greg.
https://lore.kernel.org/all/20261130091652.1797360-1-geert@kernel.org/
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads