Closed GoogleCodeExporter closed 8 years ago
Thanks for the head up.
It looks like the ---Ctx() functions cannot be found at linking stage.
There could be a relation with the fact that they are now "inline", since r71.
Nonetheless, that's pretty strange since :
- The caller is into the same source file
- LZ4_NbCommonBytes() is also inlined, but that does not seem to cause any
problem.
What's the version number of your GCC ?
Original comment by yann.col...@gmail.com
on 5 Aug 2012 at 9:16
$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2336.11.00)
Original comment by b...@atmaildot.com
on 5 Aug 2012 at 9:27
[deleted comment]
Found the answer here: http://stackoverflow.com/a/10245969
Changing the *Ctx() functions from inline to static inline fixed the problem.
Original comment by b...@atmaildot.com
on 5 Aug 2012 at 10:26
Thanks for pointing that out !
Original comment by yann.col...@gmail.com
on 6 Aug 2012 at 7:55
OK, if i do understand correctly
the version in attached file should solve the issue
without producing side effects.
Would you please tell me if it works for you ?
Regards
Original comment by yann.col...@gmail.com
on 7 Aug 2012 at 7:46
Attachments:
Yes, that change fixes the problem.
Original comment by b...@atmaildot.com
on 7 Aug 2012 at 10:59
Solved in r74
Original comment by yann.col...@gmail.com
on 8 Aug 2012 at 1:03
Original issue reported on code.google.com by
b...@atmaildot.com
on 4 Aug 2012 at 9:08