From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 14.2.0/gentoo/
Date: Sat, 2 Nov 2024 20:15:25 +0000 (UTC) [thread overview]
Message-ID: <1730578519.705907b2fef316a30f30c3997c9b49189898652b.sam@gentoo> (raw)
commit: 705907b2fef316a30f30c3997c9b49189898652b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 2 19:32:18 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/gcc-patches/pull/5
Signed-off-by: Sam James <sam <AT> 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?= <mgorny@gentoo.org>
+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, <procfs.h> 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 <fcntl.h>
+--
+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
next reply other threads:[~2024-11-02 20:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-02 20:15 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-09 3:42 [gentoo-commits] proj/gcc-patches:master commit in: 14.2.0/gentoo/ Sam James
2025-02-07 21:19 Sam James
2024-12-24 20:48 Sam James
2024-12-10 5:28 Sam James
2024-12-10 5:25 Sam James
2024-12-01 12:47 Sam James
2024-11-30 22:48 Sam James
2024-11-27 15:58 Sam James
2024-11-24 20:18 Sam James
2024-11-01 8:17 Sam James
2024-11-01 8:17 Sam James
2024-09-29 19:20 Sam James
2024-09-29 19:20 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1730578519.705907b2fef316a30f30c3997c9b49189898652b.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox