From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1038] Illegal instruction found when running dpdk-test (built with GCC 12.1) on CPU has no AVX instruction set
Date: Thu, 16 Jun 2022 14:45:01 +0000 [thread overview]
Message-ID: <bug-1038-3@http.bugs.dpdk.org/> (raw)
https://bugs.dpdk.org/show_bug.cgi?id=1038
Bug ID: 1038
Summary: Illegal instruction found when running dpdk-test
(built with GCC 12.1) on CPU has no AVX instruction
set
Product: DPDK
Version: 21.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: yongxin.liu@windriver.com
Target Milestone: ---
Build dpdk with GCC 12.1 on x86 Atom machine which has no AVX support.
root@intel-x86-64:/mnt/ninja# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 42 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 24
On-line CPU(s) list: 0-23
Vendor ID: GenuineIntel
BIOS Vendor ID: Intel(R) Corporation
Model name: Intel Atom(R) P5362 processor
BIOS Model name: Intel Atom(R) P5362 processor CPU @ 2.2GHz
BIOS CPU family: 179
CPU family: 6
Model: 134
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
pdpe1gb rdtscp lm consta
nt_tsc art arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64
monitor ds_cpl vmx smx est tm2 ss
se3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe
popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault
epb cat_l3 cat_l2 cdp_l2 ss
bd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi
flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms cqm rdt_a rdseed
smap clflushopt clwb intel
_pt sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc
cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect dtherm arat pln pts
umip waitpkg gfni rdpid c
ldemote movdiri movdir64b md_clear flush_l1d
arch_capabilities
root@intel-x86-64:/mnt/build/app/test# ./dpdk-test
Illegal instruction
root@intel-x86-64:/mnt/build/app/test# gdb ./dpdk-test
GNU gdb (GDB) 12.1
Reading symbols from ./dpdk-test...
(gdb) run
Starting program: /mnt/build/app/test/dpdk-test
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x000055555581af85 in __idxd_pmd_logtype ()
(gdb) bt
#0 0x000055555581af85 in __idxd_pmd_logtype ()
#1 0x00007ffff776a62e in __libc_start_main () from /lib64/libc.so.6
#2 0x0000555555ec6d35 in _start () at ../sysdeps/x86_64/start.S:115
(gdb) display/i $pc
1: x/i $pc
=> 0x55555581af85 <__idxd_pmd_logtype+21>: vpxor %xmm1,%xmm1,%xmm1
Apparently, vpxor is an instruction of AVX set. It should not run on CPU
without AVX support.
BTW, there is no issue when building dpdk-test with GCC 11.3.
--
You are receiving this mail because:
You are the assignee for the bug.
reply other threads:[~2022-06-16 14:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-1038-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).