921cbcfab0
libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh libguestfs.test.simple.create-opensuse-guest.sh libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh libguestfs.test.simple.create-sles12-guest.sh - Allow the use busybox dhcp client appliance.patch netconfig.patch - Update to version 1.44.2 makefile-ocaml-find-guestfs.patch * Port libguestfs to use pcre2 instead of pcre * inspection: More reliable detection of Linux split /usr configurations * python: Relicense setup.py to LGPLv2+ (originally GPLv2+) * lib: qemu: Don't use -enable-fips option. * rust: Fix deprecated use of panic!(format!(...)) * point users to Libera Chat rather than FreeNode * python: Don't leak fields when creating Python structs * appliance: Add IBM850 iconv converter for syslinux * launch: board model for RISC-V * lib: Add osinfo information for Windows Server 2022 Datacenter * lib: Autodetect backing format for qemu-img create -b * appliance: Fix searching for shared libraries on usr-merged Debian systems * appliance: Add mount package for Debian * m4/guestfs-appliance.m4: Add support for Alma and Cloud Linux * daemon/luks.c: Ignore bogus GCC -fanalyzer double-free warning * daemon/xattr.c: Increase size of temporary buffer for %zu * daemon/utils.c: Fix potential unbounded stack usage * Various other bug fixes - Upstream bug fixes post 1.44.2 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=480
27 lines
897 B
Diff
27 lines
897 B
Diff
Subject: daemon: Build with -pthread
|
|
From: Richard W.M. Jones rjones@redhat.com Sat Sep 11 09:27:17 2021 +0100
|
|
Date: Sat Sep 11 09:27:17 2021 +0100:
|
|
Git: e26cfa445a1947503a03c55d8d65263530747062
|
|
|
|
The daemon failed to link with glibc < 2.34 because we didn't include
|
|
the separate pthread library. Adding -pthread fixes this.
|
|
|
|
Note this change was also make upstream in commit 733d2182b6 ("Remove
|
|
the tools.") although I think either by accident or unrelated.
|
|
|
|
Reported-by: Toolybird
|
|
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2003326
|
|
|
|
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
|
|
index 86aa920e8..b670bb1e2 100644
|
|
--- a/daemon/Makefile.am
|
|
+++ b/daemon/Makefile.am
|
|
@@ -255,6 +255,7 @@ guestfsd_CPPFLAGS = \
|
|
-I$(top_srcdir)/common/utils \
|
|
-I$(top_builddir)/common/utils
|
|
guestfsd_CFLAGS = \
|
|
+ -pthread \
|
|
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
|
|
$(RPC_CFLAGS) \
|
|
$(AUGEAS_CFLAGS) \
|