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 435C3158086 for ; Fri, 17 Dec 2021 14:42:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 332202BC05F; Fri, 17 Dec 2021 14:41:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 EAC1B2BC030 for ; Fri, 17 Dec 2021 14:41:57 +0000 (UTC) From: Mike Gilbert To: gentoo-dev@lists.gentoo.org Cc: base-system@gentoo.org, toolchain@gentoo.org, Mike Gilbert Subject: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no Date: Fri, 17 Dec 2021 09:41:35 -0500 Message-Id: <20211217144135.20907-1-floppym@gentoo.org> X-Mailer: git-send-email 2.34.1 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 Content-Transfer-Encoding: 8bit X-Archives-Salt: 48483b4c-56d8-4565-9e18-8290418e84a7 X-Archives-Hash: d62bba134e31ad8cee3cb826fad6c03c 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