automatic DPDK test reports
 help / color / mirror / Atom feed
From: sys_stv@intel.com
To: test-report@dpdk.org, mattias.ronnblom@ericsson.com
Subject: compilation|FAILURE| pw(136877) sid(31139) job(PER_PATCH_BUILD11035)[RFC, v2, 5/5] service: keep per-lcore state in lcore variable
Date: 19 Feb 2024 02:10:23 -0800	[thread overview]
Message-ID: <ea8ee5$4im2v@orviesa006-auth.jf.intel.com> (raw)

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


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

_Compilation issues_

Submitter: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Date: 2024-02-19 09:40:36
Reply_mail: <20240219094036.485727-6-mattias.ronnblom@ericsson.com>

DPDK git baseline: Repo:dpdk, CommitID: 3cb34fb0b0adfeb163b4d0e6d5a232a21bd6f6e0


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

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64  | pass       |              |            |            |           |          |            |
| FreeBSD14-64      | pass       |              |            |            |           |          |            |
| RHEL92-64         | pass       | fail         |            | pass       | pass      |          |            |
| SUSE15-64         | pass       | fail         |            |            |           |          |            |
| CBL-Mariner2.0-64 | pass       |              |            |            |           |          |            |
| UB2204-32         | pass       |              |            |            |           |          |            |
| RHEL89-64         | pass       |              |            |            |           |          |            |
| UB2204-64         | pass       | fail         |            |            |           | pass     | pass       |
| CentOS79-64       | pass       |              |            |            |           |          |            |
| RHEL92-64Rt       | pass       |              |            |            |           |          |            |
| UB2310-64         | pass       |              |            |            |           |          |            |
| FC39-64           | pass       | fail         |            |            |           |          |            |
| 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: 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

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: 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: RHEL92-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_rte_random.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/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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_rte_random.c.o -MF lib/librte_eal.a.p/eal_common_rte_random.c.o.d -o lib/librte_eal.a.p/eal_common_rte_random.c.o -c ../lib/eal/common/rte_random.c
../lib/eal/common/rte_random.c:235:2: error: '_Alignof' applied to an expression is a GNU extension [-Werror,-Wgnu-alignof-expression]
        RTE_LCORE_VAR_ALLOC(rand_state);
        ^
../lib/eal/include/rte_lcore_var.h:264:56: note: expanded from macro 'RTE_LCORE_VAR_ALLOC'
        RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, sizeof(*(name)), alignof(*(name)))
                                                              ^
/usr/lib64/clang/15.0.7/include/stdalign.h:15:17: note: expanded from macro 'alignof'
#define alignof _Alignof
                ^
1 error generated.
[52/2820] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
FAILED: lib/librte_eal.a.p/eal_common_rte_service.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/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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_rte_service.c.o -MF lib/librte_eal.a.p/eal_common_rte_service.c.o.d -o lib/librte_eal.a.p/eal_common_rte_service.c.o -c ../lib/eal/common/rte_service.c
../lib/eal/common/rte_service.c:106:3: error: '_Alignof' applied to an expression is a GNU extension [-Werror,-Wgnu-alignof-expression]
                RTE_LCORE_VAR_ALLOC(lcore_states);
                ^
../lib/eal/include/rte_lcore_var.h:264:56: note: expanded from macro 'RTE_LCORE_VAR_ALLOC'
        RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, sizeof(*(name)), alignof(*(name)))
                                                              ^
/usr/lib64/clang/15.0.7/include/stdalign.h:15:17: note: expanded from macro 'alignof'
#define alignof _Alignof
                ^
1 error generated.
[53/2820] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[54/2820] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[55/2820] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[56/2820] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[57/2820] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[58/2820] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[59/2820] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[60/2820] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
ninja: build stopped




*Build Failed #2:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_rte_random.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/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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_rte_random.c.o -MF lib/librte_eal.a.p/eal_common_rte_random.c.o.d -o lib/librte_eal.a.p/eal_common_rte_random.c.o -c ../lib/eal/common/rte_random.c
../lib/eal/common/rte_random.c:235:2: error: '_Alignof' applied to an expression is a GNU extension [-Werror,-Wgnu-alignof-expression]
        RTE_LCORE_VAR_ALLOC(rand_state);
        ^
../lib/eal/include/rte_lcore_var.h:264:56: note: expanded from macro 'RTE_LCORE_VAR_ALLOC'
        RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, sizeof(*(name)), alignof(*(name)))
                                                              ^
/usr/lib64/clang/15.0.7/include/stdalign.h:15:17: note: expanded from macro 'alignof'
#define alignof _Alignof
                ^
1 error generated.
[51/2878] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
FAILED: lib/librte_eal.a.p/eal_common_rte_service.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/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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_rte_service.c.o -MF lib/librte_eal.a.p/eal_common_rte_service.c.o.d -o lib/librte_eal.a.p/eal_common_rte_service.c.o -c ../lib/eal/common/rte_service.c
../lib/eal/common/rte_service.c:106:3: error: '_Alignof' applied to an expression is a GNU extension [-Werror,-Wgnu-alignof-expression]
                RTE_LCORE_VAR_ALLOC(lcore_states);
                ^
