Verified in Ubuntu-bluefield-5.15.0-1089.91, following the executed test
plan

===============================================================================================

afaina@ubuntu-focal:~/bluefield/linux-main$ aarch64-linux-gnu-gcc --version
aarch64-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

==============BEFORE THE COMMIT================================================
commit 92d0ab3e8b27f59b61551f78af671f211e34fe51 (HEAD, tag: 
Ubuntu-bluefield-5.15.0-1086.88)
Author: Alessio Faina <[email protected]>
Date:   Fri Feb 13 10:05:31 2026 +0100

    UBUNTU: Ubuntu-bluefield-5.15.0-1086.88
    
    Signed-off-by: Alessio Faina <[email protected]>


afaina@ubuntu-focal:~/bluefield/linux-main$ make M=fs/nfsd ARCH=arm64 
CROSS_COMPILE=aarch64-linux-gnu- -j16
.............
In file included from <command-line>:
In function ‘nfsd4_get_drc_mem’,
    inlined from ‘check_forechannel_attrs’ at fs/nfsd/nfs4state.c:3542:16,
    inlined from ‘nfsd4_create_session’ at fs/nfsd/nfs4state.c:3615:11:
././include/linux/compiler_types.h:333:38: error: call to 
‘__compiletime_assert_791’ declared with attribute error: clamp() low limit 
slotsize greater than high limit total_avail/scale_factor
  333 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
././include/linux/compiler_types.h:314:4: note: in definition of macro 
‘__compiletime_assert’
  314 |    prefix ## suffix();    \
      |    ^~~~~~
././include/linux/compiler_types.h:333:2: note: in expansion of macro 
‘_compiletime_assert’
  333 |  _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/minmax.h:188:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  188 |  BUILD_BUG_ON_MSG(statically_true(ulo > uhi),    \
      |  ^~~~~~~~~~~~~~~~
./include/linux/minmax.h:195:2: note: in expansion of macro ‘__clamp_once’
  195 |  __clamp_once(type, val, lo, hi, __UNIQUE_ID(v_), __UNIQUE_ID(l_), 
__UNIQUE_ID(h_))
      |  ^~~~~~~~~~~~
./include/linux/minmax.h:218:36: note: in expansion of macro ‘__careful_clamp’
  218 | #define clamp_t(type, val, lo, hi) __careful_clamp(type, val, lo, hi)
      |                                    ^~~~~~~~~~~~~~~
fs/nfsd/nfs4state.c:1826:10: note: in expansion of macro ‘clamp_t’
 1826 |  avail = clamp_t(unsigned long, avail, slotsize,
      |          ^~~~~~~
make[1]: *** [scripts/Makefile.build:297: fs/nfsd/nfs4state.o] Error 1
make: *** [Makefile:1928: fs/nfsd] Error 2
afaina@ubuntu-focal:~/bluefield/linux-main$ 



==============AFTER THE COMMIT================================================

commit 4a3998b61a0d77d39f345110de3302d71f1dda00 (HEAD -> cranky/master-next, 
tag: Ubuntu-bluefield-5.15.0-1089.91, origin/master-next, 
cbd/cranky/master-next)
Author: Alessio Faina <[email protected]>
Date:   Wed Mar 25 17:01:46 2026 +0100

    UBUNTU: Ubuntu-bluefield-5.15.0-1089.91
    
    Signed-off-by: Alessio Faina <[email protected]>

afaina@ubuntu-focal:~/bluefield/linux-main$ make M=fs/nfsd ARCH=arm64 
CROSS_COMPILE=aarch64-linux-gnu- -j16
.............
  MODPOST fs/nfsd/Module.symvers
  CC [M]  fs/nfsd/nfsd.mod.o
  LD [M]  fs/nfsd/nfsd.ko
  BTF [M] fs/nfsd/nfsd.ko


** Tags removed: verification-needed-jammy-linux-bluefield
** Tags added: verification-done-jammy-linux-bluefield

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142422

Title:
  Bluefield 5.15.0-1084.86 build failure: nfsd4_get_drc_mem assertion
  with GCC 9

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2142422/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to