Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58762 - [fio] illegal hardware instruction

Attached to Project: Community Packages
Opened by Flaviu Tamas (Yp2hTb) - Monday, 28 May 2018, 17:52 GMT
Last edited by Anatol Pomozov (anatolik) - Wednesday, 30 May 2018, 02:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Running fio leads to a illegal hardware instruction on my machine

Additional info:
Pacman output:
Packages (27) ceph-12.2.5-1 ceph-libs-12.2.5-1 glusterfs-1:4.0.2-1 gperftools-2.7-1 leveldb-1.20-1 liburcu-0.10.1-1
lsb-release-1.4-14 python2-backports.unittest_mock-1.2.1-1 python2-beaker-1.9.1-1 python2-cheroot-6.3.1-1
python2-cherrypy-15.0.0-1 python2-funcsigs-1.0.2-1 python2-jaraco-2017.11.25-1 python2-jinja-2.10-1
python2-mako-1.0.7-1 python2-markupsafe-1.0-1 python2-mock-2.0.0-2 python2-more-itertools-4.2.0-1
python2-pbr-4.0.3-1 python2-pecan-1.3.2-1 python2-portend-2.2-1 python2-prettytable-0.7.2-8
python2-tempora-1.11-1 python2-webob-1.8.1-1 python2-werkzeug-0.14.1-2 rpcbind-0.2.4-4 fio-3.6-1
--------------------------------------------------
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 965 Processor
stepping : 3
microcode : 0x10000c8
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
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 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs null_seg amd_e400 spectre_v1 spectre_v2
bogomips : 6802.10
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate


Steps to reproduce:
Run "fio". No parameters are necessary.
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Wednesday, 30 May 2018, 02:32 GMT
Reason for closing:  Fixed
Comment by Flaviu Tamas (Yp2hTb) - Tuesday, 29 May 2018, 16:37 GMT
I thought I'd posted a comment here, but I guess not. The issue is that configure enables -march=native by default, so you need to pass some flag to configure to disable it (I can't remember off the top of my head).
Comment by Anatol Pomozov (anatolik) - Tuesday, 29 May 2018, 16:51 GMT
'-march=native' compilation flag is enabled by default for fio.

fio-3.6-2 is going to disable the flag and hopefully should help with your issue. Please try it and let us if it works as expected.
Comment by Flaviu Tamas (Yp2hTb) - Wednesday, 30 May 2018, 02:17 GMT
I can confirm that the issue is fixed! Thank you!

Loading...