libzling
libzling copied to clipboard
Data corruption on big endian
I'm working on getting Squash working on big endian (POWER8), and zling is one of the codecs which currently fails there:
[fedora@squash-be build]$ ./zling_demo e < CMakeLists.txt | ./zling_demo d > t && sha1sum CMakeLists.txt t
zling:
light-weight lossless data compression utility
by Zhang Li <zhangli10 at baidu.com>
zling:
light-weight lossless data compression utility
by Zhang Li <zhangli10 at baidu.com>
0.00 MB => 0.00 MB 62.58%, 0.142 sec, speed=0.007 MB/sec
encode: 1037 => 649, time=0.142 sec, speed=0.007 MB/sec
0.00 MB <= 0.00 MB 62.58%, 0.033 sec, speed=0.032 MB/sec
decode: 1037 <= 649, time=0.033 sec, speed=0.032 MB/sec
8ebf4b96ecc753e9b3a73aa04fd9693bfd582ba4 CMakeLists.txt
fb48e3d4ad687f89eb488b488acdf5da17567c57 t
[fedora@squash-be build]$ uname -a
Linux squash-be.novalocal 4.5.7-202.fc23.ppc64 #1 SMP Thu Jun 30 10:45:03 UTC 2016 ppc64 ppc64 ppc64 GNU/Linux
If it would help, I can provide temporary access to a VM for debugging and testing. Just e-mail me or drop by #squash on freenode.
sorry but i don't have time to deal with the problem right now :(