diff --git a/lxd.changes b/lxd.changes index 160847d..43b0847 100644 --- a/lxd.changes +++ b/lxd.changes @@ -14,6 +14,10 @@ Sun Sep 5 06:43:47 UTC 2021 - Aleksa Sarai * --minimal option for lxd init * Additional network counters in instance state +- Disable stripping of binaries, which seems to be causing issues at runtime + due to some ld.so assertion failing. In particular it seems that libdqlite is + getting corrupted somehow. + ------------------------------------------------------------------- Fri Aug 20 11:59:37 UTC 2021 - Aleksa Sarai diff --git a/lxd.spec b/lxd.spec index bba8b49..099d991 100644 --- a/lxd.spec +++ b/lxd.spec @@ -14,8 +14,11 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# nodebuginfo +%go_nostrip + %define _buildshell /bin/bash %define import_path github.com/lxc/lxd @@ -280,11 +283,6 @@ do name="$(basename "$(readlink "$lib")" | sed -E 's/\.[0-9]+\.[0-9]+$//')" patchelf --replace-needed {,%{_libdir}/%{name}/}"$name" "$target" done - - # TODO: For some reason, BRP isn't auto-stripping our binaries even though - # we've dropped go_nostrip. So just strip them manually until I can figure - # out why that's happening. - strip "$target" done # Generate man pages.