This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] Forcing 64-bits __OFF_T_TYPE and __INO_T_TYPE for new 32-bit architectures?


Hi,

When discussing how to implement these types for the RISC-V architecture
(32, 64 and 128-bit flavours), it seems that there's a drive [1][2] to
force new arches to use the 64-bit versions of these types (so they
would be the same as __OFF64_T_TYPE and __INO64_T_TYPE), even for 32-bit
arches.

Does this look like a reasonable approach?

 https://github.com/manuelafm/riscv-gnu-toolchain/commit/764f5ac958618c1ca8761845864164365282ffbd

 (also attached)


[1] At least from people in the Linux kernel community.

[2] A further suggestion was that all new arches should default to have
   the same width for these types, 64 bits, and override __OFF_T_TYPE
   and __INO_T_TYPE for all the existing architectures where they are
   currently 32-bits.  I don't know if this is desirable at this point.


Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]