From 3c3e3c8ac6ad6296858b6e74212a96f5bb1668aa3f121deaa3621a91d43a186e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Thu, 5 May 2022 11:17:20 +0000 Subject: [PATCH 1/3] - Add valgrind as BuildRequire argument. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=33 --- mold.changes | 5 +++++ mold.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/mold.changes b/mold.changes index 866feec..d0bc5d8 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 5 11:17:01 UTC 2022 - Martin Liška + +- Add valgrind as BuildRequire argument. + ------------------------------------------------------------------- Thu Apr 28 12:49:30 UTC 2022 - Martin Liška diff --git a/mold.spec b/mold.spec index 38fdeb8..4688da6 100644 --- a/mold.spec +++ b/mold.spec @@ -43,6 +43,7 @@ BuildRequires: gcc-32bit BuildRequires: gdb BuildRequires: glibc-devel-static BuildRequires: openssl-devel +BuildRequires: valgrind BuildRequires: xxhash-devel BuildRequires: zlib-devel PreReq: update-alternatives From 5bed486ad0ba61823c603b9b490b0da62348c313b5d1ed520d3f62ed3a905b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Tue, 10 May 2022 12:30:23 +0000 Subject: [PATCH 2/3] - Do not use mimalloc, use system glibc allocator. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=34 --- mold.changes | 5 +++++ mold.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mold.changes b/mold.changes index d0bc5d8..16737f1 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 10 12:30:07 UTC 2022 - Martin Liška + +- Do not use mimalloc, use system glibc allocator. + ------------------------------------------------------------------- Thu May 5 11:17:01 UTC 2022 - Martin Liška diff --git a/mold.spec b/mold.spec index 4688da6..fc5206b 100644 --- a/mold.spec +++ b/mold.spec @@ -34,7 +34,6 @@ BuildRequires: clang BuildRequires: libdwarf-tools BuildRequires: llvm BuildRequires: llvm-gold -BuildRequires: mimalloc-devel BuildRequires: tbb-devel %ifarch x86_64 BuildRequires: gcc-32bit @@ -49,9 +48,9 @@ BuildRequires: zlib-devel PreReq: update-alternatives %if %{suse_version} < 1550 -%define build_args STRIP=true SYSTEM_XXHASH=1 +%define build_args STRIP=true SYSTEM_XXHASH=1 USE_MIMALLOC=0 %else -%define build_args STRIP=true SYSTEM_TBB=1 SYSTEM_XXHASH=1 SYSTEM_MIMALLOC=1 +%define build_args STRIP=true SYSTEM_TBB=1 SYSTEM_XXHASH=1 SYSTEM_MIMALLOC=1 USE_MIMALLOC=0 %endif %description From a894d21dcb80fbf690b63ab62e40fd1a0bea005a60960b6dbdce17bd805ea3e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Tue, 10 May 2022 12:30:57 +0000 Subject: [PATCH 3/3] Fix extra option. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=35 --- mold.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mold.spec b/mold.spec index fc5206b..d9cd8cf 100644 --- a/mold.spec +++ b/mold.spec @@ -50,7 +50,7 @@ PreReq: update-alternatives %if %{suse_version} < 1550 %define build_args STRIP=true SYSTEM_XXHASH=1 USE_MIMALLOC=0 %else -%define build_args STRIP=true SYSTEM_TBB=1 SYSTEM_XXHASH=1 SYSTEM_MIMALLOC=1 USE_MIMALLOC=0 +%define build_args STRIP=true SYSTEM_TBB=1 SYSTEM_XXHASH=1 USE_MIMALLOC=0 %endif %description