From bb7c74430e1a1728d223668acd2a29d96987d417e5bba273892fb163bd3b0121 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 2 Oct 2020 22:23:54 +0000 Subject: [PATCH] - Add forced ELF symvers because of ABI breaks OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=47 --- dwarves.changes | 1 + dwarves.spec | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dwarves.changes b/dwarves.changes index ee326ae..c7a25ba 100644 --- a/dwarves.changes +++ b/dwarves.changes @@ -10,6 +10,7 @@ Fri Oct 2 22:00:47 UTC 2020 - Jan Engelhardt dwarves-dwarf_loader-Ignore-entries-in-a-DW_TAG_partial_unit-for-now.patch, dwarves-dwarf_loader-Bail-out-at-DW_TAG_imported_unit-tags.patch (merged) +- Add forced ELF symvers because of ABI breaks ------------------------------------------------------------------- Mon Sep 21 18:48:25 UTC 2020 - Tom de Vries diff --git a/dwarves.spec b/dwarves.spec index 78ceb0f..8c98b67 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -87,7 +87,9 @@ for processing DWARF, a debugging data format for ELF files. %autosetup -p1 %build -%cmake +sv="$PWD/lib.v" +echo "DWARVES_%version { global: *; };" >"$sv" +%cmake -DCMAKE_SHARED_LINKER_FLAGS:STRING="-Wl,--version-script=$sv" %cmake_build %install