Summary: | dev-cpp/abseil-cpp-20200923.2: fails to build on arm64 (error: inlining failed in call to ‘always_inline’ ‘uint8x16_t vaeseq_u8(uint8x16_t, uint8x16_t)’: target specific option mismatch) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Georgy Yakovlev <gyakovlev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 730282 | ||
Attachments: |
build.log
Patch |
Description
Sam James
![]() ![]() ![]() ![]() https://github.com/abseil/abseil-cpp/issues/662 Supposedly replacing -march=... with -march=...+crypto would work around problem. (In reply to Arfrever Frehtes Taifersar Arahesis from comment #1) > https://github.com/abseil/abseil-cpp/issues/662 > > Supposedly replacing -march=... with -march=...+crypto would work around > problem. I don’t have the crypto extensions unfortunately. Created attachment 696078 [details, diff]
Patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=619cfe3daec298493d31030008efc12e5ebbf7ec commit 619cfe3daec298493d31030008efc12e5ebbf7ec Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2021-03-29 18:00:00 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-04-02 03:03:39 +0000 dev-cpp/abseil-cpp: Fix building on ARM{32,64} CPUs without crypto extension. Closes: https://bugs.gentoo.org/778926 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-cpp/abseil-cpp/abseil-cpp-20200923.2.ebuild | 14 ++++++++++++-- .../files/abseil-cpp-20200923-arm_no_crypto.patch | 16 ++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6459947b9a21796aa2980fce0e16f25a9bb37294 commit 6459947b9a21796aa2980fce0e16f25a9bb37294 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-04-29 03:02:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-04-29 04:04:34 +0000 dev-cpp/abseil-cpp: backport fix for arm64 CPUs without crypto extensions * Backport fix for arm64 CPUs without crypto extensions (needed for a keywording bug). * Add information in patch / background on the problem (including mentioning the need for an ebuild change, in case e.g. another distro tries to pick it up, and to remind us to try upstream it.) * Add explicit flag-o-matic inherits accordingly. See: 619cfe3daec298493d31030008efc12e5ebbf7ec Bug: https://bugs.gentoo.org/778926 Bug: https://bugs.gentoo.org/766411 Signed-off-by: Sam James <sam@gentoo.org> dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild | 13 ++++++++++++- dev-cpp/abseil-cpp/abseil-cpp-20200923.2-r1.ebuild | 3 ++- dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild | 3 ++- .../files/abseil-cpp-20200923-arm_no_crypto.patch | 7 +++++++ 4 files changed, 23 insertions(+), 3 deletions(-) |