Skip to contentSkip to conversation

DPDK 20.11.1 failed to build for x86 machine types

dpdk-dev [email protected] 1 participant 1 message Apr 20, 2021

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=681

            Bug ID: 681
           Summary: DPDK 20.11.1 failed to build for x86 machine types
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: meson
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

While build with commands:
meson build
meson -Dmachine=atom
works fine, build with x86 machine types failed. e.g.
meson -Dmachine=silvermont

The problem seems with compiler setting. File
$(DPDK_ROOT)/config/x86/meson.build has code:

# we require SSE4.2 for DPDK
if cc.get_define('__SSE4_2__', args: machine_args) == ''
        message('SSE 4.2 not enabled by default, explicitly enabling')
        machine_args += '-msse4'
endif

The error is: "Could not get define '__SSE4_2__' "

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.