Hello,
> Either build from ports with the MODCARGO_RUSTFLAGS line changed to this:
> 
> MODCARGO_RUSTFLAGS =  -C debuginfo=0 -C target-cpu=i586
I get some errors trying to build it from port: 
===>  Configuring for ripgrep-13.0.0p3
Illegal instruction (core dumped)
*** Error 132 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2921 
'do-configure': @mkdir -p /usr/ports/pobj/ripgrep-13.0.0/.cargo;   echo "[...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2941 
'/usr/ports/pobj/ripgrep-13.0.0/build-i386/.configure_done': @cd /usr/ports/...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2132 
'/usr/ports/packages/i386/all/ripgrep-13.0.0p3.tgz': @cd /usr/ports/textproc...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2621 
'_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$( mktem...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2600 'package': @:; 
cd /usr/ports/textproc/ripgrep && PKGPATH=textproc/ripgrep ma...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2153 
'/var/db/pkg/ripgrep-13.0.0p3/+CONTENTS': @cd /usr/ports/textproc/ripgrep &&...)
*** Error 2 in /usr/ports/textproc/ripgrep 
(/usr/ports/infrastructure/mk/bsd.port.mk:2600 'install': 
@lock=ripgrep-13.0.0p3;  export _LOCKS_...)
test73#


> or try the binary at https://junkpile.org/rg
This binary causes code dumps too.

On Mon, 5 Jun 2023 12:43:53 -0000 (UTC)
Stuart Henderson <stu.li...@spacehopper.org> wrote:

> On 2023-06-05, Radek <r...@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).
> 
> 


Radek

Reply via email to