Thread View: linux.debian.ports.sparc
3 messages
3 total messages
Started by Iulian Vaideanu
Sun, 22 Nov 2026 16:40
Re: Unable to compile 6.12 kernels since 105
Author: Iulian Vaideanu
Date: Sun, 22 Nov 2026 16:40
Date: Sun, 22 Nov 2026 16:40
110 lines
8982 bytes
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
>
Re: Unable to compile 6.12 kernels since 105
Author: John Paul Adrian Glaubitz
Date: Sun, 22 Nov 2026 16:50
Date: Sun, 22 Nov 2026 16:50
62 lines
4674 bytes
4674 bytes
Hi Iulian, On Sun, 2026-11-22 at 18:31 +0200, Iulian Vaideanu wrote: > 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 Is this reproducible with the upstream kernel? If yes, you should report the problem upstream so that the kernel LTS maintainers can have a look. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: Unable to compile 6.12 kernels since 105
Author: John Paul Adrian Glaubitz
Date: Wed, 25 Nov 2026 08:20
Date: Wed, 25 Nov 2026 08:20
18 lines
2689 bytes
2689 bytes
Hi Iulian, On Wed, 2026-11-25 at 02:06 +0200, Iulian Vaideanu wrote: > I managed to do that eventually (as it turns out, it had already been > reported a day before) - a patch is on its way and now I have enough > info to resume building 6.12s. Great to hear. Usually, build issues with the kernel should always be reported upstream. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
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