summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2017-02-28 15:17:45 +0300
committerSlava Barinov <v.barinov@samsung.com>2017-03-01 11:47:12 +0300
commit6030c5924d94009cdb6afc3edde948ae1f1bb119 (patch)
treec9b4f18c30aa6c561eeca7cb3b78a13b28db4561
parent9043b1561d09357b99c5c5f4e91805d59c113f45 (diff)
downloadlinaro-gcc-6030c5924d94009cdb6afc3edde948ae1f1bb119.tar.gz
linaro-gcc-6030c5924d94009cdb6afc3edde948ae1f1bb119.tar.bz2
linaro-gcc-6030c5924d94009cdb6afc3edde948ae1f1bb119.zip
Add liblsan packaging
Change-Id: I44084744a83cdc87e69b2a1f25cc4138bac31913 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--packaging/gcc-aarch64.spec19
-rw-r--r--packaging/gcc-armv7l.spec19
-rw-r--r--packaging/linaro-gcc.spec19
3 files changed, 54 insertions, 3 deletions
diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec
index 3789d9f464c..b17605d755f 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
+%define lsan_arch x86_64 %ix86 armv7l aarch64
%define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64
%define cilkrts_arch x86_64 %ix86
@@ -501,6 +501,16 @@ The runtime library needed to run programs compiled with the
%post -n libasan-32bit -p /sbin/ldconfig
%postun -n libasan-32bit -p /sbin/ldconfig
+%package -n liblsan-32bit
+Summary: The GNU Compiler Address 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 libtsan-32bit
Summary: The GNU Compiler Thread Sanitizer Runtime Library
License: MIT
@@ -1128,6 +1138,13 @@ 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 32f66e073cd..f3456951363 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
+%define lsan_arch x86_64 %ix86 armv7l aarch64
%define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64
%define cilkrts_arch x86_64 %ix86
@@ -501,6 +501,16 @@ The runtime library needed to run programs compiled with the
%post -n libasan-32bit -p /sbin/ldconfig
%postun -n libasan-32bit -p /sbin/ldconfig
+%package -n liblsan-32bit
+Summary: The GNU Compiler Address 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 libtsan-32bit
Summary: The GNU Compiler Thread Sanitizer Runtime Library
License: MIT
@@ -1128,6 +1138,13 @@ 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 18ff8519c15..af1607804d0 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
+%define lsan_arch x86_64 %ix86 armv7l aarch64
%define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64
%define cilkrts_arch x86_64 %ix86
@@ -498,6 +498,16 @@ The runtime library needed to run programs compiled with the
%post -n libasan-32bit -p /sbin/ldconfig
%postun -n libasan-32bit -p /sbin/ldconfig
+%package -n liblsan-32bit
+Summary: The GNU Compiler Address 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 libtsan-32bit
Summary: The GNU Compiler Thread Sanitizer Runtime Library
License: MIT
@@ -1125,6 +1135,13 @@ 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