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.

Reply via email to