From 41498af0df34a3ab61ce8e4f846c06bc534e6d16 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 5 Jun 2022 17:20:01 +0200 Subject: [PATCH] package/gensio: needs atomic gensio needs atomic since bump to version 2.0.1 in commit 0f8d4a6ecd874770ce677b617b2c7f459eb1505d and https://github.com/cminyard/gensio/commit/5528267b54ac5a8ac0ecd7fd9ba481d654b0e92b: /nvmedata/autobuild/instance-7/output-1/per-package/gensio/host/bin/../lib/gcc/arc-buildroot-linux-uclibc/11.3.0/../../../../arc-buildroot-linux-uclibc/bin/ld: ../lib/.libs/libgensio.a(gensio_osops.o): in function `gensio_addr_dup': gensio_osops.c:(.text+0x1558): undefined reference to `__atomic_fetch_add_4' Fixes: - http://autobuild.buildroot.org/results/229e4bd1ba1787953899875ab56721c9609f035a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gensio/Config.in | 1 + package/ser2net/Config.in | 1 + 2 files changed, 2 insertions(+) diff --git a/package/gensio/Config.in b/package/gensio/Config.in index f874d1a469..fd0e476970 100644 --- a/package/gensio/Config.in +++ b/package/gensio/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_GENSIO bool "gensio" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_ATOMIC help A library to abstract stream I/O like serial port, TCP, telnet, UDP, SSL, IPMI SOL, etc. diff --git a/package/ser2net/Config.in b/package/ser2net/Config.in index 3d110b70f2..1859d42c8f 100644 --- a/package/ser2net/Config.in +++ b/package/ser2net/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_SER2NET bool "ser2net" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_ATOMIC # gensio select BR2_PACKAGE_GENSIO select BR2_PACKAGE_LIBYAML help