[dpdk-dev] [PATCH 0/6] add clang compilation support for armv8a linuxapp

Ashwin Sekhar T K ashwin.sekhar at caviumnetworks.com
Wed May 10 12:16:37 CEST 2017


This series of patches adds the clang compilation support for armv8a linuxapp.

Patch 1 is basically for removing the usage of assembly directive ".arch armv8-a+crc"
as this is not understood by clang. For removing these directives, compilation of
armv8a crc32 support is made conditional and is only done for machines which has
the crc extensions. Doing this avoids the need for having the ".arch armv8-a+crc"
directives in the code.

Patch 2 adds the arm64-armv8a-linuxapp-clang defconfig.

Patch 3, 4, 5 and 6 are for fixing the compilation errors/warnings.

Ashwin Sekhar T K (6):
  hash: compile armv8a CRC32 support conditionally
  config: add clang support for armv8a linuxapp
  net/thunderx: fix compile errors for armv8a clang
  acl: fix warning seen with armv8a clang
  eal/arm: fix warnings seen with armv8a clang
  eal: fix warning seen with armv8a clang

 config/defconfig_arm64-armv8a-linuxapp-clang       | 56 ++++++++++++++++++++++
 drivers/net/thunderx/base/nicvf_plat.h             |  2 +-
 lib/librte_acl/Makefile                            |  5 +-
 .../common/include/arch/arm/rte_byteorder.h        |  2 +-
 lib/librte_eal/linuxapp/eal/Makefile               |  4 ++
 lib/librte_hash/Makefile                           |  2 +
 lib/librte_hash/rte_crc_arm64.h                    |  4 --
 lib/librte_hash/rte_hash_crc.h                     |  2 +-
 8 files changed, 69 insertions(+), 8 deletions(-)
 create mode 100644 config/defconfig_arm64-armv8a-linuxapp-clang

-- 
2.13.0.rc1



More information about the dev mailing list