mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-09 14:35:45 +00:00
* Fix sanitizer build on 32bit time_t64 architectures.
This commit is contained in:
parent
8c3b7796c4
commit
b74f7bdca8
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -3,6 +3,11 @@ llvm-toolchain-16 (1:16.0.6-22) unstable; urgency=medium
|
||||
[ Gianfranco Costamagna ]
|
||||
* Disable tests on mips64el
|
||||
|
||||
[ Matthias Klose ]
|
||||
* Make libclang-common-18-dev architecture dependent, mark profile and xray
|
||||
include files as optional on armel and armhf.
|
||||
* Fix sanitizer build on 32bit time_t64 architectures.
|
||||
|
||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 06 Mar 2024 08:38:53 +0100
|
||||
|
||||
llvm-toolchain-16 (1:16.0.6-21) unstable; urgency=medium
|
||||
|
22
debian/patches/libsanitizer-timebits.diff
vendored
Normal file
22
debian/patches/libsanitizer-timebits.diff
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
# DP: Add another #undef for _TIME_BITS
|
||||
|
||||
--- a/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp
|
||||
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
// Before Solaris 11.4, <procfs.h> doesn't work in a largefile environment.
|
||||
#undef _FILE_OFFSET_BITS
|
||||
+#undef _TIME_BITS
|
||||
#include "sanitizer_platform.h"
|
||||
#if SANITIZER_SOLARIS
|
||||
# include <fcntl.h>
|
||||
#--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
|
||||
#+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
|
||||
#@@ -18,6 +18,7 @@
|
||||
# // depends on _FILE_OFFSET_BITS setting.
|
||||
# // To get this "true" dirent definition, we undefine _FILE_OFFSET_BITS below.
|
||||
# #undef _FILE_OFFSET_BITS
|
||||
#+#undef _TIME_BITS
|
||||
# #endif
|
||||
#
|
||||
# // Must go after undef _FILE_OFFSET_BITS.
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -155,3 +155,4 @@ D158066-simd-ppc64el.patch
|
||||
|
||||
D142688-loong64.diff
|
||||
remove-unused-imp-module.diff
|
||||
libsanitizer-timebits.diff
|
||||
|
Loading…
Reference in New Issue
Block a user