[PATCH] enable LFS support by default

Mike Frysinger vapier at gentoo.org
Sun Apr 5 05:23:48 UTC 2009


On Tuesday 24 March 2009 21:44:25 Roland McGrath wrote:
> Of course I understand LFS.  I don't understand what you think is wrong nor
> what you think you are fixing.  Those are what need to precede any patch.
>
> -D_FILE_OFFSET_BITS=64 might be intractable for strace.  It needs to decode
> the 32-bit struct stat et al formats in the syscalls that use them.  In the
> case of stat, I guess it's a different kernel struct declaration for Linux
> anyway.  But I'm not sure that is true of all the LFS-affected types.
>
> You need to explain what you are attempting to gain from using
> -D_FILE_OFFSET_BITS=64.

i was missing the fact that strace builds with _GNU_SOURCE by default, and 
that in terms enables LFS support.  so explicitly settings LFS defines is 
redundant.  sorry for the noise.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20090405/5c7ff191/attachment.bin>


More information about the Strace-devel mailing list