Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1 1/8] package/libsoup3: fix reference to atomic
@ 2024-04-20 18:58 Thomas Devoogdt
  2024-04-20 18:58 ` [Buildroot] [PATCH v1 2/8] package/gssdp: " Thomas Devoogdt
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Thomas Devoogdt @ 2024-04-20 18:58 UTC (permalink / raw)
  To: buildroot
  Cc: Joseph Kogut, Thomas Devoogdt, Aleksander Morgado, Rahul Bedarkar,
	Fabrice Fontaine

gthread-posix.c:(.text+0x137c): undefined reference to `__atomic_compare_exchange_4'
collect2: error: ld returned 1 exit status

Fixes:
 - http://autobuild.buildroot.net/results/4fb9f4c49777dde3abc30bb9f324816d3ed87567

Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
---
 package/libsoup3/libsoup3.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/libsoup3/libsoup3.mk b/package/libsoup3/libsoup3.mk
index 10caa5bea4..99eee466b3 100644
--- a/package/libsoup3/libsoup3.mk
+++ b/package/libsoup3/libsoup3.mk
@@ -30,6 +30,11 @@ LIBSOUP3_CONF_OPTS = \
 	-Dtests=false \
 	-Dtls_check=false
 
+# Uses __atomic_compare_exchange_4
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+LIBSOUP3_LDFLAGS += -latomic
+endif
+
 ifeq ($(BR2_PACKAGE_BROTLI),y)
 LIBSOUP3_CONF_OPTS += -Dbrotli=enabled
 LIBSOUP3_DEPENDENCIES += brotli
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-05-02 14:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-20 18:58 [Buildroot] [PATCH v1 1/8] package/libsoup3: fix reference to atomic Thomas Devoogdt
2024-04-20 18:58 ` [Buildroot] [PATCH v1 2/8] package/gssdp: " Thomas Devoogdt
2024-04-20 18:58 ` [Buildroot] [PATCH v1 3/8] package/gupnp: " Thomas Devoogdt
2024-04-20 18:58 ` [Buildroot] [PATCH v1 4/8] package/gupnp-av: " Thomas Devoogdt
2024-04-20 18:58 ` [Buildroot] [PATCH v1 5/8] package/gupnp-dlna: " Thomas Devoogdt
2024-04-20 18:58 ` [Buildroot] [PATCH v1 6/8] package/at-spi2-core: " Thomas Devoogdt
2024-04-20 18:58 ` [Buildroot] [PATCH v1 7/8] package/gdk-pixbuf: " Thomas Devoogdt
2024-04-20 18:58 ` [Buildroot] [PATCH v1 8/8] package/libqmi: " Thomas Devoogdt
2024-05-02  7:56 ` [Buildroot] [PATCH v1 1/8] package/libsoup3: " Thomas Petazzoni via buildroot
2024-05-02  8:15   ` Fabrice Fontaine
2024-05-02  8:30     ` Thomas Petazzoni via buildroot
2024-05-02 14:15       ` Thomas Devoogdt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox