Summary: | dev-libs/nss-3.56: linking failed on arm64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ross Charles C. <rossbridger.cc> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arm64, axl, herrtimson, rossbridger.cc, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/17269 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | The complete build.log |
Description
Ross Charles C.
2020-08-25 11:24:19 UTC
Created attachment 656586 [details]
The complete build.log
Typo on the original description: I can also confirm it doesn't happen on *amd64* machines.
I think I know what's going on, the ebuild didn't pass the NS_USE_GCC flag so the build system didn't add the needed files on arm64, hence the missing symbols. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edf65f8d7e2d643df9e1bba1ef27ac687a35714 commit 6edf65f8d7e2d643df9e1bba1ef27ac687a35714 Author: Ross Charles Campbell <rossbridger.cc@gmail.com> AuthorDate: 2020-08-26 15:11:03 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-08-31 22:08:55 +0000 dev-libs/nss: Add NS_USE_GCC environment variable This variable seems to be required to be be set in order to have certain files to be compiled on arm64 linux systems, otherwise some symbols will be missing at linking thus causing build failure. This addition seems to be harmless on amd64 systems. Closes: https://bugs.gentoo.org/738924 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-libs/nss/nss-3.56.ebuild | 2 ++ 1 file changed, 2 insertions(+) this may break again with this commit merged in nss-3.57: https://hg.mozilla.org/projects/nss/rev/b971c77c0d68d76c086a0df21841efb813b78c7b I did a few testcompiles, the workaround in the ebuild can be removed, the upstream patch release with nss-3.57 will do the same job instead. Both workaround present in the ebuild and the patch added to nss-3.56 doesn't hurt either. |