Files
poky/meta/recipes-connectivity
Alexey Brodkin 22eb7f218d openssl: Use linux-latomic target for ARC
Some atomic ops for 32-bit ARC processors are implemented in GCC's libatomic.
For example those dealing with 64-bit data (e.g. __atomic_load_8()) as well as
some others. That said it's required to add "-latomic" for successful linkage.

Otherwise error messages like this happen on OpenSSL building for ARC:
------------------------------->8------------------------------
| ...ld: libcrypto.a(libcrypto-lib-threads_pthread.o): in function `CRYPTO_atomic_or':
| .../openssl-3.0.0/crypto/threads_pthread.c:219: undefined reference to `__atomic_is_lock_free'
| ...ld: .../openssl-3.0.0/crypto/threads_pthread.c:219: undefined reference to `__atomic_is_lock_free'
| ...ld: .../openssl-3.0.0/crypto/threads_pthread.c:220: undefined reference to `__atomic_fetch_or_8'
------------------------------->8------------------------------

Fix that by using a special target, which does exactly what's needed.
See [1] and [2] for more details on the matter.

[1] cdf2986a70
[2] https://github.com/openssl/openssl/pull/15640

(From OE-Core rev: f48227a192022c604f8c2ea4fe973c6664861101)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
..
2021-11-25 21:55:10 +00:00
2021-10-23 17:42:25 +01:00
2021-10-27 09:46:41 +01:00
2021-11-10 19:27:28 +00:00
2021-08-02 15:44:10 +01:00
2021-10-23 17:42:25 +01:00
2021-10-23 17:42:25 +01:00
2021-11-07 15:49:51 +00:00
2021-08-02 15:44:10 +01:00
2021-08-02 15:44:10 +01:00
2021-11-11 17:09:16 +00:00