[libcxx-commits] [libcxx] [libc++] Attempts to fix OSS-Fuzz builds. (PR #88005)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 8 08:33:33 PDT 2024
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/88005
OSS-Fuzz still uses Clang-15 which causes OSS-Fuzz to fail. It has not been tested that after this change there are other issues with the build.
>From d8582494b2b73736ac4cb8602146f6e643bd426d Mon Sep 17 00:00:00 2001
From: Mark de Wever <koraq at xs4all.nl>
Date: Mon, 8 Apr 2024 17:31:10 +0200
Subject: [PATCH] [libc++] Attempts to fix OSS-Fuzz builds.
OSS-Fuzz still uses Clang-15 which causes OSS-Fuzz to fail. It has not
been tested that after this change there are other issues with the
build.
---
libcxx/include/__config | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 8550b1da4a2787..2203ca79c42104 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -44,7 +44,9 @@
// Warn if a compiler version is used that is not supported anymore
// LLVM RELEASE Update the minimum compiler versions
# if defined(_LIBCPP_CLANG_VER)
-# if _LIBCPP_CLANG_VER < 1600
+// The OSS-Fuzz builds uses an unsupported Clang version (Clang 15).
+// TODO Find a permanent solution for OSS-Fuzz.
+# if _LIBCPP_CLANG_VER < 1500
# warning "Libc++ only supports Clang 16 and later"
# endif
# elif defined(_LIBCPP_APPLE_CLANG_VER)
More information about the libcxx-commits
mailing list