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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6C7EB158086 for ; Fri, 17 Dec 2021 19:33:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B723A2BC01F; Fri, 17 Dec 2021 19:32:52 +0000 (UTC) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 500812BC011 for ; Fri, 17 Dec 2021 19:32:52 +0000 (UTC) Received: by mail-ed1-x52a.google.com with SMTP id z5so11859770edd.3 for ; Fri, 17 Dec 2021 11:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gentoo-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fekn4zg1Kg/C0xNCWFRaOmFCP4V6ufwZZxxWviZBhSA=; b=c7X8FRZAIcpt7fF9+y7VHXhZYVkyuQTvbV4bGiTguj+Z3dI4PSE99kkS1UAosk0w5f BxfigGV8vyeu1XXCV1dos1JB80mfnYWdESv4V8uuatVb+nLWKGtnx8r6/damHIgowmzv 7wa/Im/cnDxypqJvZ47pk8Str6gzUTBlzhVs8dYM/pZG5Iy8EmZ0V3Lcq1oShM3ylZxW jeijNjTnSl3ApbxAPiEVe8pMtl2BSyy+t6UBPlwDs3wBxOzPZM+tdHTk1iwkQ46mONgj 03W8tdjsH0EDRzgtvFKNgDtYSdnqCW4uGAKVzuS2A/nJ6ze+y0JBSwNDS17Okd9V8TYl d7gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fekn4zg1Kg/C0xNCWFRaOmFCP4V6ufwZZxxWviZBhSA=; b=Hpfz6HIcBoSZkvYtZU/M2F1JeaMVuhjaxzzHbprpqiFZYB4wHFz8C2fsP4QBIQSNXB TKtAgbl4rVfnYKmCNY+aFaXDmNHvF1q2Vvrtn+L55z3C/ICqPBlxgxWpdph/XUEWKJ0o 98QYoO52UFyAsEE1HiL1F4rXkmVACmwgatg+avDAPLF55Uyg7iVGlHymadZ/Wasj2gkW noMkhooJZjb8QM6ooZp5zVdBp2Ud4UPeC3viv5gzhx9bUbUXPoVdqC5RbjEfZFz2HMrM kfjn5dIYIaNH8JeViZSQ7NCoNsJHe7ysMoecXMKeZxirUYk9fex9r+TGG5JkxtLXSrwk BEww== X-Gm-Message-State: AOAM530OF9dtCe8YYu0NZMLLdeH8TGQIFr56DjfZo3rrQpD0DBa+0Pve 2LvYH0CcnT/7Y+fEOMn3ig2XsAdv9ULfukR8IFw7j4DdJogHGagh X-Google-Smtp-Source: ABdhPJwaHVu22/pD+uLikeSOXFkKQHJo+GIx2KEuM024ahI1xj+lxoedGZ+fsO0Xwp7j/JfcgQ6faNmE+grKdEqAmqA= X-Received: by 2002:a17:906:aca:: with SMTP id z10mr3611299ejf.535.1639769570120; Fri, 17 Dec 2021 11:32:50 -0800 (PST) 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 References: <20211217144135.20907-1-floppym@gentoo.org> In-Reply-To: <20211217144135.20907-1-floppym@gentoo.org> From: Alec Warner Date: Fri, 17 Dec 2021 14:29:44 -0500 Message-ID: Subject: Re: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no To: Gentoo Dev Cc: base-system@gentoo.org, toolchain@gentoo.org, Mike Gilbert Content-Type: multipart/alternative; boundary="000000000000bdacb205d35c9af6" X-Archives-Salt: f8690805-3da9-4e53-98ef-323a16ca1817 X-Archives-Hash: 02602d64ea56c30d0e325c7d2b4be23e --000000000000bdacb205d35c9af6 Content-Type: text/plain; charset="UTF-8" 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 at runtime. > > At a later time, we will introduce new profiles to enable 64-bit time_t > distro-wide. > > https://wiki.gentoo.org/wiki/Project:Toolchain/time64_migration > > Bug: https://bugs.gentoo.org/828001 > Signed-off-by: Mike Gilbert > --- > profiles/default/linux/make.defaults | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/profiles/default/linux/make.defaults > b/profiles/default/linux/make.defaults > index 6ae7cf297cf..53ace7e229c 100644 > --- a/profiles/default/linux/make.defaults > +++ b/profiles/default/linux/make.defaults > @@ -53,3 +53,7 @@ VIDEO_CARDS="dummy fbdev v4l" > # Note that adding LDFLAGS="-Wl,-O1 ${LDFLAGS}" breaks > dev-util/boost-build > # because of whitespace. > LDFLAGS="-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="no" > -- > 2.34.1 > > > --000000000000bdacb205d35c9af6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Can you put the bug # in the comment in the file?
On Fr= i, Dec 17, 2021, 09:42 Mike Gilbert <floppym@gentoo.org> wrote:
https://wiki.gentoo.org/wi= ki/Project:Toolchain/time64_migration

Bug: https://bugs.gentoo.org/828001
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
---
=C2=A0profiles/default/linux/make.defaults | 4 ++++
=C2=A01 file changed, 4 insertions(+)

diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/= 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"
=C2=A0# Note that adding LDFLAGS=3D"-Wl,-O1 ${LDFLAGS}" breaks de= v-util/boost-build
=C2=A0# because of whitespace.
=C2=A0LDFLAGS=3D"-Wl,-O1 -Wl,--as-needed"
+
+# Mike Gilbert <floppym@gentoo.org> (2021-12-17)
+# Prevent automagic use of 64-bit time_t.
+gl_cv_type_time_t_bits_macro=3D"no"
--
2.34.1


--000000000000bdacb205d35c9af6--