Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Data corruption on big endian #12

Open
Tracked by #195
nemequ opened this issue Jul 14, 2016 · 1 comment
Open
Tracked by #195

Data corruption on big endian #12

nemequ opened this issue Jul 14, 2016 · 1 comment

Comments

@nemequ
Copy link
Contributor

nemequ commented Jul 14, 2016

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.

@nemequ nemequ changed the title Data curruption on big endian Data corruption on big endian Jul 14, 2016
@richox
Copy link
Owner

richox commented Aug 6, 2016

sorry but i don't have time to deal with the problem right now :(

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants