Hello community, here is the log from the commit of package meson for openSUSE:Factory checked in at 2019-05-17 23:37:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/meson (Old) and /work/SRC/openSUSE:Factory/.meson.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "meson" Fri May 17 23:37:10 2019 rev:43 rq:702823 version:0.50.1 Changes: -------- --- /work/SRC/openSUSE:Factory/meson/meson.changes 2019-05-06 21:13:18.468431928 +0200 +++ /work/SRC/openSUSE:Factory/.meson.new.5148/meson.changes 2019-05-17 23:37:11.526108459 +0200 @@ -1,0 +2,7 @@ +Thu May 2 11:06:47 UTC 2019 - Martin Liška <[email protected]> + +- Add gcc9-sanitizer.patch in order to handle unresolved symbols with + -fsanitize=*. It's caused by sanitizer wrappers and our default --as-needed + that we use as SUSE in our linker build (boo#1127953). + +------------------------------------------------------------------- New: ---- gcc9-sanitizer.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ meson.spec ++++++ --- /var/tmp/diff_new_pack.sQiu2B/_old 2019-05-17 23:37:12.322108040 +0200 +++ /var/tmp/diff_new_pack.sQiu2B/_new 2019-05-17 23:37:12.326108038 +0200 @@ -49,6 +49,7 @@ Patch4: meson-fix-gcc48.patch # PATCH-FEATURE-OPENSUSE meson-distutils.patch [email protected] -- build and install using distutils instead of full setuptools Patch5: meson-distutils.patch +Patch6: gcc9-sanitizer.patch BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-base @@ -160,6 +161,7 @@ %if !%{with setuptools} %patch5 -p1 %endif +%patch6 -p1 # Remove static boost tests from "test cases/frameworks/1 boost/". sed -i "/static/d" test\ cases/frameworks/1\ boost/meson.build ++++++ gcc9-sanitizer.patch ++++++ diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index e27ae2b..bc10824 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -427,7 +427,7 @@ def sanitizer_compile_args(value): def sanitizer_link_args(value): if value == 'none': return [] - args = ['-fsanitize=' + value] + args = ['-fsanitize=' + value, '-ldl', '-lrt', '-lm', '-lpthread'] return args def option_enabled(boptions, options, option):
