From: sys_stv@intel.com
To: test-report@dpdk.org, vipin.varghese@amd.com
Subject: compilation|FAILURE| pw(142397) sid(32493) job(PER_PATCH_BUILD12590)app/testpmd: improve sse based macswap
Date: 13 Jul 2024 08:40:41 -0700 [thread overview]
Message-ID: <f7b9f4$1fh59k@orviesa007-auth.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 95560 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/142397
_Compilation issues_
Submitter: Vipin Varghese <vipin.varghese@amd.com>
Date: 2024-07-13 15:19:49
Reply_mail: <20240713151949.832-1-vipin.varghese@amd.com>
DPDK git baseline: Repo:dpdk, CommitID: fa8d2f7f28524a6c8defa3dcd94f5aa131aae084
Meson Build Summary: 23 Builds Done, 18 Successful, 5 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64 | pass | | | | | | |
| FreeBSD14-64 | pass | fail | | pass | pass | | |
| RHEL94-64 | pass | fail | | pass | pass | | |
| SUSE15-64 | pass | fail | | | | | |
| CBL-Mariner2.0-64 | pass | | | | | | |
| UB2404-32 | pass | | | | | | |
| RHEL93-64 | pass | | | | | | |
| UB2404-64 | pass | fail | | | | pass | pass |
| RHEL94-64Rt | pass | | | | | | |
| UB2204-64 | pass | | | | | | |
| FC40-64 | pass | fail | | | | | |
| UB2404-64Rt | pass | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.8-64
Kernel Version: 5.10.134-13.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
Clang Version: 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL94-64
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.14.21-150500.53-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 15.0.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: CBL-Mariner2.0-64
Kernel Version: 5.15.55.1_2e9a4f9+
GCC Version: gcc (GCC) 11.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL93-64
Kernel Version: 5.14.0-362.8.1.el9_3.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL94-64Rt
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-94-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc
OS: FC40-64
Kernel Version: 6.8.5-301.fc40.x86_64
GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0)
Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64Rt
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-clang
FAILED: app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -MF app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o.d -o app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -c ../app/test-pmd/noisy_vnf.c
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
mb[0] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
mb[1] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
mb[2] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
mb[3] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
mbuf_field_set(mb[0], ol_flags);
^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
mbuf_field_set(mb[1], ol_flags);
^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
mbuf_field_set(mb[2], ol_flags);
^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1636/1970] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o
[1637/1970] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o
[1638/1970] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o
[1639/1970] Compiling C object app/dpdk-testpmd.p/test-pmd_macswap.c.o
FAILED: app/dpdk-testpmd.p/test-pmd_macswap.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_macswap.c.o -MF app/dpdk-testpmd.p/test-pmd_macswap.c.o.d -o app/dpdk-testpmd.p/test-pmd_macswap.c.o -c ../app/test-pmd/macswap.c
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
mb[0] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
mb[1] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
mb[2] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
mb[3] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
mbuf_field_set(mb[0], ol_flags);
^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
mbuf_field_set(mb[1], ol_flags);
^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
mbuf_field_set(mb[2], ol_flags);
^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1640/1970] Compiling C object app/dpdk-testpmd.p/test-pmd_recycle_mbufs.c.o
[1641/1970] Compiling C object app/dpdk-testpmd.p/test-pmd_rxonly.c.o
[1642/1970] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
[1643/1970] Compiling C object app/dpdk-testpmd.p/test-pmd_parameters.c.o
[1644/1970] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o
ninja: build stopped
*Build Failed #2:
OS: RHEL94-64
Target: x86_64-native-linuxapp-clang
FAILED: app/dpdk-testpmd.p/test-pmd_macswap.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_macswap.c.o -MF app/dpdk-testpmd.p/test-pmd_macswap.c.o.d -o app/dpdk-testpmd.p/test-pmd_macswap.c.o -c ../app/test-pmd/macswap.c
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
45 | mb[0] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
47 | mb[1] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
49 | mb[2] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
51 | mb[3] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
55 | addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
56 | mbuf_field_set(mb[0], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
57 | addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
58 | mbuf_field_set(mb[1], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
60 | addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
61 | mbuf_field_set(mb[2], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
63 | addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
| ^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2588/2966] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
FAILED: app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -MF app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o.d -o app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -c ../app/test-pmd/noisy_vnf.c
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
45 | mb[0] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
47 | mb[1] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
49 | mb[2] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
51 | mb[3] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
55 | addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
56 | mbuf_field_set(mb[0], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
57 | addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
58 | mbuf_field_set(mb[1], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
60 | addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
61 | mbuf_field_set(mb[2], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
63 | addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
| ^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2589/2966] Compiling C object app/dpdk-testpmd.p/test-pmd_recycle_mbufs.c.o
[2590/2966] Compiling C object app/dpdk-testpmd.p/test-pmd_rxonly.c.o
[2591/2966] Compiling C object app/dpdk-testpmd.p/test-pmd_shared_rxq_fwd.c.o
[2592/2966] Compiling C object app/dpdk-testpmd.p/test-pmd_parameters.c.o
[2593/2966] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o
[2594/2966] Compiling C object app/dpdk-testpmd.p/test-pmd_util.c.o
[2595/2966] Compiling C object app/dpdk-testpmd.p/test-pmd_txonly.c.o
[2596/2966] Compiling C object app/dpdk-testpmd.p/test-pmd_testpmd.c.o
ninja: build stopped
*Build Failed #3:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: app/dpdk-testpmd.p/test-pmd_macswap.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_macswap.c.o -MF app/dpdk-testpmd.p/test-pmd_macswap.c.o.d -o app/dpdk-testpmd.p/test-pmd_macswap.c.o -c ../app/test-pmd/macswap.c
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
mb[0] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
mb[1] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
mb[2] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
mb[3] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
mbuf_field_set(mb[0], ol_flags);
^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
mbuf_field_set(mb[1], ol_flags);
^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
mbuf_field_set(mb[2], ol_flags);
^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2592/2972] Linking target app/dpdk-test-pipeline
[2593/2972] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
[2594/2972] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
FAILED: app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -MF app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o.d -o app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -c ../app/test-pmd/noisy_vnf.c
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
mb[0] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
mb[1] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
mb[2] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
mb[3] = pkts[i++];
^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
#define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
mbuf_field_set(mb[0], ol_flags);
^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
mbuf_field_set(mb[1], ol_flags);
^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
mbuf_field_set(mb[2], ol_flags);
^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2595/2972] Compiling C object app/dpdk-testpmd.p/test-pmd_recycle_mbufs.c.o
[2596/2972] Compiling C object app/dpdk-testpmd.p/test-pmd_rxonly.c.o
[2597/2972] Compiling C object app/dpdk-testpmd.p/test-pmd_parameters.c.o
[2598/2972] Compiling C object app/dpdk-testpmd.p/test-pmd_shared_rxq_fwd.c.o
[2599/2972] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o
[2600/2972] Compiling C object app/dpdk-testpmd.p/test-pmd_testpmd.c.o
ninja: build stopped
*Build Failed #4:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: app/dpdk-testpmd.p/test-pmd_macswap.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_macswap.c.o -MF app/dpdk-testpmd.p/test-pmd_macswap.c.o.d -o app/dpdk-testpmd.p/test-pmd_macswap.c.o -c ../app/test-pmd/macswap.c
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
45 | mb[0] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
47 | mb[1] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
49 | mb[2] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
51 | mb[3] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
55 | addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
56 | mbuf_field_set(mb[0], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
57 | addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
58 | mbuf_field_set(mb[1], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
60 | addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
61 | mbuf_field_set(mb[2], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
63 | addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
| ^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2777/3156] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
FAILED: app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -MF app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o.d -o app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -c ../app/test-pmd/noisy_vnf.c
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
45 | mb[0] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
47 | mb[1] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
49 | mb[2] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
51 | mb[3] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
55 | addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
56 | mbuf_field_set(mb[0], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
57 | addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
58 | mbuf_field_set(mb[1], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
60 | addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
61 | mbuf_field_set(mb[2], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
63 | addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
| ^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2778/3156] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o
[2779/3156] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o
[2780/3156] Compiling C object app/dpdk-testpmd.p/test-pmd_recycle_mbufs.c.o
[2781/3156] Compiling C object app/dpdk-testpmd.p/test-pmd_parameters.c.o
[2782/3156] Compiling C object app/dpdk-testpmd.p/test-pmd_rxonly.c.o
[2783/3156] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o
[2784/3156] Compiling C object app/dpdk-testpmd.p/test-pmd_shared_rxq_fwd.c.o
[2785/3156] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o
ninja: build stopped
*Build Failed #5:
OS: FC40-64
Target: x86_64-native-linuxapp-clang
FAILED: app/dpdk-testpmd.p/test-pmd_macswap.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -DWITH_GZFILEOP -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_macswap.c.o -MF app/dpdk-testpmd.p/test-pmd_macswap.c.o.d -o app/dpdk-testpmd.p/test-pmd_macswap.c.o -c ../app/test-pmd/macswap.c
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
45 | mb[0] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
47 | mb[1] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
49 | mb[2] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
51 | mb[3] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/macswap.c:39:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
55 | addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
56 | mbuf_field_set(mb[0], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
57 | addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
58 | mbuf_field_set(mb[1], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
60 | addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
61 | mbuf_field_set(mb[2], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
63 | addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
| ^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2784/3160] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o
[2785/3160] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
FAILED: app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -DWITH_GZFILEOP -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -MF app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o.d -o app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o -c ../app/test-pmd/noisy_vnf.c
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:45:3: error: address of register variable requested
45 | mb[0] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:46:3: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:46:33: error: address of register variable requested
46 | eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:47:3: error: address of register variable requested
47 | mb[1] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:48:3: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:48:33: error: address of register variable requested
48 | eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:49:3: error: address of register variable requested
49 | mb[2] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:50:3: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:50:33: error: address of register variable requested
50 | eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:51:3: error: address of register variable requested
51 | mb[3] = pkts[i++];
| ^~
../app/test-pmd/macswap_sse.h:52:3: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:52:33: error: address of register variable requested
52 | eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *);
| ^~
../lib/mbuf/rte_mbuf_core.h:752:56: note: expanded from macro 'rte_pktmbuf_mtod'
752 | #define rte_pktmbuf_mtod(m, t) rte_pktmbuf_mtod_offset(m, t, 0)
| ^
../lib/mbuf/rte_mbuf_core.h:738:24: note: expanded from macro 'rte_pktmbuf_mtod_offset'
738 | ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o)))
| ^
In file included from ../app/test-pmd/noisy_vnf.c:38:
../app/test-pmd/macswap_sse.h:55:38: error: address of register variable requested
55 | addr0 = _mm_loadu_si128((__m128i *)eth_hdr[0]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:56:18: error: address of register variable requested
56 | mbuf_field_set(mb[0], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:57:38: error: address of register variable requested
57 | addr1 = _mm_loadu_si128((__m128i *)eth_hdr[1]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:58:18: error: address of register variable requested
58 | mbuf_field_set(mb[1], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:60:38: error: address of register variable requested
60 | addr2 = _mm_loadu_si128((__m128i *)eth_hdr[2]);
| ^~~~~~~
../app/test-pmd/macswap_sse.h:61:18: error: address of register variable requested
61 | mbuf_field_set(mb[2], ol_flags);
| ^~
../app/test-pmd/macswap_sse.h:63:38: error: address of register variable requested
63 | addr3 = _mm_loadu_si128((__m128i *)eth_hdr[3]);
| ^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2786/3160] Compiling C object app/dpdk-testpmd.p/test-pmd_recycle_mbufs.c.o
[2787/3160] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
[2788/3160] Compiling C object app/dpdk-testpmd.p/test-pmd_shared_rxq_fwd.c.o
[2789/3160] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cli.c.o
[2790/3160] Compiling C object app/dpdk-testpmd.p/test-pmd_rxonly.c.o
[2791/3160] Compiling C object app/dpdk-testpmd.p/test-pmd_parameters.c.o
[2792/3160] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o
ninja: build stopped
DPDK STV team
reply other threads:[~2024-07-13 15:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='f7b9f4$1fh59k@orviesa007-auth.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=test-report@dpdk.org \
--cc=vipin.varghese@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).