[Bug 251590] textproc/ripgrep: fails to build with CPUTYPE=haswell (avx)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 4 23:55:13 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251590
Bug ID: 251590
Summary: textproc/ripgrep: fails to build with CPUTYPE=haswell
(avx)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: greg at unrelenting.technology
CC: petteri.valkonen at iki.fi
Flags: maintainer-feedback?(petteri.valkonen at iki.fi)
CC: petteri.valkonen at iki.fi
With CPUTYPE=haswell and SIMD=on, the build fails:
error[E0432]: unresolved import `crate::arch::x86_64::_mm_shuffle_pi8`
-->
/wrkdirs/usr/ports/textproc/ripgrep/work/ripgrep-12.1.1/cargo-crates/packed_simd-0.3.3/src/codegen/shuffle1_dyn.rs:40:29
|
40 | use crate::arch::x86_64::_mm_shuffle_pi8;
| ^^^^^^^^^^^^^^^^^^^^^---------------
| | |
| | help: a similar name
exists in the module: `_mm_shuffle_epi8`
| no `_mm_shuffle_pi8` in `arch::x86_64`
...
297 | impl_shuffle1_dyn!(u8x8);
| ------------------------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z
macro-backtrace for more info)
A workaround is to do
_CPUCFLAGS:=
in the port.. (maybe we need some less hacky way to do the same thing in the
framework, like a CPUTYPE_UNSAFE=yes or something)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list