* [dpdk-dev] [Bug 667] Fail to compile debug mode with GCC 5.4.0
@ 2021-03-25 12:55 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-03-25 12:55 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=667
Bug ID: 667
Summary: Fail to compile debug mode with GCC 5.4.0
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: meson
Assignee: dev@dpdk.org
Reporter: wisamm@mellanox.com
Target Milestone: ---
How to reproduce:
meson build -Ddisable_drivers=net/mlx4 —buildtype=debug; ninja -C build/
Results:
-c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
../drivers/net/iavf/iavf_rxtx_vec_avx512.c: In function
‘_iavf_recv_raw_pkts_vec_avx512’:
../drivers/net/iavf/iavf_rxtx_vec_avx512.c:615:1: error: unrecognizable insn:
}
^
(insn 888 887 889 36 (set (mem/c:V4DI (plus:DI (reg/f:DI 82 virtual-stack-vars)
(const_int -5120 [0xffffffffffffec00])) [0 ptypes6_7+0 S32 A256])
(vec_merge:V4DI (vec_select:V4DI (reg:V8DI 999)
(parallel [
(const_int 4 [0×4])
(const_int 5 [0×5])
(const_int 6 [0×6])
(const_int 7 [0×7])
]))
(reg:V4DI 188 [ D.49785 ])
(reg:QI 1000))) ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:389 -1
(nil))
../drivers/net/iavf/iavf_rxtx_vec_avx512.c:615:1: internal compiler error: in
extract_insn, at recog.c:2343
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
[40/1286] Compiling C object
drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o
FAILED: drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o
ccache cc -Idrivers/net/i40e/libi40e_avx512_lib.a.p -Idrivers/net/i40e
-I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base
-Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config
-Ilib/librte_eal/include -I../lib/librte_eal/include
-Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include
-Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include
-Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal
-I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs
-Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry
-I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net
-Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool
-I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring
-Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash
-Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -include rte_config.h -Wextra
-Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes
-Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC
-march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DPF_DRIVER
-DVF_DRIVER -DINTEGRATED_VF -DX722_A0_SUPPORT -DCC_AVX2_SUPPORT
-DCC_AVX512_SUPPORT -mavx512f -mavx512bw -MD -MQ
drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o -MF
drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o.d -o
drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.o -c
../drivers/net/i40e/i40e_rxtx_vec_avx512.c
../drivers/net/i40e/i40e_rxtx_vec_avx512.c: In function
‘i40e_recv_pkts_vec_avx512’:
../drivers/net/i40e/i40e_rxtx_vec_avx512.c:807:1: error: unrecognizable insn:
}
^
(insn 888 887 889 40 (set (mem/c:V4DI (plus:DI (reg/f:DI 82 virtual-stack-vars)
(const_int -5152 [0xffffffffffffebe0])) [0 ptypes6_7+0 S32 A256])
(vec_merge:V4DI (vec_select:V4DI (reg:V8DI 998)
(parallel [
(const_int 4 [0×4])
(const_int 5 [0×5])
(const_int 6 [0×6])
(const_int 7 [0×7])
]))
(reg:V4DI 219 [ D.53777 ])
(reg:QI 999))) ../drivers/net/i40e/i40e_rxtx_vec_avx512.c:464 -1
(nil))
../drivers/net/i40e/i40e_rxtx_vec_avx512.c:807:1: internal compiler error: in
extract_insn, at recog.c:2343
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
[45/1286] Compiling C object
drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o
FAILED: drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o
ccache cc -Idrivers/net/ice/libice_avx512_lib.a.p -Idrivers/net/ice
-I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base
-Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev
-I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include
-I../lib/librte_eal/include -Ilib/librte_eal/linux/include
-I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include
-I../lib/librte_eal/x86/include -Ilib/librte_eal/common
-I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal
-Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics
-I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry
-Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf
-Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring
-I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash
-I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g
-include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat
-Wformat-nonliteral -Wformat-security -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith
-Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings
-Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -mavx512f
-mavx512bw -MD -MQ
drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o -MF
drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o.d -o
drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o -c
../drivers/net/ice/ice_rxtx_vec_avx512.c
../drivers/net/ice/ice_rxtx_vec_avx512.c: In function
‘_ice_recv_raw_pkts_vec_avx512’:
../drivers/net/ice/ice_rxtx_vec_avx512.c:796:1: error: unrecognizable insn:
}
^
(insn 846 845 847 39 (set (mem/c:V4DI (plus:DI (reg/f:DI 82 virtual-stack-vars)
(const_int -6336 [0xffffffffffffe740])) [0 ptypes6_7+0 S32 A256])
(vec_merge:V4DI (vec_select:V4DI (reg:V8DI 1129)
(parallel [
(const_int 4 [0×4])
(const_int 5 [0×5])
(const_int 6 [0×6])
(const_int 7 [0×7])
]))
(reg:V4DI 147 [ D.51279 ])
(reg:QI 1130))) ../drivers/net/ice/ice_rxtx_vec_avx512.c:435 -1
(nil))
../drivers/net/ice/ice_rxtx_vec_avx512.c:796:1: internal compiler error: in
extract_insn, at recog.c:2343
The workarround:
meson build -Ddisable_drivers=net/mlx4,net/ice,net/i40e,net/iavf
—buildtype=debug; ninja -C build/
More info:
OS: ubuntu16.04xenial
Kernel: 4.4.0-112-generic
Processor: x86_64
OFED: MLNX_OFED_LINUX-5.3-0.3.1.0:
RDMA: N/A
DPDK: ssh://git@github.com/mellanox/dpdk.org latest main
DPDK_RELEASE: 21.05
HCA: ConnectX5
FW: 16.30.0314 (MT_0000000009)
GCC: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-25 12:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-25 12:55 [dpdk-dev] [Bug 667] Fail to compile debug mode with GCC 5.4.0 bugzilla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.