Closed GoogleCodeExporter closed 8 years ago
Hi
Is the issue located into lz4.c ?
Original comment by yann.col...@gmail.com
on 29 Nov 2012 at 7:56
Yes it is in lz4.c.
And in lz4hc.c. ( high compression fails silently also).
In both cases it helps to just move all the #includes before the cpu feature
detection.
Original comment by thwill...@gmail.com
on 30 Nov 2012 at 10:22
I'll handle it.
Original comment by yann.col...@gmail.com
on 30 Nov 2012 at 1:58
You could also fix it by adding a
|| defined(__sparc)
to your huge #if
Original comment by thwill...@gmail.com
on 4 Dec 2012 at 4:20
Good point. I'll look into it.
Original comment by yann.col...@gmail.com
on 4 Dec 2012 at 5:55
Hi
I'm back on LZ4, after spending some time of xxHash.
One nice outcome is that it resulted in a much improved endian detection macro,
which is proposed in the release candidate (attached file).
I expect it to solve your reported issue on sun solaris + sparc, although some
actual fact checking is welcomed :)
I've also moved the #include statement in front of the macro, as you suggested.
This however will have to be checked, since there may be some situations which
actually need to setup some #define before loading the #include.
One such situation happens in bench.c for example, and this is why i initially
intended to keep "compiler options" before #include statement.
Original comment by yann.col...@gmail.com
on 18 Dec 2012 at 5:56
Attachments:
Hopefully corrected into r86.
Original comment by yann.col...@gmail.com
on 21 Dec 2012 at 4:50
Original issue reported on code.google.com by
thwill...@gmail.com
on 26 Nov 2012 at 2:52