Skip to contentSkip to conversation

package/drbd-utils: drbdmon needs sync_1

PATCH In review Bernd Kuhls 2 participants 2 messages Jan 22 – Feb 2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/drbd-utils/drbd-utils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/drbd-utils/drbd-utils.mk +1 -1
index 657f9fafd8..82baba975d 100644
@@ -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
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

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:

Quoted 8 lines

/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/

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot