<div dir="ltr"><div>Using gcc 11.4.1 20231218, autogen.sh then ./configure works but make fails here:</div><div><br></div><div>  CC [M]  /home/<font face="monospace">lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.o<br>In file included from include/linux/mm.h:7,<br>                 from include/linux/pagemap.h:8,<br>                 from /home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:28:<br>/home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c: In function ‘llcrypt_zeroout_range’:<br>include/linux/gfp.h:341:25: error: passing argument 1 of ‘bio_alloc’ makes pointer from integer without a cast [-Werror=int-conversion]<br>  341 | #define GFP_NOWAIT      (__GFP_KSWAPD_RECLAIM)<br>      |                         ^~~~~~~~~~~~~~~~~~~~~~<br>      |                         |<br>      |                         unsigned int<br>/home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:100:33: note: in expansion of macro ‘GFP_NOWAIT’<br>  100 |                 bio = bio_alloc(GFP_NOWAIT, 1);<br>      |                                 ^~~~~~~~~~<br>In file included from /home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:30:<br>include/linux/bio.h:421:58: note: expected ‘struct block_device *’ but argument is of type ‘unsigned int’<br>  421 | static inline struct bio *bio_alloc(struct block_device *bdev,<br>      |                                     ~~~~~~~~~~~~~~~~~~~~~^~~~<br>/home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:100:23: error: too few arguments to function ‘bio_alloc’<br>  100 |                 bio = bio_alloc(GFP_NOWAIT, 1);<br>      |                       ^~~~~~~~~<br>In file included from /home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:30:<br>include/linux/bio.h:421:27: note: declared here<br>  421 | static inline struct bio *bio_alloc(struct block_device *bdev,<br>      |                           ^~~~~~~~~<br>/home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:107:17: error: implicit declaration of function ‘bio_set_op_attrs’ [-Werror=implicit-function-declaration]<br>  107 |                 bio_set_op_attrs(bio, REQ_OP_WRITE, 0);<br>      |                 ^~~~~~~~~~~~~~~~<br>cc1: all warnings being treated as errors<br>make[6]: *** [scripts/Makefile.build:299: /home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.o] Error 1<br>make[5]: *** [scripts/Makefile.build:585: /home/lustre-2.14.0_ddn136/libcfs/libcfs] Error 2<br>make[4]: *** [scripts/Makefile.build:585: /home/lustre-2.14.0_ddn136/libcfs] Error 2<br>make[3]: *** [Makefile:1928: /home/lustre-2.14.0_ddn136] Error 2<br>make[3]: Leaving directory '/usr/src/kernels/5.14.0-362.24.1.el9_3.x86_64'<br>make[2]: *** [autoMakefile:1152: modules] Error 2<br>make[2]: Leaving directory '/home/lustre-2.14.0_ddn136'<br>make[1]: *** [autoMakefile:684: all-recursive] Error 1<br>make[1]: Leaving directory '/home/lustre-2.14.0_ddn136'<br>make: *** [autoMakefile:550: all] Error 2</font><br></div><div><font face="monospace"><br></font></div><div><font face="arial, sans-serif">Is there a workaround for this?</font></div></div>