From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 905] [dpdk-19.11.11-rc1]Meson&Makefile build failed on Freebsd13 with gcc10.3.0&clang11.0.1
Date: Mon, 13 Dec 2021 11:47:33 +0000 [thread overview]
Message-ID: <bug-905-3@http.bugs.dpdk.org/> (raw)
https://bugs.dpdk.org/show_bug.cgi?id=905
Bug ID: 905
Summary: [dpdk-19.11.11-rc1]Meson&Makefile build failed on
Freebsd13 with gcc10.3.0&clang11.0.1
Product: DPDK
Version: 19.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: meson
Assignee: dev@dpdk.org
Reporter: longfengx.liang@intel.com
Target Milestone: ---
1.DPDK version:
commit 928100dd6d30e733be411380fdb78c68a061936c (HEAD, tag: v19.11.11-rc1,
origin/19.11)
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Date: Thu Dec 9 15:33:57 2021 +0100
version: 19.11.11-rc1
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2.OS version:
OS: FreeBSD freebsd13-gcc 13.0-RELEASE FreeBSD 13.0-RELEASE
gcc version:gcc (FreeBSD Ports Collection) 10.3.0
clang version: FreeBSD clang version 11.0.1
3.And about "(internal_conf.in_memory)" error, bad commit is
"1f3a6bf92333f9c310ba6b7a9ebfc22e0c01b9a0 eal/freebsd: ignore in-memory option"
,other error "lib/librte_eal...",the dpdk 18.11.10 has the same error, Maybe
about New OS issue.
4.Meson GCC build error info:
#CC=gcc meson setup build-gcc && ninja -C build-gcc
Found ninja-1.10.2 at /usr/local/bin/ninja
ninja: Entering directory `build-gcc'
[54/1483] Compiling C object lib/librte_eal.a.p/librte_eal_freebsd_eal_eal.c.o
FAILED: lib/librte_eal.a.p/librte_eal_freebsd_eal_eal.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config
-Ilib/librte_eal/common/include -I../lib/librte_eal/common/include
-I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common
-I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86
-I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal
-I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3
-include rte_config.h -Wextra -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 -Wno-format-truncation
-DRTE_LIBEAL_USE_GETENTROPY -DALLOW_EXPERIMENTAL_API -MD -MQ
lib/librte_eal.a.p/librte_eal_freebsd_eal_eal.c.o -MF
lib/librte_eal.a.p/librte_eal_freebsd_eal_eal.c.o.d -o
lib/librte_eal.a.p/librte_eal_freebsd_eal_eal.c.o -c
../lib/librte_eal/freebsd/eal/eal.c
../lib/librte_eal/freebsd/eal/eal.c: In function 'rte_eal_init':
../lib/librte_eal/freebsd/eal/eal.c:746:6: error: 'internal_conf' undeclared
(first use in this function); did you mean 'internal_config'?
746 | if (internal_conf.in_memory) {
| ^~~~~~~~~~~~~
| internal_config
../lib/librte_eal/freebsd/eal/eal.c:746:6: note: each undeclared identifier is
reported only once for each function it appears in
[60/1483] Compiling C object
lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o
In file included from ../lib/librte_eal/common/include/rte_common.h:28,
from ../lib/librte_eal/common/include/rte_string_fns.h:21,
from ../lib/librte_eal/common/eal_common_options.c:19:
../lib/librte_eal/common/eal_common_options.c: In function
'compute_ctrl_threads_cpuset':
../lib/librte_eal/freebsd/eal/include/rte_os.h:35:2: warning: implicit
declaration of function 'CPU_NAND'; did you mean 'CPU_AND'?
[-Wimplicit-function-declaration]
35 | CPU_NAND(&tmp, src); \
| ^~~~~~~~
../lib/librte_eal/common/eal_common_options.c:1499:2: note: in expansion of
macro 'RTE_CPU_NOT'
1499 | RTE_CPU_NOT(cpuset, cpuset);
| ^~~~~~~~~~~
../lib/librte_eal/freebsd/eal/include/rte_os.h:35:2: warning: nested extern
declaration of 'CPU_NAND' [-Wnested-externs]
35 | CPU_NAND(&tmp, src); \
| ^~~~~~~~
../lib/librte_eal/common/eal_common_options.c:1499:2: note: in expansion of
macro 'RTE_CPU_NOT'
1499 | RTE_CPU_NOT(cpuset, cpuset);
| ^~~~~~~~~~~
[63/1483] Compiling C object
lib/librte_mempool.a.p/librte_mempool_rte_mempool.c.o
ninja: build stopped: subcommand failed.
5.Makefile GCC build error info:
OS: FreeBSD13-64
#
/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/lib/librte_eal/freebsd/eal/eal.c:
In function 'rte_eal_init':
/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/lib/librte_eal/freebsd/eal/eal.c:746:6:
error: 'internal_conf' undeclared (first use in this function); did you mean
'internal_config'?
746 | if (internal_conf.in_memory) {
| ^~~~~~~~~~~~~
| internal_config
/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/lib/librte_eal/freebsd/eal/eal.c:746:6:
note: each undeclared identifier is reported only once for each function it
appears in
gmake[7]: ***
[/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/mk/internal/rte.compile-pre.mk:116:
eal.o] Error 1
gmake[7]: *** Waiting for unfinished jobs....
gmake[6]: ***
[/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/mk/rte.subdir.mk:37:
eal] Error 2
gmake[5]: ***
[/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/mk/rte.subdir.mk:37:
freebsd] Error 2
gmake[4]: ***
[/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/mk/rte.subdir.mk:37:
librte_eal] Error 2
gmake[3]: ***
[/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/mk/rte.sdkbuild.mk:48:
lib] Error 2
gmake[2]: ***
[/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/mk/rte.sdkroot.mk:99:
all] Error 2
gmake[1]: ***
[/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/mk/rte.sdkinstall.mk:61:
pre_install] Error 2
gmake: ***
[/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156818db4090c4ba50c/dpdk/mk/rte.sdkroot.mk:77:
install] Error 2
6.Meson and Makefile other build type clang/gcc+debug/gcc_shared error info see
attachment.
--
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2021-12-13 11:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-13 11:47 bugzilla [this message]
2022-01-04 14:20 ` [Bug 905] [dpdk-19.11.11-rc1]Meson&Makefile build failed on Freebsd13 with gcc10.3.0&clang11.0.1 bugzilla
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=bug-905-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.