]> git.proxmox.com Git - rustc.git/commitdiff
build: disable profiler support on armel/armhf
authorFabian Grünbichler <git@fabian.gruenbichler.email>
Fri, 25 Oct 2024 14:06:23 +0000 (16:06 +0200)
committerFabian Grünbichler <git@fabian.gruenbichler.email>
Fri, 25 Oct 2024 14:06:23 +0000 (16:06 +0200)
LLVM 19 on those two archs doesn't ship the compiler runtime needed for this
feature at the moment. can be re-enabled once it is back.

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
debian/control
debian/rules

index 4a7c310c7b926d90a4bc8c4ff87a7a10ccfa609f..140da6a79832a00be20a52011c3ad64df33a9d83 100644 (file)
@@ -21,8 +21,9 @@ Build-Depends:
  gcc-mingw-w64-x86-64-posix:native [amd64] <!nowindows>,
  gcc-mingw-w64-i686-posix:native [i386] <!nowindows>,
  libllvm19 (>= 1:19.0.0),
- libclang-rt-19-dev:native,
- libclang-rt-19-dev,
+# temp. disabled for armel/armhf
+ libclang-rt-19-dev:native [!armhf !armel],
+ libclang-rt-19-dev [!armhf !armel],
  cmake (>= 3.0),
 # needed by some vendor crates
  pkgconf:native,
index 0031aa4b1c2549ea54a583532665e6a8e5f6f600..3c8fedc0fb36e65d8e156852e86a780562a0034c 100755 (executable)
@@ -60,9 +60,10 @@ ifeq (armhf,$(DEB_TARGET_ARCH))
 CLANG_RT_ARCH = armhf
 endif
 
-ifneq (,$(filter $(DEB_TARGET_ARCH),sparc64 mips64el hurd-i386 hurd-amd64))
+ifneq (,$(filter $(DEB_TARGET_ARCH),sparc64 mips64el hurd-i386 hurd-amd64 armel armhf))
 # sparc64: see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061125
 # mips64el: has profiler, but buggy atm (32-bit overflow in some counter?)
+# armel/armhf: temp disabled, out-of-sync with rest of llvm-19 on thsoe archs
 CLANG_RT_ARCH =
 PROFILER = "false"
 PROFILER_PATH = ""