Comments (6)
Original comment by [email protected]
on 17 Mar 2012 at 12:41
Attachments:
from lz4.
I will look into it.
Original comment by [email protected]
on 17 Mar 2012 at 9:04
- Changed state: Accepted
from lz4.
For some reason, i was unable to reproduce the issue using the file input.txt
provided here.
The test is done in a vmWare Ubuntu64 11.10 VM, host CPU is Core 2 Duo. The
binary compiled is a 64-bit one (provided in attached file). I made 3
verification tests, using your program (roundtrip), a comparison script (cmp)
and internal checksum (-b). All seem to work so far on input.txt.
Original comment by [email protected]
on 17 Mar 2012 at 9:27
Attachments:
from lz4.
After paying closer attention to your Makefile, I see the difference. Within
roundtrip.c, I am including the c file instead of the header file and simply
compiling like so 'gcc roundtrip.c'. This has worked fine for me in the past
with other libraries. When I switch to how you're doing it with multiple c
files (include the header file instead of the c file and compile with 'gcc
lz4.c rountrip.c') the problem disappears. I'm not fluent enough in C to
understand why it matters in this particular case, but as long as I see a
resolution, we can call this issue closed.
Original comment by [email protected]
on 17 Mar 2012 at 10:23
from lz4.
OK.
It's strange, because i've compiled graytest64 using your methodology
(including lz4.c), and it did not advertised any issue.
Using separated lz4.h/lz4.c is necessary in case LZ4 functions are called in
several places of the code. Otherwise, including several times lz4.c would
generate duplicate, and linking stage would fail.
But in this particular situation, there is only one single file, so it should
work the same...
Well, anyway, as long as you've got a solution... Let's call it closed, for now.
Original comment by [email protected]
on 17 Mar 2012 at 11:06
from lz4.
Original comment by [email protected]
on 17 Mar 2012 at 11:07
- Changed state: Fixed
from lz4.
Related Issues (20)
- Clang compiler warnings HOT 6
- LZ4F_compressBound() using null PreferencesPtr HOT 3
- lz4io license HOT 6
- Commandline lz4 stops when decompressing a concatenated lz4 file representing an empty file HOT 4
- Kernel wont boot with CONFIG_DYNAMIC_DEBUG=y HOT 2
- Bad alignment detection & setting on Sparc Solaris HOT 2
- lz4 r124 breaks ABI without bumping soname HOT 22
- Do not call sudo in Makefile HOT 3
- LZ4 HC r126 crashes when compiled with GCC 4.9 on highest optimization settings HOT 1
- lz4frame should correctly handle skipped frames HOT 4
- LZ4 cli invocation should match other compressors for non-option arguments HOT 14
- sudo make install does not cp files to /usr/local HOT 6
- lz4 auto-decompress does not work HOT 3
- Force should pass thru bytes unchanged HOT 5
- lz4 cli should support sparse file HOT 22
- decompression same file on different platforms HOT 3
- Static code analysis warnings HOT 10
- Google Code will close HOT 3
- [Query]Can LZo algorithm optimized for ARM NEON (SIMD instructions). HOT 3
- Potential Size Extension Problem in LZ4F_readLE64 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lz4.