toolchain: Deactivate sanitizer on MIPS and ARC

MIPS 32 bit support for sanitizer was added with GCC 9, MIPS 64 bit and
ARC are still not supported in GCC 10.

Deactivate them for now and change this when we change the default
compiler to GCC 9 or later.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2020-12-17 12:51:26 +01:00
parent 13581a5fa7
commit aa08f43cab

View File

@ -115,7 +115,7 @@ define Package/libasan
$(call Package/gcc/Default) $(call Package/gcc/Default)
NAME:=libasan NAME:=libasan
TITLE:=Runtime library for AddressSanitizer in GCC TITLE:=Runtime library for AddressSanitizer in GCC
DEPENDS:=@USE_GLIBC +librt +libstdcpp DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc
ABI_VERSION:=5 ABI_VERSION:=5
endef endef
@ -144,7 +144,7 @@ define Package/libtsan
$(call Package/gcc/Default) $(call Package/gcc/Default)
NAME:=libtsan NAME:=libtsan
TITLE:=Runtime library for ThreadSanitizer in GCC TITLE:=Runtime library for ThreadSanitizer in GCC
DEPENDS:=@USE_GLIBC +librt +libstdcpp DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc
ABI_VERSION:=0 ABI_VERSION:=0
endef endef
@ -173,7 +173,7 @@ define Package/liblsan
$(call Package/gcc/Default) $(call Package/gcc/Default)
NAME:=liblsan NAME:=liblsan
TITLE:=Runtime library for LeakSanitizer in GCC TITLE:=Runtime library for LeakSanitizer in GCC
DEPENDS:=@USE_GLIBC +librt +libstdcpp DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc
ABI_VERSION:=0 ABI_VERSION:=0
endef endef
@ -202,7 +202,7 @@ define Package/libubsan
$(call Package/gcc/Default) $(call Package/gcc/Default)
NAME:=libubsan NAME:=libubsan
TITLE:=Runtime library for UndefinedBehaviorSanitizer in GCC TITLE:=Runtime library for UndefinedBehaviorSanitizer in GCC
DEPENDS:=@USE_GLIBC +librt +libstdcpp DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc
ABI_VERSION:=1 ABI_VERSION:=1
endef endef