From: Dmitry Baryshkov <[email protected]>

On riscv32 configurations OpenSSL fails to build with "undefined
reference to `__atomic_foo'" kind of errors. Change OpenSSL recipe to
use linux-latomic configuration instead of linux-generic32.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit e8ce80fc6d6579554bca2eba057e65d4b12c0793)
Signed-off-by: Steve Sakoman <[email protected]>
---
 meta/recipes-connectivity/openssl/openssl_3.1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb 
b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb
index dca6f18e74..f5f3f32a97 100644
--- a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb
+++ b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb
@@ -118,7 +118,7 @@ do_configure () {
                target=linux-ppc64le
                ;;
        linux-riscv32)
-               target=linux-generic32
+               target=linux-latomic
                ;;
        linux-riscv64)
                target=linux-generic64
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183530): 
https://lists.openembedded.org/g/openembedded-core/message/183530
Mute This Topic: https://lists.openembedded.org/mt/99823097/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to