[openwrt/openwrt] toolchain: Disable libtsan and liblsan sanitizer on loongarch64
LEDE Commits
lede-commits at lists.infradead.org
Fri May 3 23:40:58 PDT 2024
981213 pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/6eafcd86b87bf4ef0e2e8df2891f303b52c804b7
commit 6eafcd86b87bf4ef0e2e8df2891f303b52c804b7
Author: Weijie Gao <hackpascal at gmail.com>
AuthorDate: Sun Jan 7 12:50:51 2024 +0800
toolchain: Disable libtsan and liblsan sanitizer on loongarch64
libtsan and liblsan are not supported by glibc on loongarch64
Signed-off-by: Weijie Gao <hackpascal at gmail.com>
---
package/libs/toolchain/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile
index 285fbcfa98..3dd844d65b 100644
--- a/package/libs/toolchain/Makefile
+++ b/package/libs/toolchain/Makefile
@@ -144,7 +144,7 @@ define Package/libtsan
$(call Package/gcc/Default)
NAME:=libtsan
TITLE:=Runtime library for ThreadSanitizer in GCC
- DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc
+ DEPENDS:=@USE_GLIBC +librt +libstdcpp @!loongarch64 @!mips @!mipsel @!mips64 @!mips64el @!arc
ABI_VERSION:=0
endef
@@ -173,7 +173,7 @@ define Package/liblsan
$(call Package/gcc/Default)
NAME:=liblsan
TITLE:=Runtime library for LeakSanitizer in GCC
- DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc
+ DEPENDS:=@USE_GLIBC +librt +libstdcpp @!loongarch64 @!mips @!mipsel @!mips64 @!mips64el @!arc
ABI_VERSION:=0
endef
More information about the lede-commits
mailing list