Article View: linux.debian.ports.68k
Article #6Kernel 7.3.6 fails to build from source on m68k
From: 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
Technical Details
Message-ID:
<O55yx-f5yj-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Newsgroups: linux.debian.ports.68k Subject: Kernel 7.3.6 fails to build from source on m68k Date: Mon, 30 Nov 2026 10:10:01 +0100 Message-ID: <O55yx-f5yj-5@gated-at.bofh.it> X-Mailbox-Line: From debian-68k-request@lists.debian.org Mon Nov 30 09:02:45 2026 Old-Return-Path: <glaubitz@zedat.fu-berlin.de> X-Amavis-Spam-Status: No, score=-4.198 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.62.1 MIME-Version: 1.0 X-Originating-IP: 87.189.149.181 X-Zedat-Hint: PO X-Mailing-List: <debian-68k@lists.debian.org> archive/latest/22360 List-ID: <debian-68k.lists.debian.org> List-URL: <https://lists.debian.org/debian-68k/> List-Archive: https://lists.debian.org/msgid-search/a5bdf3c4028c57da8bce4cd3312f5e9e0a51227c.camel@physik.fu-berlin.de Approved: robomod@news.nic.it Lines: 70 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: linux-m68k <linux-m68k@vger.kernel.org>, debian-68k <debian-68k@lists.debian.org> X-Original-Date: Mon, 30 Nov 2026 10:02:30 +0100 X-Original-Message-ID: <a5bdf3c4028c57da8bce4cd3312f5e9e0a51227c.camel@physik.fu-berlin.de>