I just found this in my inbox without any answer.

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.

Cheers, Andreas

On May 17, 2024, at 15:21, Jerome Verleyen via lustre-discuss 
<[email protected]<mailto:[email protected]>> wrote:

Dear all

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:
https://wiki.whamcloud.com/display/PUB/Rebuilding+the+Lustre-client+rpms+for+a+new+kernel

I'm facing a compile issue, and could not resolve this at this moment:

make[3]: Entering directory '/usr/src/kernels/4.18.0-513.24.1.el8_9.x86_64'
  CC [M] /home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite/vvp_io.o
In file included from include/linux/string.h:254,
                 from include/linux/bitmap.h:9,
                 from include/linux/cpumask.h:12,
                 from include/linux/smp.h:13,
                 from include/linux/lockdep.h:15,
                 from include/linux/mutex.h:17,
                 from include/linux/kernfs.h:13,
                 from include/linux/sysfs.h:16,
                 from include/linux/kobject.h:20,
                 from 
/home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/include/obd.h:36,
                 from 
/home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite/vvp_io.c:41:
In function 'fortify_memset_chk',
    inlined from 'vvp_io_init' at 
/home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite/vvp_io.c:1520:2:
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]
    __write_overflow_field(p_size_field, size);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:318: 
/home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite/vvp_io.o] Error 1
make[5]: *** [scripts/Makefile.build:558: 
/home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre/llite] Error 2
make[4]: *** [scripts/Makefile.build:558: 
/home/jerome/rpmbuild/SOURCES/lustre-2.12.9/lustre] Error 2
make[3]: *** [Makefile:1619: 
_module_/home/jerome/rpmbuild/SOURCES/lustre-2.12.9] Error 2
make[3]: Leaving directory '/usr/src/kernels/4.18.0-513.24.1.el8_9.x86_64'
make[2]: *** [autoMakefile:1123: modules] Error 2
make[2]: Leaving directory '/home/jerome/rpmbuild/SOURCES/lustre-2.12.9'
make[1]: *** [autoMakefile:661: all-recursive] Error 1
make[1]: Leaving directory '/home/jerome/rpmbuild/SOURCES/lustre-2.12.9'
make: *** [autoMakefile:519: all] Error 2


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.

Hope someone could help me on this stuff?

Best regards.

--
-- Jérôme
Beau jeune homme, il doit pas être loin de ses 75 kilos.
- J'l'ai pas pesé!
- Dans ces poids-là, j'peux vous l'embaumer façon Cléopatre, le Chef d'Oeuvre 
égyptien, inaltérable!
- Mais on vous demande pas de conserver, on vous demande de détruire!
(Michel Audiard)

_______________________________________________
lustre-discuss mailing list
[email protected]<mailto:[email protected]>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud







_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to