šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.ports.sparc
Article #19

Re: Unable to compile 6.12 kernels since 105

#19
From: Iulian Vaideanu
Date: Sun, 22 Nov 2026 16:40
110 lines
8982 bytes
Same behavior up to this date (6.12.118 and the latest GCC 16.2 in
ports / unstable):

  CC      fs/fcntl.o
In file included from <command-line>:
fs/fcntl.c: In function ā€˜fcntl_init’:
././include/linux/compiler_types.h:543:45: error: call to
ā€˜__compiletime_assert_443’ declared with attribute error: BUILD_BUG_ON
failed: 21 - 1 != HWEIGHT32( (VALID_OPEN_FLAGS & ~(O_NONBLOCK |
O_NDELAY)) | __FMODE_EXEC | __FMODE_NONOTIFY)
  543 |         _compiletime_assert(condition, msg,
__compiletime_assert_, __COUNTER__)
      |                                             ^
././include/linux/compiler_types.h:524:25: note: in definition of
macro ā€˜__compiletime_assert’
  524 |                         prefix ## suffix();
         \
      |                         ^~~~~~
././include/linux/compiler_types.h:543:9: note: in expansion of macro
ā€˜_compiletime_assert’
  543 |         _compiletime_assert(condition, msg,
__compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro
ā€˜compiletime_assert’
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:50:9: note: in expansion of macro ā€˜BUILD_BUG_ON_MSG’
   50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |         ^~~~~~~~~~~~~~~~
fs/fcntl.c:1169:9: note: in expansion of macro ā€˜BUILD_BUG_ON’
 1169 |         BUILD_BUG_ON(21 - 1 /* for O_RDONLY being 0 */ !=
      |         ^~~~~~~~~~~~
make[6]: *** [scripts/Makefile.build:229: fs/fcntl.o] Error 1
make[5]: *** [scripts/Makefile.build:466: fs] Error 2
make[4]: *** [Makefile:1983: .] Error 2
make[3]: *** [debian/rules:76: build-arch] Error 2
dpkg-buildpackage: error: make -f debian/rules binary subprocess
failed with exit status 2
make[2]: *** [scripts/Makefile.package:126: bindeb-pkg] Error 2
make[1]: *** [/home/linux-kernel/linux-6.12.118/Makefile:1604:
bindeb-pkg] Error 2
make: *** [Makefile:224: __sub-make] Error 2


On Wed, Sep 9, 2026 at 10:05 AM Iulian Vaideanu
<iulian.vaideanu@gmail.com> wrote:
>
> Hello everyone,
>
> Ever since 6.12.105 I cannot "make bindeb-pkg" vanilla kernels - it always ends in the error below in fcntl.c, probably brought up by one of the fsnotify-related commits in 105.  6.18 still works though.
>
> Trixie security has had two 6.12 kernels since then (105 and 107), so I'm guessing either my problem doesn't affect x86, or they worked around it (reverted some commit?) or I'm missing something.
>
> Any thoughts are appreciated - thank you.
>
>   CC      fs/fcntl.o
> In file included from <command-line>:
> fs/fcntl.c: In function ā€˜fcntl_init’:
> ././include/linux/compiler_types.h:557:45: error: call to ā€˜__compiletime_assert_435’ declared with attribute error: BUILD_BUG_ON failed: 21 - 1 != HWEIGHT32( (VALID_OPEN_FLAGS & ~(O_NONBLOCK | O_NDELAY)) | __FMODE_EXEC | __FMODE_NONOTIFY)
>   557 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
>       |                                             ^
> ././include/linux/compiler_types.h:538:25: note: in definition of macro ā€˜__compiletime_assert’
>   538 |                         prefix ## suffix();                             \
>       |                         ^~~~~~
> ././include/linux/compiler_types.h:557:9: note: in expansion of macro ā€˜_compiletime_assert’
>   557 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
>       |         ^~~~~~~~~~~~~~~~~~~
> ./include/linux/build_bug.h:39:37: note: in expansion of macro ā€˜compiletime_assert’
>    39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
>       |                                     ^~~~~~~~~~~~~~~~~~
> ./include/linux/build_bug.h:50:9: note: in expansion of macro ā€˜BUILD_BUG_ON_MSG’
>    50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
>       |         ^~~~~~~~~~~~~~~~
> fs/fcntl.c:1166:9: note: in expansion of macro ā€˜BUILD_BUG_ON’
>  1166 |         BUILD_BUG_ON(21 - 1 /* for O_RDONLY being 0 */ !=
>       |         ^~~~~~~~~~~~
> make[6]: *** [scripts/Makefile.build:229: fs/fcntl.o] Error 1
> make[5]: *** [scripts/Makefile.build:466: fs] Error 2
> make[4]: *** [Makefile:1967: .] Error 2
> make[3]: *** [debian/rules:76: build-arch] Error 2
> dpkg-buildpackage: error: make -f debian/rules binary subprocess failed with exit status 2
> make[2]: *** [scripts/Makefile.package:126: bindeb-pkg] Error 2
> make[1]: *** [/home/linux-kernel/linux-6.12.107/Makefile:1588: bindeb-pkg] Error 2
> make: *** [Makefile:224: __sub-make] Error 2
>
Technical Details
Message-ID: <O2iLD-dvad-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NBkBr-g6Oi-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Iulian Vaideanu <iulian.vaideanu@gmail.com>
Newsgroups: linux.debian.ports.sparc
Subject: Re: Unable to compile 6.12 kernels since 105
Date: Sun, 22 Nov 2026 17:40:01 +0100
Message-ID: <O2iLD-dvad-11@gated-at.bofh.it>
References: <NBkBr-g6Oi-7@gated-at.bofh.it>
X-Original-To: debian-sparc@lists.debian.org
X-Mailbox-Line: From debian-sparc-request@lists.debian.org  Sun Nov 22 16:31:47 2026
Old-Return-Path: <iulian.vaideanu@gmail.com>
X-Amavis-Spam-Status: No, score=-2.099 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]
 autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -5.5
Arc-Seal: i=1; a=rsa-sha256; t=1795365091; cv=none;
        d=google.com; s=arc-20260327;
        b=f37pEHTMg2zg1BMs8aqWFgF6bPvO6hXdg59ZxVHwcLfeq8EBloAB95t+k8HgxwSoVj
         WaX/ryTRRYta8xaigg5tbnc/T5tF3dfx7jpnkWFdzTo8rVzLPgUPZtIkxzr/EODEvuKR
         jvokW6oqfVC70FHQ7Iz2RHvtY0GlSS7VRQSKwgwmf0vNG95Nd5qCn04dwJ04FnQ32tlQ
         /7WrIJYMZ2nSF1f5Jj7xjcHfTBEvrEgO/KD/iQQwIImJ8NkRODOdL3tjr541Rn5UlkLE
         2tdmMdCJP33NvMOdPHxERk2tEwQM85e8C/5Kj+Epwd/gj+X1ElKnWgNRW+urUE4/dYQt
         0AmA==
Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=content-transfer-encoding:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=78vpwQlZlk8k46Av1bhWLEhP4c8b/WZhytCT4ZXPNfw=;
        fh=e7y7mL9KOBlJk8NlxAD7kpBY0W9jgq/NV5mw14i7YGc=;
        b=L1rDs6JhERdwFkb6vdAJ9Kg3TGSgEuZRgN+moIioxfMKMMhdtgMgLnn4Td8zzWkJH6
         Z1Dvv+WhkGyosyJ3Mtun7Q9xrCWnhnZ6qbPq5zawP7ghydA294YRGFJpTqcUAoCrgavM
         ubddHwZhmNlfILFYrnryWLkaANse+hwlkByumW4T3jm11YhUjTrWj1qm3Yh9ecPSA+wq
         skJL4zFIhklS9z9umsbA74arDEVnmQi0ECLEGJ9auAg/wPdwqGmiMbDaMyVgcm64pP66
         OgwxUvJS0GHn4P7V/PFfpwr1lWZUPJWAucpZoONHKk4FAB/gce9g76Bk++vBzsc91nXP
         JDgQ==;
        darn=lists.debian.org
Arc-Authentication-Results: i=1; mx.google.com; arc=none
X-Gm-Message-State: APuU4Z8rVbm7Ir8WUgomljWmTNyWwTBXYSSkL5zyBHuU64c4oJsSsCs7
	EEstB36uQgzgucroEFY+s/T7EvELAYMe4ZqMlKbpxItOm6sidb0MDD8yszRhg30baFUF6JecwDo
	6kBZGvs4BUsFJMd6EXo5L9h9B65DhZtbuwr+o
X-Gm-Gg: AZFdTZdaWKUJ9uyCg77hE1dU8y2vT+6zZE6XnocM5Hg7maKQY5tdp32SFNtjlLpEDMf
	L9SnVbu26ft6sxNLPo53FginZDHOqBWtG9IHr3mQUvTEjOuEGIx5k+xp7SoyHHTi/ZH2rsXJbiO
	U+LF4chS9FxnrCzzfsk1qGXb60ncw1C8RsrdkmQuOZlebOPOOvR+dzy7n4RmDknVsXVDQkpBkgM
	Z4NMfL08Ly0VsR9AaQextbGVmm+QM++Yo1W2P32D/n9TaWOInouIaCOHsFpTdYMYFupJZdfZHH1
	QuczSmoHBjDh3slyLeiZ6aa2DbjHWIN7GFxGcm+yYDHQtghTbcMLKCcZGmn/TrfhSrq0Ncf0mFw
	Q1KX3ETtpBtTaiaAeJCM9C1BBgkrj9+HD6ak=
X-Received: by 2002:a05:600c:6749:b0:4bb:5d38:259f with SMTP id
 5b1f17b1804b1-4bb8881099cmr187634535e9.12.1795365091155; Sun, 22 Nov 2026
 08:31:31 -0800 (PST)
MIME-Version: 1.0
X-Gm-Features: Aa3M54qSdE6EBnRjEG-MtAfcqbtBlDP-M6pseltQRr04XWhgky2St2wJ_R9aBqQ
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailing-List: <debian-sparc@lists.debian.org> archive/latest/29612
List-ID: <debian-sparc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-sparc/>
List-Archive: https://lists.debian.org/msgid-search/CAPK=yVMTVFk8N=v7CdS_9bZWvS+wB+Me_rMoyfiAyF2wnyUbHA@mail.gmail.com
Approved: robomod@news.nic.it
Lines: 110
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 22 Nov 2026 18:31:19 +0200
X-Original-Message-ID: <CAPK=yVMTVFk8N=v7CdS_9bZWvS+wB+Me_rMoyfiAyF2wnyUbHA@mail.gmail.com>
X-Original-References: <CAPK=yVM5DCCK=dsgic_WyBgCzkUocp0C2qSF8sdNf0LBWtg2VQ@mail.gmail.com>