Le 30/10/2013 20:41, Paul Eggert a écrit : > On 10/30/2013 05:38 AM, Yann Diorcet wrote: >> This may cause segmentation fault on generated file (certainly linked to a >> different struct stat) > This suggests that (1) parts of your software package includes config.h, > which defines _DARWIN_USE_64_BIT_INODE and gets one struct stat, > (2) other parts of your software package don't include config.h, > and thus don't have _DARWIN_USE_64_BIT_INODE defined, and thus use > a different struct stat, and (3) the two parts communicate to each > other via a shared object of type 'struct stat'. > > Obviously this won't work, and your package needs to fix (1), or (2), > or (3). I'd guess that (1) is the simplest; just add > -D_DARWIN_USE_64_BIT_INODE to your build flags, before building > the package, so that all modules are compiled the same way.
Could be an explanation. but how do you explain the issue on that https://gitorious.org/glib/android/source/003dbec6c84798cb5c6a8759258f2b7180e5fa10:glib/gkeyfile.c#L354-1871 S_ISREG is done just after fstat ... and there is #include "config.h". Regards,