<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">I just found this in my inbox without any answer.</div>
<div class=""><br class="">
</div>
If you are trying to use newer kernel versions, you also need to use a newer Lustre client, 2.15.4 or the in-flight 2.15.5-RC2.  Those are built and tested with the newer kernel, and will interoperate with the older servers.
<div class=""><br class="">
</div>
<div class="">Cheers, Andreas<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On May 17, 2024, at 15:21, Jerome Verleyen via lustre-discuss <<a href="mailto:lustre-discuss@lists.lustre.org" class="">lustre-discuss@lists.lustre.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Dear all<br class="">
<br class="">
I need to install client package for Lustre v2.12.9 on some Almalinux 8.9 system. As i could'nt get rpm file, i try to compile from sours rpm file. I follow this recomendation from lustre'wiki:<br class="">
<a href="https://wiki.whamcloud.com/display/PUB/Rebuilding+the+Lustre-client+rpms+for+a+new+kernel" class="">https://wiki.whamcloud.com/display/PUB/Rebuilding+the+Lustre-client+rpms+for+a+new+kernel</a>
<br class="">
<br class="">
I'm facing a compile issue, and could not resolve this at this moment:<br class="">
<br class="">
make[3]: Entering directory '/usr/src/kernels/4.18.0-513.24.1.el8_9.x86_64'<br class="">
  CC [M] /home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite/vvp_io.o<br class="">
In file included from include/linux/string.h:254,<br class="">
                 from include/linux/bitmap.h:9,<br class="">
                 from include/linux/cpumask.h:12,<br class="">
                 from include/linux/smp.h:13,<br class="">
                 from include/linux/lockdep.h:15,<br class="">
                 from include/linux/mutex.h:17,<br class="">
                 from include/linux/kernfs.h:13,<br class="">
                 from include/linux/sysfs.h:16,<br class="">
                 from include/linux/kobject.h:20,<br class="">
                 from /home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/include/obd.h:36,<br class="">
                 from /home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite/vvp_io.c:41:<br class="">
In function 'fortify_memset_chk',<br class="">
    inlined from 'vvp_io_init' at /home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite/vvp_io.c:1520:2:<br class="">
include/linux/fortify-string.h:239:4: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror]<br class="">
    __write_overflow_field(p_size_field, size);<br class="">
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">
cc1: all warnings being treated as errors<br class="">
make[6]: *** [scripts/Makefile.build:318: /home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite/vvp_io.o] Error 1<br class="">
make[5]: *** [scripts/Makefile.build:558: /home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite] Error 2<br class="">
make[4]: *** [scripts/Makefile.build:558: /home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre] Error 2<br class="">
make[3]: *** [Makefile:1619: _module_/home/jerome/rpmbuild/SOURCES/lustre-2.12.9] Error 2<br class="">
make[3]: Leaving directory '/usr/src/kernels/4.18.0-513.24.1.el8_9.x86_64'<br class="">
make[2]: *** [autoMakefile:1123: modules] Error 2<br class="">
make[2]: Leaving directory '/home/jerome/rpmbuild/SOURCES/lustre-2.12.9'<br class="">
make[1]: *** [autoMakefile:661: all-recursive] Error 1<br class="">
make[1]: Leaving directory '/home/jerome/rpmbuild/SOURCES/lustre-2.12.9'<br class="">
make: *** [autoMakefile:519: all] Error 2<br class="">
<br class="">
<br class="">
In anothee email list, they recom,end to use a CFLAGS option like this: -D_FORTIFY_SOURCE=0. However, this option can't resolve my issue.<br class="">
<br class="">
Hope someone could help me on this stuff?<br class="">
<br class="">
Best regards.<br class="">
<br class="">
-- <br class="">
-- Jérôme<br class="">
Beau jeune homme, il doit pas être loin de ses 75 kilos.<br class="">
- J'l'ai pas pesé!<br class="">
- Dans ces poids-là, j'peux vous l'embaumer façon Cléopatre, le Chef d'Oeuvre égyptien, inaltérable!<br class="">
- Mais on vous demande pas de conserver, on vous demande de détruire!<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>(Michel Audiard)<br class="">
<br class="">
_______________________________________________<br class="">
lustre-discuss mailing list<br class="">
<a href="mailto:lustre-discuss@lists.lustre.org" class="">lustre-discuss@lists.lustre.org</a><br class="">
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Lustre Principal Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</body>
</html>