Actions
Bug #8169
opendpdk: DPDK tag inadvertently changes compile architecture
Description
Enabling DPDK overwrites -march=...:
CFLAGS -O3 -g -fPIC -DOS_LINUX -std=c11 -march=native -I/usr/include/dpdk -I/usr/include/dpdk/../x86_64-linux-gnu/dpdk -include rte_config.h -march=corei7 -mrtm -I/usr/include/x86_64-linux-gnu -I/usr/include/libnl3 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
Capabilities with --enable-dpdk:SIMD support: SSE_4_2 SSE_4_1 SSE_3 SSE_2
Capabilities without --enable-dpdk:SIMD support: AVX512VL AVX512BW AVX2 SSE_4_2 SSE_4_1 SSE_3 SSE_2
The solution is to not change the architecture at all.
Updated by OISF Ticketbot about 1 month ago
- Label deleted (
Needs backport to 8.0)
Updated by OISF Ticketbot about 1 month ago
- Label deleted (
Needs backport to 7.0)
Updated by Victor Julien about 1 month ago
I should mention that the avx stuff is not in main.
Updated by Jason Ish about 1 month ago
This comes from the DPDK pkgconfig files, for example, /usr/lib/pkgconfig/libdpdk-libs.pc:
Cflags: -I${includedir} -I${includedir} -include rte_config.h -march=corei7 -mrtm
Actions