upstream has a fix in code [1] to avoid these calls lets backport that

[1] https://github.com/curl/curl/commit/50efb0822aa0e0ab165158dd0a26e65a2290e6d2

On 7/12/22 9:00 AM, Yu, Mingli wrote:
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(+)

diff --git a/meta/recipes-support/curl/curl_7.84.0.bb 
b/meta/recipes-support/curl/curl_7.84.0.bb
index 0d829cdf23..d8efb45a08 100644
--- a/meta/recipes-support/curl/curl_7.84.0.bb
+++ b/meta/recipes-support/curl/curl_7.84.0.bb
@@ -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 (#167911): 
https://lists.openembedded.org/g/openembedded-core/message/167911
Mute This Topic: https://lists.openembedded.org/mt/92328681/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to