========== build_32bit - FAILED In file included from : In function ‘__virtio_test_bit’, inlined from ‘virtio_has_feature’ at ../include/linux/virtio_config.h:204:9, inlined from ‘virtnet_probe’ at ../drivers/net/virtio_net.c:6805:7: ./../include/linux/compiler_types.h:557:45: error: call to ‘__compiletime_assert_849’ declared with attribute error: BUILD_BUG_ON failed: fbit >= VIRTIO_FEATURES_MAX 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) | ^~~~~~~~~~~~~~~~ ../include/linux/virtio_config.h:152:17: note: in expansion of macro ‘BUILD_BUG_ON’ 152 | BUILD_BUG_ON(fbit >= VIRTIO_FEATURES_MAX); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 In file included from ../include/linux/bits.h:6, from ../include/linux/bitops.h:6, from ../include/linux/log2.h:12, from ../arch/x86/include/asm/div64.h:8, from ../include/linux/math.h:6, from ../include/linux/math64.h:6, from ../include/linux/time.h:6, from ../include/linux/compat.h:10, from ../drivers/vhost/net.c:8: ../drivers/vhost/net.c: In function ‘vhost_net_set_features’: ../include/vdso/bits.h:8:41: warning: left shift count >= width of type [-Wshift-count-overflow] 8 | #define BIT_ULL(nr) (ULL(1) << (nr)) | ^~ ../include/linux/virtio_features.h:18:33: note: in expansion of macro ‘BIT_ULL’ 18 | #define VIRTIO_BIT(b) BIT_ULL(b) | ^~~~~~~ ../drivers/vhost/net.c:1633:37: note: in expansion of macro ‘VIRTIO_BIT’ 1633 | has_tunnel = !!(features & (VIRTIO_BIT(VIRTIO_NET_F_GUEST_UDP_TUNNEL_GSO) | | ^~~~~~~~~~ ../include/vdso/bits.h:8:41: warning: left shift count >= width of type [-Wshift-count-overflow] 8 | #define BIT_ULL(nr) (ULL(1) << (nr)) | ^~ ../include/linux/virtio_features.h:18:33: note: in expansion of macro ‘BIT_ULL’ 18 | #define VIRTIO_BIT(b) BIT_ULL(b) | ^~~~~~~ ../drivers/vhost/net.c:1634:37: note: in expansion of macro ‘VIRTIO_BIT’ 1634 | VIRTIO_BIT(VIRTIO_NET_F_HOST_UDP_TUNNEL_GSO))); | ^~~~~~~~~~ In file included from : In function ‘__virtio_test_bit’, inlined from ‘virtio_has_feature’ at ../include/linux/virtio_config.h:204:9, inlined from ‘virtnet_probe’ at ../drivers/net/virtio_net.c:6805:7: ./../include/linux/compiler_types.h:557:45: error: call to ‘__compiletime_assert_849’ declared with attribute error: BUILD_BUG_ON failed: fbit >= VIRTIO_FEATURES_MAX 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) | ^~~~~~~~~~~~~~~~ ../include/linux/virtio_config.h:152:17: note: in expansion of macro ‘BUILD_BUG_ON’ 152 | BUILD_BUG_ON(fbit >= VIRTIO_FEATURES_MAX); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:203: drivers/net/virtio_net.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.Arx3lElucJ 2025-05-21 03:59:13.844994781 -0700 +++ /tmp/tmp.uxd3tGhhtu 2025-05-21 03:59:26.074646250 -0700 @@ -0,0 +1,28 @@ +In file included from ../include/linux/bits.h:6, + from ../include/linux/bitops.h:6, + from ../include/linux/log2.h:12, + from ../arch/x86/include/asm/div64.h:8, + from ../include/linux/math.h:6, + from ../include/linux/math64.h:6, + from ../include/linux/time.h:6, + from ../include/linux/compat.h:10, + from ../drivers/vhost/net.c:8: +../drivers/vhost/net.c: In function ‘vhost_net_set_features’: +../include/vdso/bits.h:8:41: warning: left shift count >= width of type [-Wshift-count-overflow] + 8 | #define BIT_ULL(nr) (ULL(1) << (nr)) + | ^~ +../include/linux/virtio_features.h:18:33: note: in expansion of macro ‘BIT_ULL’ + 18 | #define VIRTIO_BIT(b) BIT_ULL(b) + | ^~~~~~~ +../drivers/vhost/net.c:1633:37: note: in expansion of macro ‘VIRTIO_BIT’ + 1633 | has_tunnel = !!(features & (VIRTIO_BIT(VIRTIO_NET_F_GUEST_UDP_TUNNEL_GSO) | + | ^~~~~~~~~~ +../include/vdso/bits.h:8:41: warning: left shift count >= width of type [-Wshift-count-overflow] + 8 | #define BIT_ULL(nr) (ULL(1) << (nr)) + | ^~ +../include/linux/virtio_features.h:18:33: note: in expansion of macro ‘BIT_ULL’ + 18 | #define VIRTIO_BIT(b) BIT_ULL(b) + | ^~~~~~~ +../drivers/vhost/net.c:1634:37: note: in expansion of macro ‘VIRTIO_BIT’ + 1634 | VIRTIO_BIT(VIRTIO_NET_F_HOST_UDP_TUNNEL_GSO))); + | ^~~~~~~~~~ Per-file breakdown --- /tmp/tmp.xgrRaHt4Z4 2025-05-21 03:59:26.079865137 -0700 +++ /tmp/tmp.g3QfhlqdPq 2025-05-21 03:59:26.083865102 -0700 @@ -0,0 +1 @@ + 2 ../include/vdso/bits.h