[gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no

2021-12-17 Thread Mike Gilbert
This is intended to prevent packages from automatically switching to 64-bit time_t on 32-bit ABIs. Making this switch in an uncontrolled manner will lead to inconsistent library ABIs that fail at runtime. At a later time, we will introduce new profiles to enable 64-bit time_t distro-wide. https:/

Re: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no

2021-12-17 Thread Alec Warner
Can you put the bug # in the comment in the file? On Fri, Dec 17, 2021, 09:42 Mike Gilbert wrote: > This is intended to prevent packages from automatically switching to > 64-bit time_t on 32-bit ABIs. Making this switch in an uncontrolled > manner will lead to inconsistent library ABIs that fail

Re: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no

2021-12-18 Thread James Le Cuirot
On Fri, 2021-12-17 at 09:41 -0500, Mike Gilbert wrote: > This is intended to prevent packages from automatically switching to > 64-bit time_t on 32-bit ABIs. Making this switch in an uncontrolled > manner will lead to inconsistent library ABIs that fail at runtime. > > At a later time, we will int

Re: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no

2021-12-18 Thread Mike Gilbert
On Sat, Dec 18, 2021 at 10:35 AM James Le Cuirot wrote: > What will we do about other build systems? I worry they won't have a > consistent approach for all projects. We will have to deal with them as we discover them. I don't see a magic solution for everything. I suppose we could add a new pro