From 7ee16c1f913844cdf79570c219e00431bc45bd5b Mon Sep 17 00:00:00 2001 From: Chan Lee Date: Thu, 19 Jan 2017 15:51:50 +0900 Subject: [PATCH] packaging: disable lsan for arm and x86 Change-Id: I0ff97d8f50f386eabd49f8b5d1479f6645e52e90 Signed-off-by: Chan Lee --- packaging/gcc-aarch64.spec | 19 +------------------ packaging/gcc-armv7l.spec | 19 +------------------ packaging/linaro-gcc.spec | 19 +------------------ 3 files changed, 3 insertions(+), 54 deletions(-) diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec index 82233dd..5382ec1 100644 --- a/packaging/gcc-aarch64.spec +++ b/packaging/gcc-aarch64.spec @@ -27,7 +27,7 @@ %define asan_arch x86_64 %ix86 ppc ppc64 %sparc %arm aarch64 %define itm_arch x86_64 %ix86 %arm ppc ppc64 ppc64le s390 s390x %sparc aarch64 %define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k -%define lsan_arch x86_64 aarch64 %arm %ix86 +%define lsan_arch x86_64 aarch64 %define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64 %define cilkrts_arch x86_64 %ix86 @@ -530,16 +530,6 @@ The runtime library needed to run programs compiled with the %post -n libcilkrts-32bit -p /sbin/ldconfig %postun -n libcilkrts-32bit -p /sbin/ldconfig -%package -n liblsan-32bit -Summary: The GNU Compiler Leak Sanitizer Runtime Library -License: MIT -Group: Development/Languages -%description -n liblsan-32bit -The runtime library needed to run programs compiled with the --fsanitize=leak option of the GNU Compiler Collection (GCC). -%post -n liblsan-32bit -p /sbin/ldconfig -%postun -n liblsan-32bit -p /sbin/ldconfig - %package -n libubsan-32bit Summary: The GNU Compiler Undefined Sanitizer Runtime Library License: MIT @@ -1137,13 +1127,6 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/ %{libsubdir}/32/libasan.so.* %endif -%ifarch %lsan_arch -%files -n liblsan-32bit -%manifest gcc.manifest -%defattr(-,root,root) -%{libsubdir}/32/liblsan.so.* -%endif - %ifarch %atomic_arch %files -n libatomic-32bit %manifest gcc.manifest diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec index 67a33ad..fc1797d 100644 --- a/packaging/gcc-armv7l.spec +++ b/packaging/gcc-armv7l.spec @@ -27,7 +27,7 @@ %define asan_arch x86_64 %ix86 ppc ppc64 %sparc %arm aarch64 %define itm_arch x86_64 %ix86 %arm ppc ppc64 ppc64le s390 s390x %sparc aarch64 %define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k -%define lsan_arch x86_64 aarch64 %arm %ix86 +%define lsan_arch x86_64 aarch64 %define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64 %define cilkrts_arch x86_64 %ix86 @@ -530,16 +530,6 @@ The runtime library needed to run programs compiled with the %post -n libcilkrts-32bit -p /sbin/ldconfig %postun -n libcilkrts-32bit -p /sbin/ldconfig -%package -n liblsan-32bit -Summary: The GNU Compiler Leak Sanitizer Runtime Library -License: MIT -Group: Development/Languages -%description -n liblsan-32bit -The runtime library needed to run programs compiled with the --fsanitize=leak option of the GNU Compiler Collection (GCC). -%post -n liblsan-32bit -p /sbin/ldconfig -%postun -n liblsan-32bit -p /sbin/ldconfig - %package -n libubsan-32bit Summary: The GNU Compiler Undefined Sanitizer Runtime Library License: MIT @@ -1137,13 +1127,6 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/ %{libsubdir}/32/libasan.so.* %endif -%ifarch %lsan_arch -%files -n liblsan-32bit -%manifest gcc.manifest -%defattr(-,root,root) -%{libsubdir}/32/liblsan.so.* -%endif - %ifarch %atomic_arch %files -n libatomic-32bit %manifest gcc.manifest diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec index 5488c6a..c50a8f0 100644 --- a/packaging/linaro-gcc.spec +++ b/packaging/linaro-gcc.spec @@ -24,7 +24,7 @@ %define asan_arch x86_64 %ix86 ppc ppc64 %sparc %arm aarch64 %define itm_arch x86_64 %ix86 %arm ppc ppc64 ppc64le s390 s390x %sparc aarch64 %define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k -%define lsan_arch x86_64 aarch64 %arm %ix86 +%define lsan_arch x86_64 aarch64 %define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64 %define cilkrts_arch x86_64 %ix86 @@ -527,16 +527,6 @@ The runtime library needed to run programs compiled with the %post -n libcilkrts-32bit -p /sbin/ldconfig %postun -n libcilkrts-32bit -p /sbin/ldconfig -%package -n liblsan-32bit -Summary: The GNU Compiler Leak Sanitizer Runtime Library -License: MIT -Group: Development/Languages -%description -n liblsan-32bit -The runtime library needed to run programs compiled with the --fsanitize=leak option of the GNU Compiler Collection (GCC). -%post -n liblsan-32bit -p /sbin/ldconfig -%postun -n liblsan-32bit -p /sbin/ldconfig - %package -n libubsan-32bit Summary: The GNU Compiler Undefined Sanitizer Runtime Library License: MIT @@ -1134,13 +1124,6 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/ %{libsubdir}/32/libasan.so.* %endif -%ifarch %lsan_arch -%files -n liblsan-32bit -%manifest gcc.manifest -%defattr(-,root,root) -%{libsubdir}/32/liblsan.so.* -%endif - %ifarch %atomic_arch %files -n libatomic-32bit %manifest gcc.manifest -- 2.7.4