Project

General

Profile

Actions

Bug #8169

open

dpdk: DPDK tag inadvertently changes compile architecture

Added by Lukas Sismis 1 day ago. Updated 1 day ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

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.


Subtasks 2 (2 open0 closed)

Bug #8170: dpdk: DPDK tag inadvertently changes compile architecture (8.0.x backport)AssignedLukas SismisActions
Bug #8171: dpdk: DPDK tag inadvertently changes compile architecture (7.0.x backport)AssignedLukas SismisActions
Actions #1

Updated by Lukas Sismis 1 day ago

  • Description updated (diff)
Actions #2

Updated by OISF Ticketbot 1 day ago

  • Subtask #8170 added
Actions #3

Updated by OISF Ticketbot 1 day ago

  • Label deleted (Needs backport to 8.0)
Actions #4

Updated by OISF Ticketbot 1 day ago

  • Subtask #8171 added
Actions #5

Updated by OISF Ticketbot 1 day ago

  • Label deleted (Needs backport to 7.0)
Actions #6

Updated by Victor Julien 1 day ago

I should mention that the avx stuff is not in main.

Actions #7

Updated by Jason Ish 1 day 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

Also available in: Atom PDF