Summary: | dev-libs/openssl-1.1.0j USE=asm on sparc - ./libcrypto.so: undefined reference to `gcm_ghash_vis3' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben Kohler <bkohler> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | James_McMechan, sparc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=697560 https://github.com/openssl/openssl/issues/10165 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info '=dev-libs/openssl-1.1.1d-r2::gentoo' emerge -pqv '=dev-libs/openssl-1.1.1d-r2::gentoo' environment build log |
I was attempting to run a normal world update and dev-libs/openssl-1.1.1d-r2 also fails to compile the asm functions correctly. What appears to be happening is that something is overriding the -mcpu setting from make.conf CFLAGS, I started with the normal -mcpu=ultrasparc and then tried -mcpu=native and -mcpu=niagara2 all are being forced to -mcpu=v8 for some unknown reason. The upstream issue is at https://github.com/openssl/openssl/issues/10165 but upstream is wondering why it is being set to linux-sparcv8 since v9 dates back to 1993 I was looking at the environment and it has replace-sparc64-flags which for ultrasparc, ultrasparc3, v9 would seem to replace the -mcpu=X with -mcpu=v8 I do not know where this is actually from though. Created attachment 593672 [details]
emerge --info '=dev-libs/openssl-1.1.1d-r2::gentoo'
Created attachment 593674 [details]
emerge -pqv '=dev-libs/openssl-1.1.1d-r2::gentoo'
Created attachment 593676 [details]
environment
replace-sparc64-flags appears to be from eclass/flag-o-matic.eclass I am not sure how to get debugging info out though... The submit button was erroring out with Malformed multipart POST: data truncated When I tried to include build.log even though it is only 400k Still errored out with 17k build.log.xz Created attachment 593696 [details]
build log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d23227d2253257b0a674d9edb3b4b220cfc11275 commit d23227d2253257b0a674d9edb3b4b220cfc11275 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2019-12-01 17:31:58 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-12-01 17:32:23 +0000 profiles/sparc: Move USE=asm mask for openssl up a level Closes: https://bugs.gentoo.org/676060 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/arch/sparc/64ul/package.use.mask | 4 ---- profiles/arch/sparc/package.use.mask | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=619319357c7a8b08e2a8fb6b990208e6a97f840b commit 619319357c7a8b08e2a8fb6b990208e6a97f840b Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-13 08:32:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-13 08:32:13 +0000 profiles/arch/sparc/32ul: restore openssl[asm] mask for 32-bit Closes: https://bugs.gentoo.org/676060 See: 009aa30edecb3843cb9d4ad6704fb32e4bd4216a Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/sparc/32ul/package.use.mask | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) |
Created attachment 562516 [details] build.log See attached build log. Haven't found a relevant upstream issue/bug yet.