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 02D2F158042 for ; Sat, 2 Nov 2024 20:15:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43C19E07D4; Sat, 2 Nov 2024 20:15:28 +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 2EE34E07D4 for ; Sat, 2 Nov 2024 20:15:28 +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 4259133BF60 for ; Sat, 2 Nov 2024 20:15:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97C8C11DF for ; Sat, 2 Nov 2024 20:15:25 +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: <1730578519.705907b2fef316a30f30c3997c9b49189898652b.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 14.2.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 14.2.0/gentoo/79_all_sanitizer_time64.patch 14.2.0/gentoo/README.history X-VCS-Directories: 14.2.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 705907b2fef316a30f30c3997c9b49189898652b X-VCS-Branch: master Date: Sat, 2 Nov 2024 20:15:25 +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: b0b0bdd6-bea4-44db-a2fb-94366b39eac7 X-Archives-Hash: bfd785bd384235c373ab4aa8da2aafcb commit: 705907b2fef316a30f30c3997c9b49189898652b Author: Michał Górny gentoo org> AuthorDate: Sat Nov 2 19:32:18 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 2 20:15:19 2024 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=705907b2 14.2.0: Backport a sanitizer fix for -D_TIME_BITS=64 Signed-off-by: Michał Górny gentoo.org> Closes: https://github.com/gentoo/gcc-patches/pull/5 Signed-off-by: Sam James gentoo.org> 14.2.0/gentoo/79_all_sanitizer_time64.patch | 29 +++++++++++++++++++++++++++++ 14.2.0/gentoo/README.history | 4 ++++ 2 files changed, 33 insertions(+) diff --git a/14.2.0/gentoo/79_all_sanitizer_time64.patch b/14.2.0/gentoo/79_all_sanitizer_time64.patch new file mode 100644 index 0000000..2a9cf9f --- /dev/null +++ b/14.2.0/gentoo/79_all_sanitizer_time64.patch @@ -0,0 +1,29 @@ +From 47b42e967d5238a8cdb99b4a45f048f4b8393e94 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 2 Nov 2024 20:30:22 +0100 +Subject: [PATCH] Fix sanitizer_procmaps_solaris.cpp with -D_TIME_BITS=64 + +This is backport of upstream LLVM commit: +https://github.com/llvm/llvm-project/commit/a1217020da219386b29c1a5a4a217904ecf07d7d +--- + libsanitizer/sanitizer_common/sanitizer_procmaps_solaris.cpp | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/libsanitizer/sanitizer_common/sanitizer_procmaps_solaris.cpp b/libsanitizer/sanitizer_common/sanitizer_procmaps_solaris.cpp +index eeb49e2af..80b8158f4 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_procmaps_solaris.cpp ++++ b/libsanitizer/sanitizer_common/sanitizer_procmaps_solaris.cpp +@@ -11,6 +11,10 @@ + + // Before Solaris 11.4, doesn't work in a largefile environment. + #undef _FILE_OFFSET_BITS ++ ++// Avoid conflict between `_TIME_BITS` defined vs. `_FILE_OFFSET_BITS` ++// undefined in some Linux configurations. ++#undef _TIME_BITS + #include "sanitizer_platform.h" + #if SANITIZER_SOLARIS + # include +-- +2.47.0 + diff --git a/14.2.0/gentoo/README.history b/14.2.0/gentoo/README.history index f60b1a9..adbcc3e 100644 --- a/14.2.0/gentoo/README.history +++ b/14.2.0/gentoo/README.history @@ -1,3 +1,7 @@ +3 2 Nov 2024 + + + 79_all_sanitizer_time64.patch + 2 1 Nov 2024 + 31_all_time64.patch