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]

Re: ARCv2 Public PRM (was Re: [PATCH v2 00/15] glibc port to ARC processors)


On Fri, 17 Jan 2020, Vineet Gupta wrote:

> The public PRM is now available and I would like you to try and access 
> it so that any bureaucracy is out of the way before I re-post ARC port 
> for 2.32 !

Thanks!

There was one technical point regarding the glibc port I raised briefly in 
a discussion at the end of the Cauldron in Montreal: you should consider 
whether it would make sense, as a new 32-bit port, to have 64-bit times 
and 64-bit off_t, ino_t, etc. from the start, as RV32 is doing.  We don't 
have a specific policy for this, but it may make sense for new ports not 
to include ABI variants that either are, or will become, obsolescent.  If 
you require Linux 5.1 or later for the port then all or nearly all the 
architecture-independent pieces required for a 32-bit port supporting only 
64-bit times should be covered by the RV32 patches, which I think are 
quite close to being ready to go into glibc, though you'd need to watch 
out for any (new or existing) #ifdef conditionals that might try to use 
32-bit-time syscalls if they exist (which they don't on RV32) - and that 
would not prevent supporting older kernel versions later if desired, as 
the Y2038 support gets built out (including, in particular, the support 
for falling back to 32-bit-time syscalls in functions for 64-bit-time 
interfaces).

-- 
Joseph S. Myers
joseph@codesourcery.com


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