DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1063] [19.11.13-rc3] drivers/net/i40e on meson build failure with clang13.0 on FreeBSD13.1/64
Date: Mon, 08 Aug 2022 05:38:48 +0000	[thread overview]
Message-ID: <bug-1063-3@http.bugs.dpdk.org/> (raw)

https://bugs.dpdk.org/show_bug.cgi?id=1063

            Bug ID: 1063
           Summary: [19.11.13-rc3] drivers/net/i40e on meson build failure
                    with clang13.0 on FreeBSD13.1/64
           Product: DPDK
           Version: 19.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: daxuex.gao@intel.com
  Target Milestone: ---

[DPDK version]
dpdk stable v19.11.13-rc3

[OS version]
FreeBSD 13.1-RELEASE
clang 13.0.0

[Test Setup]
CC=clang meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all
--default-library=static clang-linux-app 

ninja -C clang-linux-app

[Error log]
FAILED:
drivers/librte_pmd_failsafe.a.p/meson-generated_.._rte_pmd_failsafe.pmd.c.o 
clang -Idrivers/librte_pmd_failsafe.a.p -Idrivers -I../drivers
-Idrivers/net/failsafe -I../drivers/net/failsafe -Ilib/librte_ethdev
-I../lib/librte_ethdev -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 -Ilib/librte_net
-I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool
-I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring
-Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci
-I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci
-Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -std=gnu99 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -pedantic -DBSD
-DALLOW_EXPERIMENTAL_API -MD -MQ
drivers/librte_pmd_failsafe.a.p/meson-generated_.._rte_pmd_failsafe.pmd.c.o -MF
drivers/librte_pmd_failsafe.a.p/meson-generated_.._rte_pmd_failsafe.pmd.c.o.d
-o drivers/librte_pmd_failsafe.a.p/meson-generated_.._rte_pmd_failsafe.pmd.c.o
-c drivers/rte_pmd_failsafe.pmd.c
drivers/rte_pmd_failsafe.pmd.c:1:1: error: ISO C requires a translation unit to
contain at least one declaration [-Werror,-Wempty-translation-unit]
^
1 error generated.
[692/1594] Compiling C object
drivers/libtmp_rte_pmd_fm10k.a.p/net_fm10k_fm10k_ethdev.c.o
[693/1594] Compiling C object
drivers/net/i40e/base/libi40e_base.a.p/i40e_nvm.c.o
[694/1594] Compiling C object
drivers/net/i40e/base/libi40e_base.a.p/i40e_common.c.o
[695/1594] Compiling C object
drivers/libtmp_rte_pmd_i40e.a.p/net_i40e_i40e_pf.c.o
[696/1594] Compiling C object
drivers/libtmp_rte_pmd_i40e.a.p/net_i40e_i40e_ethdev_vf.c.o
[697/1594] Compiling C object
drivers/libtmp_rte_pmd_i40e.a.p/net_i40e_i40e_rxtx.c.o
[698/1594] Compiling C object
drivers/libtmp_rte_pmd_i40e.a.p/net_i40e_i40e_fdir.c.o
[699/1594] Compiling C object
drivers/libtmp_rte_pmd_i40e.a.p/net_i40e_i40e_flow.c.o
[700/1594] Compiling C object
drivers/libtmp_rte_pmd_i40e.a.p/net_i40e_i40e_ethdev.c.o
ninja: build stopped


[Bad commit]
This is a problem on a new os
Old OS freebsd13.0 no found meson build error.

-- 
You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2022-08-08  5:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08  5:38 bugzilla [this message]
2022-08-24  2:39 ` 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-1063-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 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).