Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Cc: base-system@g.o, toolchain@g.o, Mike Gilbert <floppym@g.o>
Subject: Re: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no
Date: Fri, 17 Dec 2021 19:33:00
Message-Id: CAAr7Pr_Avh+3aQ8bmgHSoXYEQAdKbUg3OX9y2eDOCz8VWeOM=w@mail.gmail.com
In Reply to: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no by Mike Gilbert
1 Can you put the bug # in the comment in the file?
2
3 On Fri, Dec 17, 2021, 09:42 Mike Gilbert <floppym@g.o> wrote:
4
5 > This is intended to prevent packages from automatically switching to
6 > 64-bit time_t on 32-bit ABIs. Making this switch in an uncontrolled
7 > manner will lead to inconsistent library ABIs that fail at runtime.
8 >
9 > At a later time, we will introduce new profiles to enable 64-bit time_t
10 > distro-wide.
11 >
12 > https://wiki.gentoo.org/wiki/Project:Toolchain/time64_migration
13 >
14 > Bug: https://bugs.gentoo.org/828001
15 > Signed-off-by: Mike Gilbert <floppym@g.o>
16 > ---
17 > profiles/default/linux/make.defaults | 4 ++++
18 > 1 file changed, 4 insertions(+)
19 >
20 > diff --git a/profiles/default/linux/make.defaults
21 > b/profiles/default/linux/make.defaults
22 > index 6ae7cf297cf..53ace7e229c 100644
23 > --- a/profiles/default/linux/make.defaults
24 > +++ b/profiles/default/linux/make.defaults
25 > @@ -53,3 +53,7 @@ VIDEO_CARDS="dummy fbdev v4l"
26 > # Note that adding LDFLAGS="-Wl,-O1 ${LDFLAGS}" breaks
27 > dev-util/boost-build
28 > # because of whitespace.
29 > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
30 > +
31 > +# Mike Gilbert <floppym@g.o> (2021-12-17)
32 > +# Prevent automagic use of 64-bit time_t.
33 > +gl_cv_type_time_t_bits_macro="no"
34 > --
35 > 2.34.1
36 >
37 >
38 >