compilation|FAILURE| pw(135493) sid(30650) job(PER_PATCH_BUILD10516)[18/18] net/bnxt: enable SSE mode for compressed CQE

sys_stv at intel.com sys_stv at intel.com
Thu Dec 21 19:39:51 CET 2023


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/135493

_Compilation issues_

Submitter: Ajit Khaparde <ajit.khaparde at broadcom.com>
Date: 2023-12-21 18:05:29
Reply_mail: <20231221180529.18687-19-ajit.khaparde at broadcom.com>

DPDK git baseline: Repo:dpdk-next-net-brcm, CommitID: 44a04823e6c25fe8c3ee56d616302c5aaf7fdf37


Meson Build Summary: 25 Builds Done, 21 Successful, 4 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64  | pass       |              |            |            |           |          |            |
| FreeBSD13-64      | fail       | fail         |            | fail       | fail      |          |            |
| RHEL92-64         | pass       | pass         |            | pass       | pass      |          |            |
| SUSE15-64         | pass       | pass         |            |            |           |          |            |
| CBL-Mariner2.0-64 | pass       |              |            |            |           |          |            |
| UB2004-64         | pass       |              |            |            |           |          |            |
| UB2204-32         | pass       |              |            |            |           |          |            |
| RHEL89-64         | pass       |              |            |            |           |          |            |
| UB2204-64         | pass       | pass         |            |            |           | pass     | pass       |
| CentOS79-64       | pass       |              |            |            |           |          |            |
| RHEL92-64Rt       | pass       |              |            |            |           |          |            |
| UB2310-64         | pass       |              |            |            |           |          |            |
| FC39-64           | pass       | pass         |            |            |           |          |            |
| UB2204-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: FreeBSD13-64
	Kernel Version: 13.2-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
	Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL92-64
	Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.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: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-gcc

OS: UB2204-32
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL89-64
	Kernel Version: 4.18.0-513.5.1.el8_9.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20)
	Clang Version: 16.0.6 (Red Hat 16.0.6-2.module+el8.9.0+19521+190d7aba)
	x86_64-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-58-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+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: CentOS79-64
	Kernel Version: 3.10.0-1160.81.1.el7.x86_64
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc

OS: RHEL92-64Rt
	Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc

OS: UB2310-64
	Kernel Version: 6.5.0-9-generic
	GCC Version: gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: FC39-64
	Kernel Version: 6.5.6-300.fc39.x86_64
	GCC Version: gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3)
	Clang Version: 17.0.6 (Fedora 17.0.6-1.fc39)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2204-64Rt
	Kernel Version: 5.17.5-051705-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



