|FAILURE| pw133791 [PATCH] eal: add const to init function parameter

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Thu Nov 2 23:13:07 CET 2023


Test-Label: iol-compile-arm64-testing
Test-Status: FAILURE
http://dpdk.org/patch/133791

_Testing issues_

Submitter: Bruce Richardson <bruce.richardson at intel.com>
Date: Thursday, November 02 2023 18:11:48 
DPDK git baseline: Repo:dpdk
  Branch: master
  CommitID:1025bd1c24b1be70e028c7ba0595782bce75fcc6

133791 --> testing fail

Test environment and result as below:

+----------------------------------------+--------------------+
|              Environment               | dpdk_meson_compile |
+========================================+====================+
| Fedora 37 (ARM)                        | FAIL               |
+----------------------------------------+--------------------+
| Ubuntu 20.04 ARM SVE                   | FAIL               |
+----------------------------------------+--------------------+
| Ubuntu 20.04 ARM GCC Cross Compile     | FAIL               |
+----------------------------------------+--------------------+
| Ubuntu 20.04 (ARM)                     | FAIL               |
+----------------------------------------+--------------------+
| Fedora 38 (ARM Clang)                  | FAIL               |
+----------------------------------------+--------------------+
| Ubuntu 20.04 ARM Clang Cross Compile   | FAIL               |
+----------------------------------------+--------------------+
| Fedora 38 (ARM)                        | FAIL               |
+----------------------------------------+--------------------+
| Ubuntu 20.04 aarch32 GCC Cross Compile | FAIL               |
+----------------------------------------+--------------------+
| CentOS Stream 9 (ARM)                  | FAIL               |
+----------------------------------------+--------------------+
| Debian 11 (Buster) (ARM)               | FAIL               |
+----------------------------------------+--------------------+

==== 20 line log output for Debian 11 (Buster) (ARM) (dpdk_meson_compile): ====
[64/3074] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_unix_eal_unix_thread.c.o'.
[65/3074] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_unix_eal_unix_timer.c.o'.
[66/3074] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_unix_rte_thread.c.o'.
[67/3074] Compiling C object 'lib/76b5a35@@rte_ethdev at sta/ethdev_sff_8079.c.o'.
[68/3074] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o'.
FAILED: lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o
ccache cc -Ilib/76b5a35@@rte_eal at sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -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 -fPIC -march=armv8.1-a+crc+crypto -mcpu=thunderx2t99 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERN
 AL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o' -MF 'lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o.d' -o 'lib/76b5a35@@rte_eal at sta/eal_linux_eal.c.o' -c ../lib/eal/linux/eal.c
../lib/eal/linux/eal.c: In function 'eal_log_level_parse':
../lib/eal/linux/eal.c:562:10: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
562 |  argvopt = argv;
|          ^
../lib/eal/linux/eal.c: In function 'rte_eal_init':
../lib/eal/linux/eal.c:1007:32: error: passing argument 2 of 'eal_parse_args' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
1007 |  fctret = eal_parse_args(argc, argv);
|                                ^~~~
../lib/eal/linux/eal.c:627:33: note: expected 'char **' but argument is of type 'char * const*'
627 | eal_parse_args(int argc, char **argv)
|                          ~~~~~~~^~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==== End log output ====

Fedora 37 (ARM)
	Kernel: Depends on container host
	Compiler: gcc 12.3.1

Ubuntu 20.04 ARM SVE
	Kernel: 5.4.0-80-generic
	Compiler: gcc 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04)

Ubuntu 20.04 ARM GCC Cross Compile
	Kernel: 5.4.0-72-generic
	Compiler: aarch64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

Ubuntu 20.04 (ARM)
	Kernel: Container Host Kernel
	Compiler: gcc 9.4.0

Fedora 38 (ARM Clang)
	Kernel: Depends on container host
	Compiler: clang 16.0.3

Ubuntu 20.04 ARM Clang Cross Compile
	Kernel: 5.4.0-72-generic
	Compiler: clang version 10.0.0-4ubuntu1

Fedora 38 (ARM)
	Kernel: Depends on container host
	Compiler: gcc 13.1.1

Ubuntu 20.04 aarch32 GCC Cross Compile
	Kernel: 5.4.0-72-generic
	Compiler: gcc 9.3.0

CentOS Stream 9 (ARM)
	Kernel: Container Host Kernel
	Compiler: gcc 11.3.1

Debian 11 (Buster) (ARM)
	Kernel: Container Host Kernel
	Compiler: gcc 10.2.1

To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/28206/

UNH-IOL DPDK Community Lab

To manage your email subscriptions, visit: 
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/


More information about the test-report mailing list