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 0976CA00C2; Tue, 8 Mar 2022 09:15:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 985C24068B; Tue, 8 Mar 2022 09:15:36 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 8E2B240041 for ; Tue, 8 Mar 2022 09:15:34 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 659D6A034C; Tue, 8 Mar 2022 09:15:34 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 955] build failure in qos_sched example app Date: Tue, 08 Mar 2022 08:15:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: examples X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alialnu@nvidia.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=3D955 Bug ID: 955 Summary: build failure in qos_sched example app Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: examples Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- """ $ meson --werror -Dexamples=3Dall build && ninja -C build [..] examples/qos_sched/args.c: In function 'app_parse_args': examples/qos_sched/args.c:413:28: error: implicit declaration of function 'RTE_BIT64'; did you mean 'RTE_BE64'? [-Werror=3Dimplicit-function-declarat= ion] 413 | if (app_used_core_mask & RTE_BIT64(app_main_core)) { | ^~~~~~~~~ | RTE_BE64 examples/qos_sched/args.c:413:28: error: nested extern declaration of 'RTE_BIT64' [-Werror=3Dnested-externs] cc1: all warnings being treated as errors """ Also reproduces with clang: """ $ meson --werror --buildtype=3Ddebugoptimized -Dexamples=3Dall build && nin= ja -C build [..] examples/qos_sched/args.c:413:28: error: implicit declaration of function 'RTE_BIT64' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (app_used_core_mask & RTE_BIT64(app_main_core)) { ^ examples/qos_sched/args.c:419:24: error: implicit declaration of function 'RTE_BIT64' is invalid in C99 [-Werror,-Wimplicit-function-declaration] app_used_core_mask |=3D RTE_BIT64(app_main_core); ^ 2 errors generated. """ OS: Ubuntu 20.04.4 gcc: 9.3.0 clang: 10.0.0 --=20 You are receiving this mail because: You are the assignee for the bug.=