Am 14.06.26 um 16:10 schrieb Rob Gerber:
I think if I remember correctly xxhash in general is not completely
implemented right now.

Zstd should work. I am using it in my 15.x system. Here is one of my
fileset resources from that system.
I cannot find a rule like --with-xxhash but --with-zstd in configure.

By the way xxhash is started for implementation by adding in debian/rules:...
        --disable-s3 \
        --with-zstd \
        --with-xxhash
...

and started a build with
dpkg-buildpackage -rfakeroot -b -uc -us
...
Compiling xxhash.c
true /usr/bin/g++   -c  -Wdate-time -D_FORTIFY_SOURCE=2 -x c++ 
-fno-strict-aliasing -fno-exceptions -fno-rtti  -I. -I..  -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/root/test/bacula-15
.0.3=. -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -x c++ -fno-strict-aliasing 
-fno-exceptions -fno-rtti  -E xxhash.c | true
/root/test/bacula-15.0.3/libtool --tag=CXX --mode=compile /usr/bin/g++   -c  
-Wdate-time -D_FORTIFY_SOURCE=2 -x c++ -fno-strict-aliasing -fno-exceptions 
-fno-rtti  -I. -I..  -g -O2 -Werror=implicit-functi
on-declaration -ffile-prefix-map=/root/test/bacula-15.0.3=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -x c++ -fno-strict-aliasing 
-fno-exceptions -
fno-rtti  xxhash.c
libtool: compile:  /usr/bin/g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -x c++ 
-fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/root/test/
bacula-15.0.3=. -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -x c++ -fno-strict-aliasing 
-fno-exceptions -fno-rtti xxhash.c  -fPIC -DPIC -o .libs/xxhash.o
...
libtool: link: /usr/bin/g++  -fPIC -DPIC -shared -nostdlib 
/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o ... 
.libs/cJSON_Utils.o .libs/xxhash.o .libs/org_lib_dedup.o ... 
-L/usr/lib/gcc/x86_64-linux-gnu/14 
-L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu 
-L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu 
-L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib 
-L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s 
/usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o 
/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o  -Wl,-z 
-Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,libbac-15.0.3.so -o 
.libs/libbac-15.0.3.so

For zstd on debian the packages looks like are not compiled with
--with-zstd option. I recompiled the debian sources and now with
configured compression = zstd it looks like working well.
By the way the packages must also replaced on the clients.

I will open a bug at debian hopefully they will add them
simply.

I'll retest xxhash with recompiled package later.

Cheers,
Pierre




_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to