From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E130158086 for ; Sat, 18 Dec 2021 15:35:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9EAB2BC03D; Sat, 18 Dec 2021 15:35:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF2062BC02C for ; Sat, 18 Dec 2021 15:35:39 +0000 (UTC) Message-ID: <4291a56ee0d08b3bc1d122487adfebdfdb146b80.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no From: James Le Cuirot To: gentoo-dev@lists.gentoo.org Date: Sat, 18 Dec 2021 15:35:29 +0000 In-Reply-To: <20211217144135.20907-1-floppym@gentoo.org> References: <20211217144135.20907-1-floppym@gentoo.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-b4wOuBjj3e7UUnSotZvx" User-Agent: Evolution 3.40.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 1847d65e-a278-4d12-b245-cc07c42ee301 X-Archives-Hash: 06617cc1bb9d7fb970ebc2ef4628b8fe --=-b4wOuBjj3e7UUnSotZvx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. >=20 > At a later time, we will introduce new profiles to enable 64-bit time_t > distro-wide. >=20 > https://wiki.gentoo.org/wiki/Project:Toolchain/time64_migration >=20 > Bug: https://bugs.gentoo.org/828001 > Signed-off-by: Mike Gilbert > --- > profiles/default/linux/make.defaults | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/profiles/default/linux/make.defaults b/profiles/default/linu= x/make.defaults > index 6ae7cf297cf..53ace7e229c 100644 > --- a/profiles/default/linux/make.defaults > +++ b/profiles/default/linux/make.defaults > @@ -53,3 +53,7 @@ VIDEO_CARDS=3D"dummy fbdev v4l" > # Note that adding LDFLAGS=3D"-Wl,-O1 ${LDFLAGS}" breaks dev-util/boost-= build > # because of whitespace. > LDFLAGS=3D"-Wl,-O1 -Wl,--as-needed" > + > +# Mike Gilbert (2021-12-17) > +# Prevent automagic use of 64-bit time_t. > +gl_cv_type_time_t_bits_macro=3D"no" What will we do about other build systems? I worry they won't have a consistent approach for all projects. --=-b4wOuBjj3e7UUnSotZvx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEEPxcZ3tkwcedKm2a8EiZBXQDdMTcFAmG9/8ERHGNoZXdpQGdl bnRvby5vcmcACgkQEiZBXQDdMTeNoBAAqJrxHZ4L5gQ8d1rHiyMgBMoXbYWcdGbu bubyRny17R00MEJRVQeguI87Ms2EmCbWhrJTo0WpyeLuzDG+qAy5fwb3yR9vIIHe x1qEJfsLuH3WOuZNYmRIlNe6Sz58QymTDkquZSdpirZ9Tt4kRpvc3lXkOu3iIUby v5YVnf02AHKkv4V6Al8FQbB6RRqKu8XmOVsFKZTiuwa4ly013j6c4HzUXESHQrxH yHJe0oEhND0J1bmgOZMEjfI3ejEAkFyUNQ0C9/sesMBGOyguUv6a/ntw/fmu3BAO GQqr5wmbHvxiudfL7JytGHLqkI/i0MVWjJiuW/S0wWQ+0ki1jSBQcqNbwd9ZgvCc uGTzNWy3rI7ifHaO7gSnqvf1PcHP66Q3uYiO2/ieypvugQUXrAy6yiBcVeJbhHuk vQ/4lju/852oYvMmNm5fRBGeA1IqMvjRXl0ydLChZ9TSo+Cw2/t5cuGPgYMzvnhG 2s1stCxGiSjbHK4bl3x8H6rJccJCJAEhs3u/AXcKwIpBxxYUtQjNPvtx4fQorQcO X6ky8k7nkUS+h4rYfYJWTNUBlSSoS/cgZt/VvkXF6O6zzyXDDWqVRxeKZ44o6jxM Z9uIB4Dn/SJNXlkNJHHYqn3bt00vk+AcFVS+gelLlIHDRmJjM6AXxaz8unQ+X1ur Lly8J7GeSj4= =DhM5 -----END PGP SIGNATURE----- --=-b4wOuBjj3e7UUnSotZvx--