| Summary: | dev-ruby/x25519-1.0.8 build failure: powerpc64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-mbmi’ | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sergei Trofimovich (RETIRED) <slyfox> |
| Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ppc64 |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 728064 | ||
|
Description
Sergei Trofimovich (RETIRED)
2020-06-15 20:31:36 UTC
Seems to come from: all/x25519-1.0.8/ext/x25519_precomputed/extconf.rb: $CFLAGS << " -Wall -O3 -pedantic -std=c99 -mbmi -mbmi2 -march=native -mtune=native" ruby25/x25519-1.0.8/ext/x25519_precomputed/extconf.rb: $CFLAGS << " -Wall -O3 -pedantic -std=c99 -mbmi -mbmi2 -march=native -mtune=native" The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea031d253fac214034a2b18e2ee16d4c3295a14 commit eea031d253fac214034a2b18e2ee16d4c3295a14 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2020-06-21 07:47:55 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2020-06-21 07:48:06 +0000 dev-ruby/x25519: precomputed impl only works on amd64 The precomputed implementation only works on amd64, so avoid it on other arches and let them fall back to the unoptimized reference implementation. Closes: https://bugs.gentoo.org/728420 Closes: https://bugs.gentoo.org/728888 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/x25519/x25519-1.0.8.ebuild | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) |