From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 075EDA0032; Mon, 13 Dec 2021 12:47:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87F9B406A2; Mon, 13 Dec 2021 12:47:35 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 5FC9040042 for ; Mon, 13 Dec 2021 12:47:34 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 26507A00BE; Mon, 13 Dec 2021 12:47:34 +0100 (CET) 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 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: meson X-Bugzilla-Version: 19.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: longfengx.liang@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org https://bugs.dpdk.org/show_bug.cgi?id=3D905 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 Date: Thu Dec 9 15:33:57 2021 +0100 version: 19.11.11-rc1 Signed-off-by: Christian Ehrhardt 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 opt= ion" ,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=3Dgcc 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=3Dalways -D_FILE_OFFSET_BITS=3D64 -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=3Dnative -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/24a3f9888f6d41568= 18db4090c4ba50c/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/24a3f9888f6d41568= 18db4090c4ba50c/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/24a3f9888f6d41568= 18db4090c4ba50c/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/24a3f9888f6d4156= 818db4090c4ba50c/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/24a3f9888f6d4156= 818db4090c4ba50c/dpdk/mk/rte.subdir.mk:37: eal] Error 2 gmake[5]: *** [/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156= 818db4090c4ba50c/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2 gmake[4]: *** [/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156= 818db4090c4ba50c/dpdk/mk/rte.subdir.mk:37: librte_eal] Error 2 gmake[3]: *** [/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156= 818db4090c4ba50c/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 gmake[2]: *** [/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156= 818db4090c4ba50c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156= 818db4090c4ba50c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD13-64_K13_GCC10.3.0/x86_64-native-bsdapp-gcc/24a3f9888f6d4156= 818db4090c4ba50c/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. --=20 You are receiving this mail because: You are the assignee for the bug.=