[PATCH] fix build on systems that do not implement statfs64
adrien at kunysz.be
Tue Mar 30 16:06:16 UTC 2010
On Mon, Mar 29, 2010 at 05:48:09PM +0200, Andreas Schwab wrote:
> Adrien Kunysz <adrien at kunysz.be> writes:
> > On Mon, Mar 29, 2010 at 05:00:46PM +0200, Andreas Schwab wrote:
> >> Adrien Kunysz <adrien-VfNvOeKkEPKzQB+pC5nmwQ at public.gmane.org> writes:
> >> > Initially it was because I didn't have -D__USE_LARGEFILE64 in the
> >> You must not define __USE_LARGEFILE64, this is an internal glibc macro.
> >> > CFLAGS. But even after using it, it fails to build. However the problem
> >> > seems to actually be with the AC_STAT64 macro:
> >> This is about stat*fs*64, not stat64.
> > I know but "fixing" the STAT64 macro fixes the statfs64 problem for me.
> You didn't fix anything, because AC_STAT64 is working as designed.
Hence the quotes. My system might be broken (although I don't see how)
and that's why I didn't offer any "fix" for the HAVE_STAT(FS)64 macros.
The original issue is that apparently strace doesn't build anymore if
the build system cannot find statfs64 and that's what the patch in the
first mail of this thread is about. If you don't want to include it or
address this issue somehow in the master branch that's fine with me,
I can keep this patch in my own branch and I trust the maintainers of
my distro to figure out some way around this if it becomes a problem
for more people.
Thanks for your interest anyhow.
/me will try to go back to working on the -C patch tonight
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: Digital signature
More information about the Strace-devel