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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70F5515807B for ; Fri, 1 Nov 2024 08:17:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 650AFE087F; Fri, 1 Nov 2024 08:17:27 +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 492FEE087F for ; Fri, 1 Nov 2024 08:17:27 +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 5112534302E for ; Fri, 1 Nov 2024 08:17:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B21541BE5 for ; Fri, 1 Nov 2024 08:17:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1730449023.e7cf23fa4728ef5ab8ab1e0bde2c1475d91cb7ed.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 15.0.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 15.0.0/gentoo/31_all_time64.patch 15.0.0/gentoo/README.history X-VCS-Directories: 15.0.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e7cf23fa4728ef5ab8ab1e0bde2c1475d91cb7ed X-VCS-Branch: master Date: Fri, 1 Nov 2024 08:17:24 +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: 8f05ae27-348e-40b9-a053-af0b5042a2bc X-Archives-Hash: 0cf4b30c7175d99f74266cfe95857811 commit: e7cf23fa4728ef5ab8ab1e0bde2c1475d91cb7ed Author: Sam James gentoo org> AuthorDate: Fri Nov 1 08:17:03 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Nov 1 08:17:03 2024 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=e7cf23fa 15.0.0: add time64 patch Signed-off-by: Sam James gentoo.org> 15.0.0/gentoo/31_all_time64.patch | 39 +++++++++++++++++++++++++++++++++++++++ 15.0.0/gentoo/README.history | 4 ++++ 2 files changed, 43 insertions(+) diff --git a/15.0.0/gentoo/31_all_time64.patch b/15.0.0/gentoo/31_all_time64.patch new file mode 100644 index 0000000..ac972b9 --- /dev/null +++ b/15.0.0/gentoo/31_all_time64.patch @@ -0,0 +1,39 @@ +From b2ee3846dfcea638e0fbf2d550234f1c7594fcdb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Fri, 1 Nov 2024 07:48:37 +0100 +Subject: [PATCH] Support forcing _TIME_BITS=64 for time64 profiles +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Support forcing _TIME_BITS=64 and _FILE_OFFSET_BITS=64 +via -D_GENTOO_TIME64_FORCE=1, for time64 profiles. + +Signed-off-by: Michał Górny +--- + gcc/c-family/c-cppbuiltin.cc | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/gcc/c-family/c-cppbuiltin.cc b/gcc/c-family/c-cppbuiltin.cc +index 8bbfe84b2..962cbd414 100644 +--- a/gcc/c-family/c-cppbuiltin.cc ++++ b/gcc/c-family/c-cppbuiltin.cc +@@ -1593,6 +1593,15 @@ c_cpp_builtins (cpp_reader *pfile) + builtin_define_with_int_value ("_FORTIFY_SOURCE", GENTOO_FORTIFY_SOURCE_LEVEL); + #endif + ++#ifndef _GENTOO_TIME64_FORCE ++ #define _GENTOO_TIME64_FORCE 0 ++#endif ++ ++ if (_GENTOO_TIME64_FORCE) { ++ cpp_define (pfile, "_FILE_OFFSET_BITS=64"); ++ cpp_define (pfile, "_TIME_BITS=64"); ++ } ++ + /* Misc. */ + if (flag_gnu89_inline) + cpp_define (pfile, "__GNUC_GNU_INLINE__"); +-- +2.47.0 + diff --git a/15.0.0/gentoo/README.history b/15.0.0/gentoo/README.history index 92e1e14..39a708d 100644 --- a/15.0.0/gentoo/README.history +++ b/15.0.0/gentoo/README.history @@ -1,3 +1,7 @@ +21 ???? + + + 31_all_time64.patch + 20 28 October 2024 - 73_all_PR117190-Revert-c-Fix-up-speed-up-compilation-of-large-char-a.patch