*Build Failed #1:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o 
gcc -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o -c ../drivers/net/bnxt/bnxt_filter.c
In file included from ../drivers/net/bnxt/bnxt_filter.c:15:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/eal/x86/include/rte_byteorder.h:13,
                 from ../drivers/net/bnxt/bnxt_filter.c:8:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[493/1912] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[494/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o 
gcc -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o -c ../drivers/net/bnxt/bnxt_cpr.c
In file included from ../drivers/net/bnxt/bnxt_cpr.c:10:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/log/rte_log.h:25,
                 from ../lib/eal/include/rte_debug.h:17,
                 from ../lib/eal/include/rte_bitops.h:20,
                 from ../lib/eal/include/rte_memory.h:22,
                 from ../lib/eal/include/rte_malloc.h:16,
                 from ../drivers/net/bnxt/bnxt_cpr.c:6:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[495/1912] Generating symbol file lib/librte_graph.so.24.1.p/librte_graph.so.24.1.symbols
[496/1912] Compiling C object drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o
FAILED: drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o 
gcc -Idrivers/net/bnxt/libbnxt_avx2_lib.a.p -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -mavx2 -MD -MQ drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o -MF drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o.d -o drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o -c ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c
In file included from ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c:13:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/eal/include/rte_bitmap.h:39,
                 from ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c:7:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[497/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o 
gcc -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o -c ../drivers/net/bnxt/bnxt_flow.c
In file included from ../drivers/net/bnxt/bnxt_flow.c:16:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/log/rte_log.h:25,
                 from ../drivers/net/bnxt/bnxt_flow.c:8:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[498/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -c ../drivers/net/bnxt/bnxt_ethdev.c
In file included from ../drivers/net/bnxt/bnxt_ethdev.c:18:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/eal/include/dev_driver.h:12,
                 from ../drivers/net/bnxt/bnxt_ethdev.c:9:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[499/1912] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
[500/1912] Generating drivers/rte_net_ark.pmd.c with a custom command
[501/1912] Generating drivers/rte_net_atlantic.pmd.c with a custom command
ninja: build stopped




*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o 
clang -Idrivers/net/bnxt/libbnxt_avx2_lib.a.p -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -mavx2 -MD -MQ drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o -MF drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o.d -o drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o -c ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c
In file included from ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c:13:
../drivers/net/bnxt/bnxt.h:126:9: error: 'PAGE_SIZE' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_SIZE               BIT(12)
        ^
/usr/include/machine/param.h:99:9: note: previous definition is here
#define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
        ^
In file included from ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c:13:
../drivers/net/bnxt/bnxt.h:127:9: error: 'PAGE_MASK' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_MASK               (~(PAGE_SIZE - 1))
        ^
/usr/include/machine/param.h:100:9: note: previous definition is here
#define PAGE_MASK       (PAGE_SIZE-1)
        ^
2 errors generated.
[719/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o 
clang -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o -c ../drivers/net/bnxt/bnxt_cpr.c
In file included from ../drivers/net/bnxt/bnxt_cpr.c:10:
../drivers/net/bnxt/bnxt.h:126:9: error: 'PAGE_SIZE' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_SIZE               BIT(12)
        ^
/usr/include/machine/param.h:99:9: note: previous definition is here
#define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
        ^
In file included from ../drivers/net/bnxt/bnxt_cpr.c:10:
../drivers/net/bnxt/bnxt.h:127:9: error: 'PAGE_MASK' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_MASK               (~(PAGE_SIZE - 1))
        ^
/usr/include/machine/param.h:100:9: note: previous definition is here
#define PAGE_MASK       (PAGE_SIZE-1)
        ^
2 errors generated.
[720/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o 
clang -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o -c ../drivers/net/bnxt/bnxt_flow.c
In file included from ../drivers/net/bnxt/bnxt_flow.c:16:
../drivers/net/bnxt/bnxt.h:126:9: error: 'PAGE_SIZE' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_SIZE               BIT(12)
        ^
/usr/include/machine/param.h:99:9: note: previous definition is here
#define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
        ^
In file included from ../drivers/net/bnxt/bnxt_flow.c:16:
../drivers/net/bnxt/bnxt.h:127:9: error: 'PAGE_MASK' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_MASK               (~(PAGE_SIZE - 1))
        ^
/usr/include/machine/param.h:100:9: note: previous definition is here
#define PAGE_MASK       (PAGE_SIZE-1)
        ^
2 errors generated.
[721/1912] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlantic_atl_rxtx.c.o
[722/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_irq.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_irq.c.o 
clang -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_irq.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_irq.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_irq.c.o -c ../drivers/net/bnxt/bnxt_irq.c
In file included from ../drivers/net/bnxt/bnxt_irq.c:11:
../drivers/net/bnxt/bnxt.h:126:9: error: 'PAGE_SIZE' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_SIZE               BIT(12)
        ^
/usr/include/machine/param.h:99:9: note: previous definition is here
#define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
        ^
In file included from ../drivers/net/bnxt/bnxt_irq.c:11:
../drivers/net/bnxt/bnxt.h:127:9: error: 'PAGE_MASK' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_MASK               (~(PAGE_SIZE - 1))
        ^
/usr/include/machine/param.h:100:9: note: previous definition is here
#define PAGE_MASK       (PAGE_SIZE-1)
        ^
2 errors generated.
[723/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o 
clang -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o -c ../drivers/net/bnxt/bnxt_filter.c
In file included from ../drivers/net/bnxt/bnxt_filter.c:15:
../drivers/net/bnxt/bnxt.h:126:9: error: 'PAGE_SIZE' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_SIZE               BIT(12)
        ^
/usr/include/machine/param.h:99:9: note: previous definition is here
#define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
        ^
In file included from ../drivers/net/bnxt/bnxt_filter.c:15:
../drivers/net/bnxt/bnxt.h:127:9: error: 'PAGE_MASK' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_MASK               (~(PAGE_SIZE - 1))
        ^
/usr/include/machine/param.h:100:9: note: previous definition is here
#define PAGE_MASK       (PAGE_SIZE-1)
        ^
2 errors generated.
[724/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o 
clang -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -c ../drivers/net/bnxt/bnxt_ethdev.c
In file included from ../drivers/net/bnxt/bnxt_ethdev.c:18:
../drivers/net/bnxt/bnxt.h:126:9: error: 'PAGE_SIZE' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_SIZE               BIT(12)
        ^
/usr/include/machine/param.h:99:9: note: previous definition is here
#define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
        ^
In file included from ../drivers/net/bnxt/bnxt_ethdev.c:18:
../drivers/net/bnxt/bnxt.h:127:9: error: 'PAGE_MASK' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_MASK               (~(PAGE_SIZE - 1))
        ^
/usr/include/machine/param.h:100:9: note: previous definition is here
#define PAGE_MASK       (PAGE_SIZE-1)
        ^
2 errors generated.
[725/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o 
clang -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o -c ../drivers/net/bnxt/bnxt_hwrm.c
In file included from ../drivers/net/bnxt/bnxt_hwrm.c:16:
../drivers/net/bnxt/bnxt.h:126:9: error: 'PAGE_SIZE' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_SIZE               BIT(12)
        ^
/usr/include/machine/param.h:99:9: note: previous definition is here
#define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
        ^
In file included from ../drivers/net/bnxt/bnxt_hwrm.c:16:
../drivers/net/bnxt/bnxt.h:127:9: error: 'PAGE_MASK' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_MASK               (~(PAGE_SIZE - 1))
        ^
/usr/include/machine/param.h:100:9: note: previous definition is here
#define PAGE_MASK       (PAGE_SIZE-1)
        ^
2 errors generated.
[726/1912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ring.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ring.c.o 
clang -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ring.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ring.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ring.c.o -c ../drivers/net/bnxt/bnxt_ring.c
In file included from ../drivers/net/bnxt/bnxt_ring.c:11:
../drivers/net/bnxt/bnxt.h:126:9: error: 'PAGE_SIZE' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_SIZE               BIT(12)
        ^
/usr/include/machine/param.h:99:9: note: previous definition is here
#define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
        ^
In file included from ../drivers/net/bnxt/bnxt_ring.c:11:
../drivers/net/bnxt/bnxt.h:127:9: error: 'PAGE_MASK' macro redefined [-Werror,-Wmacro-redefined]
#define PAGE_MASK               (~(PAGE_SIZE - 1))
        ^
/usr/include/machine/param.h:100:9: note: previous definition is here
#define PAGE_MASK       (PAGE_SIZE-1)
        ^
2 errors generated.
[727/1912] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o 
gcc -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_cpr.c.o -c ../drivers/net/bnxt/bnxt_cpr.c
In file included from ../drivers/net/bnxt/bnxt_cpr.c:10:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/log/rte_log.h:25,
                 from ../lib/eal/include/rte_debug.h:17,
                 from ../lib/eal/include/rte_bitops.h:20,
                 from ../lib/eal/include/rte_memory.h:22,
                 from ../lib/eal/include/rte_malloc.h:16,
                 from ../drivers/net/bnxt/bnxt_cpr.c:6:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[728/1807] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlantic_rte_pmd_atlantic.c.o
[729/1807] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlantic_hw_atl_hw_atl_utils.c.o
[730/1807] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlantic_atl_rxtx.c.o
[731/1807] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
[732/1807] Linking target drivers/librte_mempool_bucket.so.24.1
[733/1807] Compiling C object drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o
FAILED: drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o 
gcc -Idrivers/net/bnxt/libbnxt_avx2_lib.a.p -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -mavx2 -MD -MQ drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o -MF drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o.d -o drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o -c ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c
In file included from ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c:13:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/eal/include/rte_bitmap.h:39,
                 from ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c:7:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[734/1807] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o 
gcc -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_filter.c.o -c ../drivers/net/bnxt/bnxt_filter.c
In file included from ../drivers/net/bnxt/bnxt_filter.c:15:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/eal/x86/include/rte_byteorder.h:13,
                 from ../drivers/net/bnxt/bnxt_filter.c:8:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[735/1807] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -c ../drivers/net/bnxt/bnxt_ethdev.c
In file included from ../drivers/net/bnxt/bnxt_ethdev.c:18:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/eal/include/dev_driver.h:12,
                 from ../drivers/net/bnxt/bnxt_ethdev.c:9:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[736/1807] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o 
gcc -Idrivers/net/bnxt/libbnxt_avx2_lib.a.p -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -I/usr/local/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DSUPPORT_CFA_HW_ALL=1 -DBNXT_TF_APP_ID=0 -mavx2 -MD -MQ drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o -MF drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o.d -o drivers/net/bnxt/libbnxt_avx2_lib.a.p/bnxt_rxtx_vec_avx2.c.o -c ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c
In file included from ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c:13:
../drivers/net/bnxt/bnxt.h:126: error: "PAGE_SIZE" redefined [-Werror]
  126 | #define PAGE_SIZE               BIT(12)
      | 
In file included from /usr/include/sys/param.h:146,
                 from /usr/include/pthread_np.h:36,
                 from ../lib/eal/freebsd/include/rte_os.h:17,
                 from ../lib/eal/include/rte_common.h:25,
                 from ../lib/eal/include/rte_bitmap.h:39,
                 from ../drivers/net/bnxt/bnxt_rxtx_vec_avx2.c:7:
/usr/include/machine/param.h:99: note: this is the location of the previous definition
   99 | #define PAGE_SIZE       (1<<PAGE_SHIFT) /* bytes/page */
      | 
../drivers/net/bnxt/bnxt.h:127: error: "PAGE_MASK" redefined [-Werror]
  127 | #define PAGE_MASK               (~(PAGE_SIZE - 1))
      | 
/usr/include/machine/param.h:100: note: this is the location of the previous definition
  100 | #define PAGE_MASK       (PAGE_SIZE-1)
      | 
cc1: all warnings being treated as errors
[731/1960] Compiling C object drivers/librte_net_atlantic.a.p/meson-generated_.._rte_net_atlantic.pmd.c.o
[732/1960] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x_ethdev.c.o
[733/1960] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x_vfpf.c.o
[734/1960] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[735/1960] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x_rxtx.c.o
[736/1960] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x_stats.c.o
[737/1960] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_ecore_sp.c.o
[738/1960] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_elink.c.o
[739/1960] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list