packaging: disable lsan for arm and x86
authorChan Lee <chan45.lee@samsung.com>
Thu, 19 Jan 2017 06:51:50 +0000 (15:51 +0900)
committerSlava Barinov <v.barinov@samsung.com>
Thu, 27 Apr 2023 09:06:58 +0000 (12:06 +0300)
Change-Id: I0ff97d8f50f386eabd49f8b5d1479f6645e52e90
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
packaging/gcc-aarch64.spec
packaging/gcc-armv7l.spec
packaging/linaro-gcc.spec

index 82233dd..5382ec1 100644 (file)
@@ -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
index 67a33ad..fc1797d 100644 (file)
@@ -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
index 5488c6a..c50a8f0 100644 (file)
@@ -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