[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_SYS_LARGEFILE and old OSX framework

From: Paul Eggert
Subject: Re: AC_SYS_LARGEFILE and old OSX framework
Date: Wed, 30 Oct 2013 12:41:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

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

[Prev in Thread] Current Thread [Next in Thread]