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 E2CF4A034F;
	Wed, 10 Nov 2021 12:08:55 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id A95F340DDA;
	Wed, 10 Nov 2021 12:08:55 +0100 (CET)
Received: from us-smtp-delivery-124.mimecast.com
 (us-smtp-delivery-124.mimecast.com [170.10.133.124])
 by mails.dpdk.org (Postfix) with ESMTP id 4C18C4068B
 for <dev@dpdk.org>; Wed, 10 Nov 2021 12:08:54 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1636542533;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=U8ETYMHE9Hu8X5cQhtqYYa8J++vLvj0IpSux15y+w6c=;
 b=F57YEIT/GsWiho/jHB+SivhWWr4OQGPrU5gPr6SRsTC2HQG+6iarWol2VkPJ43IGL/QG/V
 Bpb8e1xKK73NtlrbnukbyOfAW2s+/UKj+9VsuczBBxGiMqNIyf4ygxj/U5I0E9X2k3cLzY
 4pPlMJZ72a/pq4Osm8hHuhQekaGOsr4=
Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com
 [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id
 us-mta-480-fl6E8nAPOxehqlp5z4Kz1A-1; Wed, 10 Nov 2021 06:08:12 -0500
X-MC-Unique: fl6E8nAPOxehqlp5z4Kz1A-1
Received: by mail-lf1-f70.google.com with SMTP id
 s18-20020ac25c52000000b004016bab6a12so1084544lfp.21
 for <dev@dpdk.org>; Wed, 10 Nov 2021 03:08:12 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=U8ETYMHE9Hu8X5cQhtqYYa8J++vLvj0IpSux15y+w6c=;
 b=2nf4WRTAUnioi7ZZBQL9OS6MeHlWIFmhFsnPKnyBET9PIV5RfsAKtV5gfqodxT34SJ
 cyvRCrJHM+M+U6jV8ofFgXuHSx82I5ilkQlMWl2+K78X9I620JoZ3FgcngVmfv2n6kgv
 aoQ3ykO9vYzC1lp0IudXSowYwjV97isW6SO+xUHbi3kOnRB8yuaj5b6NqJBJWsG012F2
 /sh20wIANUzqoog/GcCeBpWvUDzkXxpANkhRACO559EeXdbMkIstKOCknncILzkrpRin
 emc8kKnL+YWX9M4Mkbf3c3/KPFVZQ8/p83J7xuhxODmwwWfDgwDjFcSyAgPPdKH4L9bU
 P3/A==
X-Gm-Message-State: AOAM531uscQDgdOMXTs5JUvz7fL5fUo/1/8czUH+gnzDUbgO6tvI+Opv
 EXEv8ML87j3UKj3Nex0X5jFLkMdjJJIs86rvppwIKhD3a41aDxW+fABgkP7YQYEx5leq2c6EYJ9
 stw+6PQjJx0ZjZqe/cAE=
X-Received: by 2002:a05:6512:a8e:: with SMTP id
 m14mr14099856lfu.575.1636542491085; 
 Wed, 10 Nov 2021 03:08:11 -0800 (PST)
X-Google-Smtp-Source: ABdhPJzCCtVis6veITUl37EAUxd6s9yb5XCDDDtM0lceK2XLZ6YeSZjacfG62r9kcUbStuOrCL7lJ++yuq/ecdbS7SY=
X-Received: by 2002:a05:6512:a8e:: with SMTP id
 m14mr14099832lfu.575.1636542490870; 
 Wed, 10 Nov 2021 03:08:10 -0800 (PST)
MIME-Version: 1.0
References: <20211105155351.350403-1-james.r.harris@intel.com>
 <SJ0PR11MB515027DC364D7DB810A3CFE0FE939@SJ0PR11MB5150.namprd11.prod.outlook.com>
In-Reply-To: <SJ0PR11MB515027DC364D7DB810A3CFE0FE939@SJ0PR11MB5150.namprd11.prod.outlook.com>
From: David Marchand <david.marchand@redhat.com>
Date: Wed, 10 Nov 2021 12:07:59 +0100
Message-ID: <CAJFAV8yg089WFttd5nTQ3Rjsy87MjPV8cNOTBmFZTs6SXxKLKw@mail.gmail.com>
To: "Jiang, YuX" <yux.jiang@intel.com>
Cc: "Harris, James R" <james.r.harris@intel.com>, "dev@dpdk.org" <dev@dpdk.org>,
 "Hunt, David" <david.hunt@intel.com>
Authentication-Results: relay.mimecast.com;
 auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Subject: Re: [dpdk-dev] [PATCH v2] power: fix unused-but-set variable error
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
Sender: "dev" <dev-bounces@dpdk.org>

On Wed, Nov 10, 2021 at 11:56 AM Jiang, YuX <yux.jiang@intel.com> wrote:
> We verify this patch http://patches.dpdk.org/project/dpdk/patch/202111051=
55351.350403-1-james.r.harris@intel.com/ based on dpdk21.11-rc2 main branch=
(f4801fdb7828f45ddc4ada148b1b0a230a226570), still verify failed.
> Could you pls have a look again?
>
> Verified OS details:
> Tested Failed on OS Fedora35/Kernel 5.14.16-301.fc35.x86_64/gcc version11=
.2.1/clang version 13.0.0/ninja version 1.10.2
>
> Failed log details:
> [root@dpdk-Fedora34-64-gcc dpdk]# ninja -C x86_64-native-linuxapp-clang/

Is it fc34 or fc35?

> ninja: Entering directory `x86_64-native-linuxapp-clang/'
> [686/3119] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_=
fslmc_bus.c.o
> FAILED: drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_fslmc_bus.c.o
> clang -Idrivers/libtmp_rte_bus_fslmc.a.p -Idrivers -I../drivers -Idrivers=
/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bu=
s/fslmc/qbman/include -I../drivers/bus/fslmc/portal -I. -I.. -Iconfig -I../=
config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../=
lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/=
eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib=
/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -=
Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/c=
aamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/eth=
dev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/m=
empool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash=
 -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib=
/cryptodev -fcolor-diagnostics -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch=
 -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wforma=
t -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-pr=
ototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-com=
pare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-mem=
ber -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -DA=
LLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=3Dbus.=
fslmc -MD -MQ drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_fslmc_bus.c.o -MF =
drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_fslmc_bus.c.o.d -o drivers/libtm=
p_rte_bus_fslmc.a.p/bus_fslmc_fslmc_bus.c.o -c ../drivers/bus/fslmc/fslmc_b=
us.c
> ../drivers/bus/fslmc/fslmc_bus.c:318:6: error: variable 'device_count' se=
t but not used [-Werror,-Wunused-but-set-variable]
>         int device_count =3D 0;
>             ^
> 1 error generated.
> [691/3119] Generating rte_bus_dpaa.sym_chk with a custom command (wrapped=
 by meson to capture output)
> ninja: build stopped: subcommand failed.bus_fslmc.a.p/bus_fslmc_fslmc_bus=
.c.o

Thanks for reporting.

The issue on fslmc is not related to Jim patch.
If there is no bugzilla opened for this issue, please open a new one.

Thanks.


--=20
David Marchand