Monday, June 05, 2023

Re: SOLVED [7.3/i386] pf-badhost - Illegal instruction (core dumped)

On 2023-06-05, Radek <rdk@int.pl> wrote:
> RipGrep caused my issue. When I replaced ripgrep with ggrep the script started to work fine.

Can you try a new ripgrep binary built with a different target-cpu type
for me please? The default for the rust compiler is to use SSE instructions
which aren't present on your Alix.

Either build from ports with the MODCARGO_RUSTFLAGS line changed to this:

MODCARGO_RUSTFLAGS = -C debuginfo=0 -C target-cpu=i586

or try the binary at https://junkpile.org/rg

If this helps then it might be a good idea to change the default in
lang/rust/patches/patch-compiler_rustc_target_src_spec_i686_unknown_openbsd_rs
so that other rust programs are compiled that way (currently it uses
"pentiumpro" which I understand disables SSE2 but not SSE).

No comments:

Post a Comment