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 EA7E2158089 for ; Tue, 10 Oct 2023 20:17:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D5812BC013; Tue, 10 Oct 2023 20:17:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 E7D712BC013 for ; Tue, 10 Oct 2023 20:17:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id C89A6335C2E for ; Tue, 10 Oct 2023 20:17:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2907A99B for ; Tue, 10 Oct 2023 20:17:49 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1696969055.f6caba28e1a825acc76709c406c3b987253bbcc7.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/rv32imac/ilp32d/, profiles/arch/riscv/rv32imac/ilp32/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/arch/riscv/rv32imac/ilp32/make.defaults profiles/arch/riscv/rv32imac/ilp32d/make.defaults X-VCS-Directories: profiles/arch/riscv/rv32imac/ilp32/ profiles/arch/riscv/rv32imac/ilp32d/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: f6caba28e1a825acc76709c406c3b987253bbcc7 X-VCS-Branch: master Date: Tue, 10 Oct 2023 20:17:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 79ee872d-d654-4c8e-b5af-f67b1aebb997 X-Archives-Hash: f1e8698a6d7da6eee738c1915248f469 commit: f6caba28e1a825acc76709c406c3b987253bbcc7 Author: Andreas K. Hüttel gentoo org> AuthorDate: Tue Oct 10 20:16:41 2023 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Tue Oct 10 20:17:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6caba28 riscv32: force 64bit time on (there is no other variant here) Bug: https://bugs.gentoo.org/828001 Signed-off-by: Andreas K. Hüttel gentoo.org> profiles/arch/riscv/rv32imac/ilp32/make.defaults | 9 +++++++++ profiles/arch/riscv/rv32imac/ilp32d/make.defaults | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/profiles/arch/riscv/rv32imac/ilp32/make.defaults b/profiles/arch/riscv/rv32imac/ilp32/make.defaults index 702bf0db5663..4e7eed0bff7b 100644 --- a/profiles/arch/riscv/rv32imac/ilp32/make.defaults +++ b/profiles/arch/riscv/rv32imac/ilp32/make.defaults @@ -15,3 +15,12 @@ CFLAGS="-O2 -pipe -march=rv32imac -mabi=ilp32" CXXFLAGS="${CFLAGS}" FFLAGS="${CFLAGS}" FCFLAGS="${CFLAGS}" + +## Mike Gilbert (2021-12-17) +## Prevent automagic use of 64-bit time_t. +## https://bugs.gentoo.org/828001 +# +# Andreas K. Hüttel (2023-10-10) +# We need to undo this for riscv32 since it only has the 64bit interface +# +enable_year2038="yes" diff --git a/profiles/arch/riscv/rv32imac/ilp32d/make.defaults b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults index d21fdce62781..2464269fd8e4 100644 --- a/profiles/arch/riscv/rv32imac/ilp32d/make.defaults +++ b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults @@ -15,3 +15,12 @@ CFLAGS="-O2 -pipe -march=rv32imafdc -mabi=ilp32d" CXXFLAGS="${CFLAGS}" FFLAGS="${CFLAGS}" FCFLAGS="${CFLAGS}" + +## Mike Gilbert (2021-12-17) +## Prevent automagic use of 64-bit time_t. +## https://bugs.gentoo.org/828001 +# +# Andreas K. Hüttel (2023-10-10) +# We need to undo this for riscv32 since it only has the 64bit interface +# +enable_year2038="yes"