[Libtorrent-devel] Libtorrent on Android arm: sizeof(off_t) != 8
sundell.software at gmail.com
Wed Sep 8 13:36:28 UTC 2010
On Mon, Aug 30, 2010 at 1:34 PM, Alexej Ismailov
<alexej.ismailov at gmail.com> wrote:
> I've tried to configure with –disable-largefile flag but this doesn't remove
> or bypass the hardcoded 8 byte check. What is the purpose of this check? Is
> there any configurations I can do to libtorrent or libcurl to make it work?
> If I comment out that internal error throw, I get Segmentation fault later.
> Hope somebody has some wise words on this!
The code has only really been tested with sizeof(off_t) being 8 bytes,
so if you disable the check you're likely to uncover a few hidden bugs
or assumptions. The check is more to avoid weird bug reports from
people who happen to compile with sizeof(off_t) being 4 bytes.
More information about the Libtorrent-devel