[PATCH 02/18] Use LFS and 64 bit time for installed programs

Joseph Myers joseph@codesourcery.com
Thu Jun 17 20:49:34 GMT 2021


On Thu, 17 Jun 2021, Adhemerval Zanella via Libc-alpha wrote:

> The installed programs are built with a combination of different
> values for MODULE_NAME, as below.  To enable both Long File Support
> and 64 bt time, -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 is added for
> nonlib, nscd, lddlibc4, ldconfig, locale_programs, and iconvprogs
> modules.

Using 64-bit filesystem interfaces in installed programs is bug 15333.

Does this patch fix all instances where an installed program, on a 32-bit 
system, might end up using 32-bit filesystem or time interfaces (including 
any cases where APIs used in the programs need to change to fix things, 
e.g. any uses of fseek/ftell that need to become fseeko / ftello with use 
of off_t instead of long), or are there further cases left to be fixed?

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list