From 1653f8a22c83b08c4aea20cfd9f427740a1f7b40 Mon Sep 17 00:00:00 2001 From: Dongkyun Son Date: Tue, 19 Sep 2017 14:33:20 +0900 Subject: packaging: clean-up sanitizer macros. sanitizer related macros moved to 'gcc-contrib' package. Change-Id: Ic8ed52aac4a502f2bf44053225b2e29e721699d6 Signed-off-by: Dongkyun Son --- ChangeLog.Tizen | 20 ++++++++++++++++++++ packaging/gcc-aarch64.spec | 8 -------- packaging/gcc-armv7l.spec | 8 -------- packaging/linaro-gcc.spec | 8 -------- 4 files changed, 20 insertions(+), 24 deletions(-) diff --git a/ChangeLog.Tizen b/ChangeLog.Tizen index 8d820cf5afb..f1ebf58d78d 100644 --- a/ChangeLog.Tizen +++ b/ChangeLog.Tizen @@ -30,8 +30,28 @@ # file after the commit hash is fixed, you are free to add the commit hash. ################################################################################ +2017-09-26 Dongkyun Son + + packaging: clean-up sanitizer macros. + +2017-09-14 Dongkyun Son + + commit ce8f98b15cfa686de845dfa6d0e256ed9484681c + packaging: provide libasan(64bit) on 32bit build env + +2017-09-11 Denis Khalikov + + commit bdfd925eda6c0c5857fe9282e973516ac8bedb9f + [TTC-6] packaging: Support for gcc-contrib. + +2017-09-04 Slava Barinov + + commit 91971721b75fcd6c83a36a72b0a8d7bb3ec1e91e + [TTC-5] Forbid section anchors for ASan build (PR sanitizer/81697) + 2017-08-30 Sangmin Seo + commit f82588bbb3fe09f23a1e685e1506cf962c951da3 Add ChangeLog.Tizen 2017-08-30 Hoyub Lee diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec index 1186204ced2..b6e8af4f430 100644 --- a/packaging/gcc-aarch64.spec +++ b/packaging/gcc-aarch64.spec @@ -54,14 +54,6 @@ %define libdir %{!?cross:%{_libdir}}%{?cross:%{_prefix}/lib%{?aarch64:64}} %define libsubdir %{libdir}/gcc/%{target_arch}/%{version} -%define asan_force_options -fsanitize-recover=address -fsanitize=address -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread -%define ubsan_force_options -fsanitize=undefined,bounds-strict,float-divide-by-zero,float-cast-overflow -%define lsan_force_options -fsanitize=leak -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE - -%define asan_runtime_options halt_on_error=false:start_deactivated=true:print_cmdline=true:quarantine_size_mb=1:detect_leaks=0:log_path=/tmp/asan.log:log_exe_name=1 -%define ubsan_runtime_options print_cmdline=true:log_path=/tmp/ubsan.log -%define lsan_runtime_options print_cmdline=true:detect_leaks=1:log_path=/tmp/lsan.log:log_exe_name=1:fast_unwind_on_malloc=false:malloc_context_size=5:suppressions=/lsan.supp:print_suppressions=false - Name: gcc%{?cross:-%{cross}} # With generated files in src we could drop the following BuildRequires: bison diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec index b80b764c010..0d7655dd4a8 100644 --- a/packaging/gcc-armv7l.spec +++ b/packaging/gcc-armv7l.spec @@ -54,14 +54,6 @@ %define libdir %{!?cross:%{_libdir}}%{?cross:%{_prefix}/lib%{?aarch64:64}} %define libsubdir %{libdir}/gcc/%{target_arch}/%{version} -%define asan_force_options -fsanitize-recover=address -fsanitize=address -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread -%define ubsan_force_options -fsanitize=undefined,bounds-strict,float-divide-by-zero,float-cast-overflow -%define lsan_force_options -fsanitize=leak -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE - -%define asan_runtime_options halt_on_error=false:start_deactivated=true:print_cmdline=true:quarantine_size_mb=1:detect_leaks=0:log_path=/tmp/asan.log:log_exe_name=1 -%define ubsan_runtime_options print_cmdline=true:log_path=/tmp/ubsan.log -%define lsan_runtime_options print_cmdline=true:detect_leaks=1:log_path=/tmp/lsan.log:log_exe_name=1:fast_unwind_on_malloc=false:malloc_context_size=5:suppressions=/lsan.supp:print_suppressions=false - Name: gcc%{?cross:-%{cross}} # With generated files in src we could drop the following BuildRequires: bison diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec index f760a02914b..fd937c3b512 100644 --- a/packaging/linaro-gcc.spec +++ b/packaging/linaro-gcc.spec @@ -51,14 +51,6 @@ %define libdir %{!?cross:%{_libdir}}%{?cross:%{_prefix}/lib%{?aarch64:64}} %define libsubdir %{libdir}/gcc/%{target_arch}/%{version} -%define asan_force_options -fsanitize-recover=address -fsanitize=address -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread -%define ubsan_force_options -fsanitize=undefined,bounds-strict,float-divide-by-zero,float-cast-overflow -%define lsan_force_options -fsanitize=leak -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE - -%define asan_runtime_options halt_on_error=false:start_deactivated=true:print_cmdline=true:quarantine_size_mb=1:detect_leaks=0:log_path=/tmp/asan.log:log_exe_name=1 -%define ubsan_runtime_options print_cmdline=true:log_path=/tmp/ubsan.log -%define lsan_runtime_options print_cmdline=true:detect_leaks=1:log_path=/tmp/lsan.log:log_exe_name=1:fast_unwind_on_malloc=false:malloc_context_size=5:suppressions=/lsan.supp:print_suppressions=false - Name: gcc%{?cross:-%{cross}} # With generated files in src we could drop the following BuildRequires: bison -- cgit v1.2.3