numam-dpdk/lib/librte_eal
Ruifeng Wang d123fd111a eal/arm: fix build with gcc optimization level 0
GCC build with '-O0' on platforms with RTE_ARM_FEATURE_ATOMICS set
failed for:
 ../lib/librte_efd/rte_efd.c
 Assembler messages:
3866: Error: selected processor does not support `crc32cb w0,w0,w1'
3890: Error: selected processor does not support `crc32ch w0,w0,w1'
3914: Error: selected processor does not support `crc32cw w0,w0,w1'
3938: Error: selected processor does not support `crc32cx w0,w0,x1'

This was caused by an architecture specifier added for Clang.
Unlike Clang, GCC considers each inline assembly block to be dependent
and therefore, the architecture specifier impacts assemble of some
blocks require certain extension support.

Removed the architecture for GCC to fix the issue.

Fixes: 8fce34cd0a ("eal/arm: fix clang build of native target")
Cc: stable@dpdk.org

Reported-by: Feifei Wang <feifei.wang2@arm.com>
Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2020-11-27 16:51:46 +01:00
..
arm eal/arm: fix build with gcc optimization level 0 2020-11-27 16:51:46 +01:00
common eal: fix plugin loading 2020-11-26 00:00:06 +01:00
freebsd eal: fix interrupt trace point 2020-10-29 16:30:49 +01:00
include mcslock: fix hang in weak memory model 2020-11-25 17:30:04 +01:00
linux vfio: use static window sizing for sPAPR IOMMU 2020-11-13 09:35:18 +01:00
ppc eal: fix MCS lock and ticketlock headers install 2020-11-05 12:08:19 +01:00
unix timer: move from common to Unix directory 2020-06-23 18:33:20 +02:00
windows eal/windows: fix linkage with MinGW 2020-11-22 18:55:01 +01:00
x86 eal: fix MCS lock and ticketlock headers install 2020-11-05 12:08:19 +01:00
meson.build eal/windows: use bundled getopt with MinGW 2020-10-05 09:12:24 +02:00
rte_eal_exports.def eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
version.map eal: add intrinsics support check infrastructure 2020-10-29 22:46:31 +01:00