zstd 0 update to 1.4.5 is available

Yes, it’ll be used for compression/decompression :) Option for zstd for backups/restores, Dovecot mail compression, decompression in file manager. Much better efficiency and compression ratio compared to gzip.
 
Yes, it’ll be used for compression/decompression :) Option for zstd for backups/restores, Dovecot mail compression, decompression in file manager. Much better efficiency and compression ratio compared to gzip.
Sounds great. Where I can find info how to use it for example with Dovecot mail or DA backups ?

Are there any required steps after install ?
 
zstd-1.4.5 fails to compile on my CentOS 6.10 boxes. Error messages:

/tmp/ccja65az.s: Assembler messages: /tmp/ccja65az.s:99: Error: no such instruction: `shlx %edi,%eax,%eax' /tmp/ccja65az.s:115: Error: no such instruction: `sarx %rax,%rdx,%rdx' /tmp/ccja65az.s:133: Error: no such instruction: `shlx %r9d,%edx,%edx' /tmp/ccja65az.s:147: Error: no such instruction: `sarx %rax,%rdx,%rdx' /tmp/ccja65az.s:163: Error: no such instruction: `shlx %r8d,%eax,%eax' /tmp/ccja65az.s:181: Error: no such instruction: `sarx %rax,%rsi,%rsi' /tmp/ccja65az.s:197: Error: no such instruction: `shlx %r8,%rsi,%rsi' /tmp/ccja65az.s:209: Error: no such instruction: `shlx %r8,%rax,%rax' /tmp/ccja65az.s:223: Error: no such instruction: `shrx %rax,%rcx,%rax' /tmp/ccja65az.s:252: Error: no such instruction: `shrx %rdi,%rax,%rax' /tmp/ccja65az.s:274: Error: no such instruction: `shlx %rdx,%rdi,%rdi' /tmp/ccja65az.s:276: Error: no such instruction: `sarx %rsi,%r11,%rsi' /tmp/ccja65az.s:289: Error: no such instruction: `shlx %rdx,%r8,%r8' /tmp/ccja65az.s:291: Error: no such instruction: `sarx %rsi,%r15,%rsi' /tmp/ccja65az.s:304: Error: no such instruction: `shlx %rdx,%rdi,%rdi' /tmp/ccja65az.s:306: Error: no such instruction: `sarx %rcx,%r10,%rcx' /tmp/ccja65az.s:323: Error: no such instruction: `shlx %rdx,%rcx,%rdx' /tmp/ccja65az.s:331: Error: no such instruction: `shlx %rsi,%r12,%rdx' /tmp/ccja65az.s:344: Error: no such instruction: `shlx %r14,%rcx,%rdi' /tmp/ccja65az.s:354: Error: no such instruction: `shlx %r8,%rbx,%rbx' /tmp/ccja65az.s:367: Error: no such instruction: `shrx %rdx,%rax,%rax' /tmp/ccja65az.s:374: Error: no such instruction: `shlx %r8,%r11,%r11' /tmp/ccja65az.s:385: Error: no such instruction: `shrx %rcx,%r11,%r11' /tmp/ccja65az.s:390: Error: no such instruction: `shlx %r8,%r10,%r10' /tmp/ccja65az.s:402: Error: no such instruction: `shrx %rcx,%r10,%r10' /tmp/ccja65az.s:404: Error: no such instruction: `shlx %rdx,%rcx,%rdx' /tmp/ccja65az.s:461: Error: no such instruction: `shrx %rdx,%rax,%rax' /tmp/ccja65az.s:474: Error: no such instruction: `shrx %rcx,%rax,%rax' /tmp/ccja65az.s:480: Error: no such instruction: `shlx %r14,%rcx,%rcx' /tmp/ccja65az.s:492: Error: no such instruction: `shrx %rdx,%rax,%rax' /tmp/ccja65az.s:499: Error: no such instruction: `shlx %r8,%rax,%rax' /tmp/ccja65az.s:509: Error: no such instruction: `shlx %r8,%rax,%rax' /tmp/ccja65az.s:522: Error: no such instruction: `shrx %rcx,%rax,%rcx' make[1]: *** [compress/zstd_compress_sequences.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /tmp/ccGU0SYr.s: Assembler messages: /tmp/ccGU0SYr.s:519: Error: no such instruction: `shlx %r13,%rax,%rax' /tmp/ccGU0SYr.s:522: Error: no such instruction: `shlx %rcx,%r13,%rcx' /tmp/ccGU0SYr.s:525: Error: no such instruction: `shlx %r12,%rcx,%r12' /tmp/ccGU0SYr.s:528: Error: no such instruction: `shlx %rdx,%rcx,%rcx' /tmp/ccGU0SYr.s:544: Error: no such instruction: `shrx %rdx,%rax,%rsi' /tmp/ccGU0SYr.s:549: Error: no such instruction: `shlx %rcx,%rax,%rax' /tmp/ccGU0SYr.s:606: Error: no such instruction: `shlx %r12,%r10,%rsi' /tmp/ccGU0SYr.s:614: Error: no such instruction: `shlx %r10,%rsi,%rsi' /tmp/ccGU0SYr.s:627: Error: no such instruction: `shrx %rax,%rsi,%rsi' make[1]: *** [compress/huf_compress.o] Error 1 make[1]: Leaving directory `/usr/local/directadmin/custombuild/zstd-1.4.5/lib' make: *** [install] Error 2
 
zstd-1.4.5 fails to compile on my CentOS 6.10 boxes. Error messages:

/tmp/ccja65az.s: Assembler messages: /tmp/ccja65az.s:99: Error: no such instruction: `shlx %edi,%eax,%eax' /tmp/ccja65az.s:115: Error: no such instruction: `sarx %rax,%rdx,%rdx' /tmp/ccja65az.s:133: Error: no such instruction: `shlx %r9d,%edx,%edx' /tmp/ccja65az.s:147: Error: no such instruction: `sarx %rax,%rdx,%rdx' /tmp/ccja65az.s:163: Error: no such instruction: `shlx %r8d,%eax,%eax' /tmp/ccja65az.s:181: Error: no such instruction: `sarx %rax,%rsi,%rsi' /tmp/ccja65az.s:197: Error: no such instruction: `shlx %r8,%rsi,%rsi' /tmp/ccja65az.s:209: Error: no such instruction: `shlx %r8,%rax,%rax' /tmp/ccja65az.s:223: Error: no such instruction: `shrx %rax,%rcx,%rax' /tmp/ccja65az.s:252: Error: no such instruction: `shrx %rdi,%rax,%rax' /tmp/ccja65az.s:274: Error: no such instruction: `shlx %rdx,%rdi,%rdi' /tmp/ccja65az.s:276: Error: no such instruction: `sarx %rsi,%r11,%rsi' /tmp/ccja65az.s:289: Error: no such instruction: `shlx %rdx,%r8,%r8' /tmp/ccja65az.s:291: Error: no such instruction: `sarx %rsi,%r15,%rsi' /tmp/ccja65az.s:304: Error: no such instruction: `shlx %rdx,%rdi,%rdi' /tmp/ccja65az.s:306: Error: no such instruction: `sarx %rcx,%r10,%rcx' /tmp/ccja65az.s:323: Error: no such instruction: `shlx %rdx,%rcx,%rdx' /tmp/ccja65az.s:331: Error: no such instruction: `shlx %rsi,%r12,%rdx' /tmp/ccja65az.s:344: Error: no such instruction: `shlx %r14,%rcx,%rdi' /tmp/ccja65az.s:354: Error: no such instruction: `shlx %r8,%rbx,%rbx' /tmp/ccja65az.s:367: Error: no such instruction: `shrx %rdx,%rax,%rax' /tmp/ccja65az.s:374: Error: no such instruction: `shlx %r8,%r11,%r11' /tmp/ccja65az.s:385: Error: no such instruction: `shrx %rcx,%r11,%r11' /tmp/ccja65az.s:390: Error: no such instruction: `shlx %r8,%r10,%r10' /tmp/ccja65az.s:402: Error: no such instruction: `shrx %rcx,%r10,%r10' /tmp/ccja65az.s:404: Error: no such instruction: `shlx %rdx,%rcx,%rdx' /tmp/ccja65az.s:461: Error: no such instruction: `shrx %rdx,%rax,%rax' /tmp/ccja65az.s:474: Error: no such instruction: `shrx %rcx,%rax,%rax' /tmp/ccja65az.s:480: Error: no such instruction: `shlx %r14,%rcx,%rcx' /tmp/ccja65az.s:492: Error: no such instruction: `shrx %rdx,%rax,%rax' /tmp/ccja65az.s:499: Error: no such instruction: `shlx %r8,%rax,%rax' /tmp/ccja65az.s:509: Error: no such instruction: `shlx %r8,%rax,%rax' /tmp/ccja65az.s:522: Error: no such instruction: `shrx %rcx,%rax,%rcx' make[1]: *** [compress/zstd_compress_sequences.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /tmp/ccGU0SYr.s: Assembler messages: /tmp/ccGU0SYr.s:519: Error: no such instruction: `shlx %r13,%rax,%rax' /tmp/ccGU0SYr.s:522: Error: no such instruction: `shlx %rcx,%r13,%rcx' /tmp/ccGU0SYr.s:525: Error: no such instruction: `shlx %r12,%rcx,%r12' /tmp/ccGU0SYr.s:528: Error: no such instruction: `shlx %rdx,%rcx,%rcx' /tmp/ccGU0SYr.s:544: Error: no such instruction: `shrx %rdx,%rax,%rsi' /tmp/ccGU0SYr.s:549: Error: no such instruction: `shlx %rcx,%rax,%rax' /tmp/ccGU0SYr.s:606: Error: no such instruction: `shlx %r12,%r10,%rsi' /tmp/ccGU0SYr.s:614: Error: no such instruction: `shlx %r10,%rsi,%rsi' /tmp/ccGU0SYr.s:627: Error: no such instruction: `shrx %rax,%rsi,%rsi' make[1]: *** [compress/huf_compress.o] Error 1 make[1]: Leaving directory `/usr/local/directadmin/custombuild/zstd-1.4.5/lib' make: *** [install] Error 2
Hm... we tested it before on 6. Is it 32bit?
 
On one of my CentOS 6.10 boxes it did compile!

On all of them I had GCC 7.3.0 installed:
# cc --version cc (KEWB Computing Build) 7.3.0 Copyright (C) 2017 Free Software Foundation, Inc.

When I reverted back to the standard GCC 4.4.7 it did compile on anoher box
# cc --version cc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)

I have no idea why it did compile on 1 box with GCC 7.3.0 and failed on the other 4. I used the same RPM package to install GCC 7.3.0.
 
On the machine where it failed with GCC 7.3.0, it builds as follows with GCC 4.4.7:
==> building with threading support ==> building zstd with .gz compression support ==> building zstd with .xz/.lzma compression support ==> no liblz4, building zstd without .lz4 support

On the machine where it succeeded with GCC 7.3.0, it builds as follows with GCC 4.4.7:
==> building with threading support ==> building zstd with .gz compression support ==> no liblzma, building zstd without .xz/.lzma support ==> no liblz4, building zstd without .lz4 support

The difference is in the (automatic?) detection of .xz/.lzma support.
 
I guess your mirror is not in sync yet, try:
Code:
cd /usr/local/directadmin/custombuild
./build set downloadserver files-fr.directadmin.com
./build update
./build zstd
 
Got it. Changed the download server to files1.directadmin.com and ran some ./build update* commands. Then ./build zstd started installing devtoolset-7.x86_64 0:7.1-4.el6 with a loooot of dependencies and succeeded in building with GCC 7.3.0!
 
The zstd is still building without .xz/.lzma support, But it builds. Thanks!
==> building with threading support ==> building zstd with .gz compression support ==> no liblzma, building zstd without .xz/.lzma support ==> no liblz4, building zstd without .lz4 support
 
.xz/.lzma aren't needed for zstd format :) They're just for ability to compress/decompress them using zstd. So, no worries on that.
 
Back
Top