Summary: | dev-libs/openssl libcrypto.so: undefined reference to `__atomic_load_8 when using crossdev to build for i486 target | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | immolo <immoloism> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 721344 | ||
Attachments: |
environment
build log |
Description
immolo
2023-02-18 19:55:05 UTC
Created attachment 852768 [details]
environment
Created attachment 852770 [details]
build log
workaround of adding `-latomic` seems to break a few other programs such as openssh and wpa_supplicant. I don't see a point of including those build logs as it's not the root cause but can rebuild if it helps. This happens when building natively on 32-bit ARM as well. The correct fix should be to specify machine "latomic" instead of "generic32" when running the Configure script. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abcf1c332125b850a893019e63444c2b93d965bd commit abcf1c332125b850a893019e63444c2b93d965bd Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-27 18:02:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-27 18:02:33 +0000 dev-libs/openssl: pass -latomic when needed (e.g. i486/old arm) Closes: https://bugs.gentoo.org/895308 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/openssl/openssl-3.0.9-r1.ebuild | 5 +++++ dev-libs/openssl/openssl-3.1.1-r1.ebuild | 5 +++++ 2 files changed, 10 insertions(+) |