../lib/eal/include/rte_lcore_var.h:264:56: note: expanded from macro 'RTE_LCORE_VAR_ALLOC'
        RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, sizeof(*(name)), alignof(*(name)))
                                                              ^
/usr/lib64/clang/15.0.7/include/stdalign.h:15:17: note: expanded from macro 'alignof'
#define alignof _Alignof
                ^
1 error generated.
[52/2878] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[53/2878] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[54/2878] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[55/2878] Generating symbol file lib/librte_kvargs.so.24.1.p/librte_kvargs.so.24.1.symbols
[56/2878] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[57/2878] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[58/2878] Generating symbol file lib/librte_telemetry.so.24.1.p/librte_telemetry.so.24.1.symbols
[59/2878] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
ninja: build stopped




*Build Failed #3:
OS: UB2204-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_rte_random.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/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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_rte_random.c.o -MF lib/librte_eal.a.p/eal_common_rte_random.c.o.d -o lib/librte_eal.a.p/eal_common_rte_random.c.o -c ../lib/eal/common/rte_random.c
../lib/eal/common/rte_random.c:235:2: error: '_Alignof' applied to an expression is a GNU extension [-Werror,-Wgnu-alignof-expression]
        RTE_LCORE_VAR_ALLOC(rand_state);
        ^
../lib/eal/include/rte_lcore_var.h:264:56: note: expanded from macro 'RTE_LCORE_VAR_ALLOC'
        RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, sizeof(*(name)), alignof(*(name)))
                                                              ^
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdalign.h:15:17: note: expanded from macro 'alignof'
#define alignof _Alignof
                ^
1 error generated.
[53/2906] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[54/2906] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
FAILED: lib/librte_eal.a.p/eal_common_rte_service.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/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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_rte_service.c.o -MF lib/librte_eal.a.p/eal_common_rte_service.c.o.d -o lib/librte_eal.a.p/eal_common_rte_service.c.o -c ../lib/eal/common/rte_service.c
../lib/eal/common/rte_service.c:106:3: error: '_Alignof' applied to an expression is a GNU extension [-Werror,-Wgnu-alignof-expression]
                RTE_LCORE_VAR_ALLOC(lcore_states);
                ^
../lib/eal/include/rte_lcore_var.h:264:56: note: expanded from macro 'RTE_LCORE_VAR_ALLOC'
        RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, sizeof(*(name)), alignof(*(name)))
                                                              ^
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdalign.h:15:17: note: expanded from macro 'alignof'
#define alignof _Alignof
                ^
1 error generated.
[55/2906] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[56/2906] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[57/2906] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[58/2906] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[59/2906] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[60/2906] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[61/2906] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
ninja: build stopped




*Build Failed #4:
OS: FC39-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_rte_random.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/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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_rte_random.c.o -MF lib/librte_eal.a.p/eal_common_rte_random.c.o.d -o lib/librte_eal.a.p/eal_common_rte_random.c.o -c ../lib/eal/common/rte_random.c
../lib/eal/common/rte_random.c:235:2: error: '_Alignof' applied to an expression is a GNU extension [-Werror,-Wgnu-alignof-expression]
  235 |         RTE_LCORE_VAR_ALLOC(rand_state);
      |         ^
../lib/eal/include/rte_lcore_var.h:264:56: note: expanded from macro 'RTE_LCORE_VAR_ALLOC'
  264 |         RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, sizeof(*(name)), alignof(*(name)))
      |                                                               ^
/usr/bin/../lib/clang/17/include/stdalign.h:19:17: note: expanded from macro 'alignof'
   19 | #define alignof _Alignof
      |                 ^
1 error generated.
[53/3061] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
FAILED: lib/librte_eal.a.p/eal_common_rte_service.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/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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_rte_service.c.o -MF lib/librte_eal.a.p/eal_common_rte_service.c.o.d -o lib/librte_eal.a.p/eal_common_rte_service.c.o -c ../lib/eal/common/rte_service.c
../lib/eal/common/rte_service.c:106:3: error: '_Alignof' applied to an expression is a GNU extension [-Werror,-Wgnu-alignof-expression]
  106 |                 RTE_LCORE_VAR_ALLOC(lcore_states);
      |                 ^
../lib/eal/include/rte_lcore_var.h:264:56: note: expanded from macro 'RTE_LCORE_VAR_ALLOC'
  264 |         RTE_LCORE_VAR_ALLOC_SIZE_ALIGN(name, sizeof(*(name)), alignof(*(name)))
      |                                                               ^
/usr/bin/../lib/clang/17/include/stdalign.h:19:17: note: expanded from macro 'alignof'
   19 | #define alignof _Alignof
      |                 ^
1 error generated.
[54/3061] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[55/3061] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[56/3061] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[57/3061] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[58/3061] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[59/3061] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[60/3061] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[61/3061] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
ninja: build stopped


DPDK STV team

                 reply	other threads:[~2024-02-19 10:10 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='ea8ee5$4im2v@orviesa006-auth.jf.intel.com' \
    --to=sys_stv@intel.com \
    --cc=mattias.ronnblom@ericsson.com \
    --cc=test-report@dpdk.org \
    /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).