From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id BF411A034D;
	Wed, 12 Jan 2022 09:10:01 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 4D64441233;
	Wed, 12 Jan 2022 09:10:01 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id 744EA40141
 for <dev@dpdk.org>; Wed, 12 Jan 2022 09:09:59 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 48738A034E; Wed, 12 Jan 2022 09:09:59 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 920] [19.11.11] drivers/event/skeleton meson build failure with
 gcc 10.3.0 + debug on FreeBSD13.0/64
Date: Wed, 12 Jan 2022 08:09:59 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: core
X-Bugzilla-Version: 19.11
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daxuex.gao@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: <bug-920-3@http.bugs.dpdk.org/>
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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

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

            Bug ID: 920
           Summary: [19.11.11] drivers/event/skeleton meson build failure
                    with gcc 10.3.0 + debug on FreeBSD13.0/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]:
87ed66bd94 (HEAD, tag: v19.11.11, origin/19.11)

[OS version]:
FreeBSD 13.0-RELEASE, kernel 4.18.0 ICC19.1.1
gcc version 10.3.0 (FreeBSD Ports Collection)

[Test Setup]:
 echo "#define RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG 1" >>config/rte_confi=
g.h
 CC=3Dgcc meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dexamples=3D=
all
--buildtype=3Ddebugoptimized --default-library=3Dstatic
x86_64-native-bsdapp-gcc+debug=20
 ninja -j 10 -C x86_64-native-bsdapp-gcc+debug

[Notes]=20
1, Meson build 19.11 also failed with gcc10.3.0

[FreeBSD 13.0-RELEASE log as below]
ninja: Entering directory `x86_64-native-bsdapp-gcc+debug'
[1157/1594] Compiling C object
drivers/libtmp_rte_pmd_skeleton_event.a.p/event_skeleton_skeleton_eventdev.=
c.o
FAILED:
drivers/libtmp_rte_pmd_skeleton_event.a.p/event_skeleton_skeleton_eventdev.=
c.o
gcc -Idrivers/libtmp_rte_pmd_skeleton_event.a.p -Idrivers -I../drivers
-Idrivers/event/skeleton -I../drivers/event/skeleton -Ilib/librte_eventdev
-I../lib/librte_eventdev -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_ring -I../lib/librte_ring -Ilib/librte_ethdev
-I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mb=
uf
-I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool
-Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_=
hash
-Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev
-I../lib/librte_cryptodev -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 -fdiagnostics-color=3Dalways
-D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_co=
nfig.h
-Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-secu=
rity
-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-align=
ed
-Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE
-D__BSD_VISIBLE -fPIC -march=3Dnative -Wno-format-truncation -MD -MQ
drivers/libtmp_rte_pmd_skeleton_event.a.p/event_skeleton_skeleton_eventdev.=
c.o
-MF
drivers/libtmp_rte_pmd_skeleton_event.a.p/event_skeleton_skeleton_eventdev.=
c.o.d
-o
drivers/libtmp_rte_pmd_skeleton_event.a.p/event_skeleton_skeleton_eventdev.=
c.o
-c ../drivers/event/skeleton/skeleton_eventdev.c
In file included from ../lib/librte_eal/common/include/rte_debug.h:17,
                 from ../drivers/event/skeleton/skeleton_eventdev.c:14:
../drivers/event/skeleton/skeleton_eventdev.c: In function
'skeleton_eventdev_remove':
../lib/librte_eal/common/include/rte_log.h:336:3: error: '%s' directive
argument is null [-Werror=3Dformat-overflow=3D]
  336 |   rte_log(RTE_LOG_ ## l,     \
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  337 |    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/event/skeleton/skeleton_eventdev.h:13:2: note: in expansion of m=
acro
'RTE_LOG'
   13 |  RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ## args)
      |  ^~~~~~~
../drivers/event/skeleton/skeleton_eventdev.c:467:2: note: in expansion of
macro 'PMD_DRV_LOG'
  467 |  PMD_DRV_LOG(INFO, "Closing %s on NUMA node %d", name,
rte_socket_id());
      |  ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1166/1594] Compiling C object
drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker_dual=
.c.o
ninja: build stopped: subcommand failed.

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