[dpdk-dev] [Bug 344] Broken CPU feature discovery for armv8

bugzilla at dpdk.org bugzilla at dpdk.org
Wed Sep 4 14:43:56 CEST 2019


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

            Bug ID: 344
           Summary: Broken CPU feature discovery for armv8
           Product: DPDK
           Version: unspecified
          Hardware: ARM
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: meson
          Assignee: dev at dpdk.org
          Reporter: i.maximets at samsung.com
  Target Milestone: ---

To check available cpuflags both build systems (make and meson) uses compiler
invocations with provided machine flags which is '-march=armv8-a+crc'.
It makes no much sense getting defines from the cc with non-native arch as
it will have nothing common with real cpu features available.
This leads to inability using dpdk on armv8 platform without crc support due
to illegal instructions.

'-march=native' is only available since GCC 8. Also, DPDK uses
'-march=armv8-a+crc'
as a default armv8 machine regardless of fact that crc extension is optional.

Reported-at:
https://mail.openvswitch.org/pipermail/ovs-dev/2019-September/362301.html

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list