From fe49d5c682e3a15e265a00d978aca1f1e34174bd Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Thu, 22 Jan 2026 19:27:13 +0100 Subject: [PATCH] package/drbd-utils: drbdmon needs sync_1 Buildroot commit 99585db1e896d7a75e204335af86f0725a30d357 bumped the package from version 9.21.4 to 9.33.0. Upstream added std::atomic to drbdmon with commit https://github.com/LINBIT/drbd-utils/commit/3baf945732fc144043822b50a2a03daad0994d44 to version 9.25.0 causing build errors: /home/autobuild/autobuild/instance-2/output-1/per-package/drbd-utils/host/bin/../lib/gcc/microblazeel-buildroot-linux-uclibc/14.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: MessageLogNotification.o: in function `MessageLogNotification::query_log_changed()': (.text+0xe8): undefined reference to `__atomic_exchange_1' Fixes: https://autobuild.buildroot.net/results/741/741606000c26bc994f243b0b865d26ff25592caa/ Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/drbd-utils/drbd-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/drbd-utils/drbd-utils.mk b/package/drbd-utils/drbd-utils.mk index 657f9fafd8..82baba975d 100644 --- a/package/drbd-utils/drbd-utils.mk +++ b/package/drbd-utils/drbd-utils.mk @@ -20,7 +20,7 @@ else DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv endif -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_TOOLCHAIN_HAS_SYNC_1),yy) DRBD_UTILS_CONF_OPTS += --with-drbdmon else DRBD_UTILS_CONF_OPTS += --without-drbdmon