automatic DPDK test reports
 help / color / mirror / Atom feed
* compilation|FAILURE| pw(134360) sid(30293) job(PER_PATCH_BUILD10088)[v3, 42/42] vdpa/sfc: use rte strerror
@ 2023-11-15  6:59 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-11-15  6:59 UTC (permalink / raw)
  To: test-report, huangdengdui

[-- Attachment #1: Type: text/plain, Size: 24360 bytes --]


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

_Compilation issues_

Submitter: Dengdui Huang <huangdengdui@huawei.com>
Date: 2023-11-14 12:35:52
Reply_mail: <20231114123552.398072-43-huangdengdui@huawei.com>

DPDK git baseline: Repo:dpdk, CommitID: 92d7ce4afc4a558f27bbc8368823c625f4e0f9dc


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       |              |            |            |           |          |            |
| RHEL87-64         | pass       |              |            |            |           |          |            |
| UB2204-64         | pass       | pass         |            |            |           | pass     | pass       |
| CentOS79-64       | pass       |              |            |            |           |          |            |
| RHEL92-64Rt       | pass       |              |            |            |           |          |            |
| UB2304-64         | pass       |              |            |            |           |          |            |
| FC38-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: RHEL87-64
	Kernel Version: 4.18.0-425.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
	Clang Version: NA
	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: UB2304-64
	Kernel Version: 6.2.0-20-generic
	GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: FC38-64
	Kernel Version: 6.2.9-300.fc38.x86_64
	GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
	Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
	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: lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -c ../lib/eal/freebsd/eal_timer.c
In file included from ../lib/eal/freebsd/eal_timer.c:13:
../lib/eal/freebsd/eal_timer.c: In function 'get_tsc_freq':
../lib/eal/freebsd/eal_timer.c:39:47: error: implicit declaration of function 'rte_strerror'; did you mean 'strerror'? [-Werror=implicit-function-declaration]
   39 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ^~~~~~~~~~~~
../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                              ^~~~~~~~~~~
../lib/eal/freebsd/eal_timer.c:39:47: error: nested extern declaration of 'rte_strerror' [-Werror=nested-externs]
   39 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ^~~~~~~~~~~~
../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                              ^~~~~~~~~~~
../lib/eal/freebsd/eal_timer.c:39:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
   39 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ~~~~~~~~~~~~~~~~~~~^
      |                                               |
      |                                               int
../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../lib/eal/freebsd/eal_timer.c:46:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
   46 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ~~~~~~~~~~~~~~~~~~~^
      |                                               |
      |                                               int
../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../lib/eal/freebsd/eal_timer.c:52:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
   52 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ~~~~~~~~~~~~~~~~~~~^
      |                                               |
      |                                               int
../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
cc1: all warnings being treated as errors
[81/1910] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o
[82/1910] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o
[83/1910] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o
[84/1910] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o
[85/1910] Compiling C object lib/librte_mempool.a.p/mempool_mempool_trace_points.c.o
[86/1910] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_ptype.c.o
[87/1910] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o
[88/1910] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o
[89/1910] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
ninja: build stopped




*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o 
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -c ../lib/eal/freebsd/eal_timer.c
../lib/eal/freebsd/eal_timer.c:39:33: error: implicit declaration of function 'rte_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
                                              ^
../lib/eal/freebsd/eal_timer.c:39:33: note: did you mean 'strerror'?
/usr/include/string.h:93:7: note: 'strerror' declared here
char    *strerror(int);
         ^
../lib/eal/freebsd/eal_timer.c:39:33: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
                RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                       %d
../lib/log/rte_log.h:333:32: note: expanded from macro 'RTE_LOG'
                 RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                             ^~~~~~~~~~~
../lib/eal/freebsd/eal_timer.c:46:33: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
                RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                       %d
../lib/log/rte_log.h:333:32: note: expanded from macro 'RTE_LOG'
                 RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                             ^~~~~~~~~~~
../lib/eal/freebsd/eal_timer.c:52:33: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
                RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                       %d
../lib/log/rte_log.h:333:32: note: expanded from macro 'RTE_LOG'
                 RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                             ^~~~~~~~~~~
4 errors generated.
[72/1910] Compiling C object lib/librte_eal.a.p/eal_x86_rte_cycles.c.o
[73/1910] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o
[74/1910] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o
[75/1910] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o
[76/1910] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o
[77/1910] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o
[78/1910] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[79/1910] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[80/1910] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o
ninja: build stopped




*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -c ../lib/eal/freebsd/eal_timer.c
In file included from ../lib/eal/freebsd/eal_timer.c:13:
../lib/eal/freebsd/eal_timer.c: In function 'get_tsc_freq':
../lib/eal/freebsd/eal_timer.c:39:47: error: implicit declaration of function 'rte_strerror'; did you mean 'strerror'? [-Werror=implicit-function-declaration]
   39 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ^~~~~~~~~~~~
../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                              ^~~~~~~~~~~
../lib/eal/freebsd/eal_timer.c:39:47: error: nested extern declaration of 'rte_strerror' [-Werror=nested-externs]
   39 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ^~~~~~~~~~~~
../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                              ^~~~~~~~~~~
../lib/eal/freebsd/eal_timer.c:39:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
   39 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ~~~~~~~~~~~~~~~~~~~^
      |                                               |
      |                                               int
../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../lib/eal/freebsd/eal_timer.c:46:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
   46 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ~~~~~~~~~~~~~~~~~~~^
      |                                               |
      |                                               int
../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../lib/eal/freebsd/eal_timer.c:52:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
   52 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ~~~~~~~~~~~~~~~~~~~^
      |                                               |
      |                                               int
../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
cc1: all warnings being treated as errors
[76/1807] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o
[77/1807] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o
[78/1807] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o
[79/1807] Generating symbol file lib/librte_log.so.24.0.p/librte_log.so.24.0.symbols
[80/1807] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o
[81/1807] Compiling C object lib/librte_mempool.a.p/mempool_mempool_trace_points.c.o
[82/1807] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o
[83/1807] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o
[84/1807] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
ninja: build stopped




*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o -c ../lib/eal/freebsd/eal_timer.c
In file included from ../lib/eal/freebsd/eal_timer.c:13:
../lib/eal/freebsd/eal_timer.c: In function 'get_tsc_freq':
../lib/eal/freebsd/eal_timer.c:39:47: error: implicit declaration of function 'rte_strerror'; did you mean 'strerror'? [-Werror=implicit-function-declaration]
   39 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ^~~~~~~~~~~~
../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                              ^~~~~~~~~~~
../lib/eal/freebsd/eal_timer.c:39:47: error: nested extern declaration of 'rte_strerror' [-Werror=nested-externs]
   39 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ^~~~~~~~~~~~
../lib/log/rte_log.h:333:46: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                              ^~~~~~~~~~~
../lib/eal/freebsd/eal_timer.c:39:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
   39 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ~~~~~~~~~~~~~~~~~~~^
      |                                               |
      |                                               int
../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../lib/eal/freebsd/eal_timer.c:46:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
   46 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ~~~~~~~~~~~~~~~~~~~^
      |                                               |
      |                                               int
../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../lib/eal/freebsd/eal_timer.c:52:66: error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]
   52 |                 RTE_LOG(WARNING, EAL, "%s\n", rte_strerror(errno));
      |                                               ~~~~~~~~~~~~~~~~~~~^
      |                                               |
      |                                               int
../lib/log/rte_log.h:333:39: note: in definition of macro 'RTE_LOG'
  333 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
cc1: all warnings being treated as errors
[78/1958] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o
[79/1958] Compiling C object lib/librte_eal.a.p/eal_x86_rte_cycles.c.o
[80/1958] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o
[81/1958] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o
[82/1958] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memory.c.o
[83/1958] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o
[84/1958] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o
[85/1958] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o
[86/1958] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-15  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15  6:59 compilation|FAILURE| pw(134360) sid(30293) job(PER_PATCH_BUILD10088)[v3, 42/42] vdpa/sfc: use rte strerror sys_stv

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).