Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

illegal hardware instruction in ubuntu #708

Closed
hpcsc opened this issue Dec 6, 2017 · 4 comments
Closed

illegal hardware instruction in ubuntu #708

hpcsc opened this issue Dec 6, 2017 · 4 comments
Labels
duplicate An issue that is duplicative of another.

Comments

@hpcsc
Copy link

hpcsc commented Dec 6, 2017

I have an Ubuntu VM on Azure (16.04.3 LTS (GNU/Linux 4.11.0-1015-azure x86_64)), when I run rg, I have following error:

[1]    13638 illegal hardware instruction (core dumped)  rg debian

Not sure where I go wrong. I installed it by downloading from github:

curl -L https://github.com/BurntSushi/ripgrep/releases/download/0.7.1/ripgrep-0.7.1-x86_64-unknown-linux-musl.tar.gz -o ripgrep.tar.gz

then extract and move rg executable to /usr/local/bin

@BurntSushi
Copy link
Owner

BurntSushi commented Dec 6, 2017 via email

@hpcsc
Copy link
Author

hpcsc commented Dec 6, 2017

Below is the output of that command:

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 8
model name	: AMD Opteron(tm) Processor 4171 HE
stepping	: 1
microcode	: 0xffffffff
cpu MHz		: 2094.722
cache size	: 512 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow rep_good nopl cpuid extd_apicid pni cx16 popcnt hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw vmmcall
bugs		: tlb_mmatch fxsave_leak sysret_ss_attrs null_seg amd_e400
bogomips	: 4189.44
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 44 bits physical, 48 bits virtual
power management:

@BurntSushi
Copy link
Owner

OK, this is a duplicate of #135. Your CPU doesn't support SSSE3, and the binary I distribute uses SSSE3 instructions. Right now, the only way to run ripgrep on such a machine is to compile it or install it from a distro specific package repository. (I believe the latter does not exist on Ubuntu/Debian.)

@BurntSushi BurntSushi added the duplicate An issue that is duplicative of another. label Dec 6, 2017
@BurntSushi
Copy link
Owner

This should be fixed by #857 in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate An issue that is duplicative of another.
Projects
None yet
Development

No branches or pull requests

2 participants