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 <dmitry.barysh...@linaro.org>
---
 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 dca6f18e7454..f5f3f32a978c 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.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#182401): 
https://lists.openembedded.org/g/openembedded-core/message/182401
Mute This Topic: https://lists.openembedded.org/mt/99351786/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to