Build failure 6.19-rc, 6.19.and 7.0-rc1

From: Sid Boyce

Date: Sat Feb 28 2026 - 17:57:50 EST


openSUSE Tumbleweed,  gcc version 15.2.1 20260202 (SUSE Linux) 

I can't quite remember how far back to do a git bisect.

Regards

Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
CALL scripts/checksyscalls.sh
DESCEND objtool
INSTALL libsubcmd_headers
DESCEND bpf/resolve_btfids
INSTALL libsubcmd_headers
CC drivers/iommu/generic_pt/fmt/iommu_amdv1.o
In file included from <command-line>:
In function ‘amdv1pt_install_leaf_entry’,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:650:3,
inlined from ‘__map_single_page0’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘pt_descend’ at drivers/iommu/generic_pt/fmt/../pt_iter.h:391:9,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:657:10,
inlined from ‘__map_single_page1’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘pt_descend’ at drivers/iommu/generic_pt/fmt/../pt_iter.h:391:9,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:657:10,
inlined from ‘__map_single_page2.constprop’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1:
././include/linux/compiler_types.h:706:45: error: call to ‘__compiletime_assert_71’ declared with attribute error: FIELD_PREP: value too large for the field
706 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
././include/linux/compiler_types.h:687:25: note: in definition of macro ‘__compiletime_assert’
687 | prefix ## suffix(); \
| ^~~~~~
././include/linux/compiler_types.h:706:9: note: in expansion of macro ‘_compiletime_assert’
706 | _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/bitfield.h:70:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
70 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
| ^~~~~~~~~~~~~~~~
./include/linux/bitfield.h:91:17: note: in expansion of macro ‘__BF_FIELD_CHECK_MASK’
91 | __BF_FIELD_CHECK_MASK(mask, val, pfx); \
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/bitfield.h:138:17: note: in expansion of macro ‘__FIELD_PREP’
138 | __FIELD_PREP(_mask, _val, "FIELD_PREP: "); \
| ^~~~~~~~~~~~
drivers/iommu/generic_pt/fmt/amdv1.h:220:26: note: in expansion of macro ‘FIELD_PREP’
220 | FIELD_PREP(AMDV1PT_FMT_OA,
| ^~~~~~~~~~
In function ‘amdv1pt_install_leaf_entry’,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:650:3,
inlined from ‘__map_single_page0’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘__map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘pt_walk_range’ at drivers/iommu/generic_pt/fmt/../pt_iter.h:408:9,
inlined from ‘do_map’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:807:9,
inlined from ‘pt_iommu_amdv1_map_pages’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:907:8:
././include/linux/compiler_types.h:706:45: error: call to ‘__compiletime_assert_71’ declared with attribute error: FIELD_PREP: value too large for the field
706 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
././include/linux/compiler_types.h:687:25: note: in definition of macro ‘__compiletime_assert’
687 | prefix ## suffix(); \
| ^~~~~~
././include/linux/compiler_types.h:706:9: note: in expansion of macro ‘_compiletime_assert’
706 | _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/bitfield.h:70:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
70 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
| ^~~~~~~~~~~~~~~~
./include/linux/bitfield.h:91:17: note: in expansion of macro ‘__BF_FIELD_CHECK_MASK’
91 | __BF_FIELD_CHECK_MASK(mask, val, pfx); \
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/bitfield.h:138:17: note: in expansion of macro ‘__FIELD_PREP’
138 | __FIELD_PREP(_mask, _val, "FIELD_PREP: "); \
| ^~~~~~~~~~~~
drivers/iommu/generic_pt/fmt/amdv1.h:220:26: note: in expansion of macro ‘FIELD_PREP’
220 | FIELD_PREP(AMDV1PT_FMT_OA,
| ^~~~~~~~~~
In function ‘amdv1pt_install_leaf_entry’,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:650:3,
inlined from ‘__map_single_page0’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘pt_descend’ at drivers/iommu/generic_pt/fmt/../pt_iter.h:391:9,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:657:10,
inlined from ‘__map_single_page1’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘__map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘pt_walk_range’ at drivers/iommu/generic_pt/fmt/../pt_iter.h:408:9,
inlined from ‘do_map’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:807:9,
inlined from ‘pt_iommu_amdv1_map_pages’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:907:8:
././include/linux/compiler_types.h:706:45: error: call to ‘__compiletime_assert_71’ declared with attribute error: FIELD_PREP: value too large for the field
706 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
././include/linux/compiler_types.h:687:25: note: in definition of macro ‘__compiletime_assert’
687 | prefix ## suffix(); \
| ^~~~~~
././include/linux/compiler_types.h:706:9: note: in expansion of macro ‘_compiletime_assert’
706 | _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/bitfield.h:70:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
70 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
| ^~~~~~~~~~~~~~~~
./include/linux/bitfield.h:91:17: note: in expansion of macro ‘__BF_FIELD_CHECK_MASK’
91 | __BF_FIELD_CHECK_MASK(mask, val, pfx); \
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/bitfield.h:138:17: note: in expansion of macro ‘__FIELD_PREP’
138 | __FIELD_PREP(_mask, _val, "FIELD_PREP: "); \
| ^~~~~~~~~~~~
drivers/iommu/generic_pt/fmt/amdv1.h:220:26: note: in expansion of macro ‘FIELD_PREP’
220 | FIELD_PREP(AMDV1PT_FMT_OA,
| ^~~~~~~~~~
In function ‘amdv1pt_install_leaf_entry’,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:650:3,
inlined from ‘__map_single_page0’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘pt_descend’ at drivers/iommu/generic_pt/fmt/../pt_iter.h:391:9,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:657:10,
inlined from ‘__map_single_page1’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘pt_descend’ at drivers/iommu/generic_pt/fmt/../pt_iter.h:391:9,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:657:10,
inlined from ‘__map_single_page2’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘pt_descend’ at drivers/iommu/generic_pt/fmt/../pt_iter.h:391:9,
inlined from ‘__do_map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:657:10,
inlined from ‘__map_single_page3’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘__map_single_page’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:661:1,
inlined from ‘pt_walk_range’ at drivers/iommu/generic_pt/fmt/../pt_iter.h:408:9,
inlined from ‘do_map’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:807:9,
inlined from ‘pt_iommu_amdv1_map_pages’ at drivers/iommu/generic_pt/fmt/../iommu_pt.h:907:8:
././include/linux/compiler_types.h:706:45: error: call to ‘__compiletime_assert_71’ declared with attribute error: FIELD_PREP: value too large for the field
706 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
././include/linux/compiler_types.h:687:25: note: in definition of macro ‘__compiletime_assert’
687 | prefix ## suffix(); \
| ^~~~~~
././include/linux/compiler_types.h:706:9: note: in expansion of macro ‘_compiletime_assert’
706 | _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/bitfield.h:70:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
70 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
| ^~~~~~~~~~~~~~~~
./include/linux/bitfield.h:91:17: note: in expansion of macro ‘__BF_FIELD_CHECK_MASK’
91 | __BF_FIELD_CHECK_MASK(mask, val, pfx); \
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/bitfield.h:138:17: note: in expansion of macro ‘__FIELD_PREP’
138 | __FIELD_PREP(_mask, _val, "FIELD_PREP: "); \
| ^~~~~~~~~~~~
drivers/iommu/generic_pt/fmt/amdv1.h:220:26: note: in expansion of macro ‘FIELD_PREP’
220 | FIELD_PREP(AMDV1PT_FMT_OA,
| ^~~~~~~~~~
make[5]: *** [scripts/Makefile.build:289: drivers/iommu/generic_pt/fmt/iommu_amdv1.o] Error 1
make[4]: *** [scripts/Makefile.build:546: drivers/iommu/generic_pt/fmt] Error 2
make[3]: *** [scripts/Makefile.build:546: drivers/iommu] Error 2
make[2]: *** [scripts/Makefile.build:546: drivers] Error 2
make[1]: *** [/usr/src/linux-6.19.0-22/Makefile:2101: .] Error 2
make: *** [Makefile:248: __sub-make] Error 2