[RFC 0/6] y2038: Prepare glibc to be Y2038 safe for 32 bit ports

Lukasz Majewski lukma@denx.de
Sun Dec 13 11:49:23 GMT 2020


Hi Joseph,

> On Tue, 8 Dec 2020, Lukasz Majewski wrote:
> 
> > 1. Introduce new header - ./sysdeps/hurd/include/features.h
> > 2. In this file:
> > 
> > 	#include_next <features.h>  
> 
> <features.h> is an *installed* header, and sysdeps/*/include/ is only
> for *non-installed* wrappers used when building glibc itself.  So
> this approach can't work.  (But you could e.g. have two different 
> bits/features-time64.h headers, one in the toplevel bits/ and one
> under sysdeps, so that the appropriate one is installed, and include 
> <bits/features-time64.h> from <features.h>.)
> 

Ok, I will do this in that way. Thanks for sharing the idea.


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20201213/56b78d3f/attachment.sig>


More information about the Libc-alpha mailing list