[Buildroot] [PATCH 1/1] package/gensio: link with -latomic if needed

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Oct 24 13:07:40 UTC 2021


On Sat, 23 Oct 2021 19:09:39 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Link with -latomic if needed to avoid the following build failure since
> bump to version 2.0.1 in commit 0f8d4a6ecd874770ce677b617b2c7f459eb1505d
> and
> https://github.com/cminyard/gensio/commit/5528267b54ac5a8ac0ecd7fd9ba481d654b0e92b:
> 
> /tmp/instance-0/output-1/per-package/gensio/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/9.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ../lib/.libs/libgensio.so: undefined reference to `__atomic_fetch_add_4'
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/2114f9cb3d820fc620932e793f53341a0c1f10bc
>  - http://autobuild.buildroot.org/results/c1b397eea1c2eda19149844cec4a87d55651862d
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/gensio/gensio.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list