[lustre-discuss] Compiling b2_15 with zfs-2.3.0
Hans Henrik Happe
happe at nbi.dk
Fri Feb 28 04:39:09 PST 2025
Hi,
For Lustre 2.15 only ZFS 2.1.15 is supported. Even for 2.16 only ZFS 2.2
is supported. I would expect there would be a lot of issues when trying 2.3.
That direct I/O support could be a game changer on NVMes, so I
understand the attempt :-)
Cheers,
Hans Henrik
On 17/02/2025 12.49, Alex Vodeyko via lustre-discuss wrote:
> Hi,
>
> I've got the following error while compiling the latest b2_15 lustre
> head on rhel8.10 with zfs-2.3.0 and 4.18.0-553.27.1.el8_lustre.x86_64
> kernel (from lustre-2.15.6)
>
> Making all in .
> In file included from include/linux/kernel.h:10,
> from
> /tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/libcfs/include/libcfs/libcfs.h:35,
> from
> /tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.c:39:
> /tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.c:
> In function ‘osd_dir_it_next’:
> /tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.c:1333:21:
> error: invalid application of ‘sizeof’ to incomplete type ‘char[]’
> BUILD_BUG_ON(sizeof(za->za_name) > sizeof(it->ozi_name));
> ^
> include/linux/compiler.h:439:19: note: in definition of macro
> ‘__compiletime_assert’
> bool __cond = !(condition); \
> ^~~~~~~~~
> include/linux/compiler.h:462:2: note: in expansion of macro
> ‘_compiletime_assert’
> _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
> ^~~~~~~~~~~~~~~~~~~
> include/linux/build_bug.h:39:37: note: in expansion of macro
> ‘compiletime_assert’
> #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
> ^~~~~~~~~~~~~~~~~~
> include/linux/build_bug.h:50:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
> BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
> ^~~~~~~~~~~~~~~~
> /tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.c:1333:2:
> note: in expansion of macro ‘BUILD_BUG_ON’
> BUILD_BUG_ON(sizeof(za->za_name) > sizeof(it->ozi_name));
> ^~~~~~~~~~~~
> make[7]: *** [scripts/Makefile.build:317:
> /tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.o]
> Error 1
> make[6]: *** [scripts/Makefile.build:558:
> /tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs]
> Error 2
> make[6]: *** Waiting for unfinished jobs....
> make[5]: *** [scripts/Makefile.build:558:
> /tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre]
> Error 2
> make[4]: *** [Makefile:1619:
> _module_/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty]
> Error 2
> make[3]: *** [autoMakefile:1154: modules] Error 2
> make[2]: *** [autoMakefile:692: all-recursive] Error 1
> make[1]: *** [autoMakefile:552: all] Error 2
> error: Bad exit status from
> /tmp/rpmbuild-lustre-root-EBq5OI5z/TMP/rpm-tmp.NTKKgC (%build)
>
>
> RPM build errors:
> line 306: second Summary
> Bad exit status from
> /tmp/rpmbuild-lustre-root-EBq5OI5z/TMP/rpm-tmp.NTKKgC (%build)
> make: *** [autoMakefile:1265: rpms] Error 1
>
> Could you please help with it?
>
> Many thanks,
> Alex
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20250228/d0c87135/attachment.htm>
More information about the lustre-discuss
mailing list