64-bit stat (or not) in 32-bit Fedora binaries

Petr Pisar ppisar at redhat.com
Tue Feb 19 12:48:57 UTC 2013


On 2013-02-18, Eric Sandeen <sandeen at redhat.com> wrote:
>
> Anyway, if you want to check your package(s) and maybe make them
> 64-bit-stat safe, the perl script above might help.  It's more than
> just -DFILE_OFFSET_BITS=64, since you'll need to be sure not to
> overflow any large values you get back from stat64 etc.
>
Is %configure spec macro the right place to define FILE_OFFSET_BITS?

Because it breaks struct stat ABI, it should be defined on distrubition
level. For the same reason I can imagine upstream could be reluctant to
embed the defintion for everybody.

-- Petr



More information about the devel mailing list