curl: Link with libatomic on rv64
PATCH 1/1 curl: Link with libatomic on rv64
From: Mingli Yu <[email protected]>
Fixes:
undefined reference to `__atomic_exchange_1'
Signed-off-by Mingli Yu <[email protected]>
--- meta/recipes-support/curl/curl_7.84.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-support/curl/curl_7.84.0.bb +2 -0
@@ -75,6 +75,8 @@ EXTRA_OECONF = " \ ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls nss openssl', d) == '') else ''} \ " +LDFLAGS:append:riscv64 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" + do_install:append:class-target() { # cleanup buildpaths from curl-config sed -i \
Signature · 1 line
2.25.1
upstream has a fix in code [1] to avoid these calls lets backport that
[1] https://github.com/curl/curl/commit/50efb0822aa0e0ab165158dd0a26e65a2290e6d2
Quoted 34 lines · Mingli
From: Mingli Yu <[email protected]>
Fixes:
undefined reference to `__atomic_exchange_1'Signed-off-by Mingli Yu <[email protected]>--- meta/recipes-support/curl/curl_7.84.0.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-support/curl/curl_7.84.0.bb +2
-1@@ -75,6 +75,8 @@ EXTRA_OECONF = " \ ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls nss openssl', d) == '') else ''} \ " +LDFLAGS:append:riscv64 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" + do_install:append:class-target() { # cleanup buildpaths from curl-config sed -i \ -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#167910): https://lists.openembedded.org/g/openembedded-core/message/167910
Mute This Topic: https://lists.openembedded.org/mt/92328681/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-