[PATCH 19.11 v1 1/3] net/ixgbe: build failure with make and clang 13
Wang, Haiyue
haiyue.wang at intel.com
Wed Dec 15 02:05:17 CET 2021
> -----Original Message-----
> From: Ali Alnubani <alialnu at nvidia.com>
> Sent: Wednesday, December 15, 2021 01:23
> To: Wang, Haiyue <haiyue.wang at intel.com>; stable at dpdk.org
> Cc: christian.ehrhardt at canonical.com; Jiang, YuX <yux.jiang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>; Lu, Wenzhuo <wenzhuo.lu at intel.com>; Ananyev, Konstantin
> <konstantin.ananyev at intel.com>
> Subject: RE: [PATCH 19.11 v1 1/3] net/ixgbe: build failure with make and clang 13
>
> > -----Original Message-----
> > From: Haiyue Wang <haiyue.wang at intel.com>
> > Sent: Tuesday, December 14, 2021 6:30 PM
> > To: stable at dpdk.org
> > Cc: christian.ehrhardt at canonical.com; yux.jiang at intel.com;
> > qi.z.zhang at intel.com; Haiyue Wang <haiyue.wang at intel.com>; Wenzhuo Lu
> > <wenzhuo.lu at intel.com>; Konstantin Ananyev
> > <konstantin.ananyev at intel.com>
> > Subject: [PATCH 19.11 v1 1/3] net/ixgbe: build failure with make and clang 13
> >
> > Disable the -Wunused-but-set-variable option for clang to avoid
> > compile warning.
> >
> > Bugzilla ID: 900
>
> Do you mean "Bugzilla ID: 903"?
My typo fault, yes, 903. will send v2.
> https://bugs.dpdk.org/show_bug.cgi?id=900 is a net/nfp build failure.
>
> >
> > Signed-off-by: Haiyue Wang <haiyue.wang at intel.com>
> > ---
> > drivers/net/ixgbe/Makefile | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/net/ixgbe/Makefile b/drivers/net/ixgbe/Makefile
> > index 31523025b3..31a418a2c6 100644
> > --- a/drivers/net/ixgbe/Makefile
> > +++ b/drivers/net/ixgbe/Makefile
> > @@ -29,6 +29,7 @@ else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y)
> > #
> > CFLAGS_BASE_DRIVER = -Wno-unused-parameter -Wno-unused-value
> > CFLAGS_BASE_DRIVER += -Wno-strict-aliasing -Wno-format-extra-args
> > +CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable
> >
> > else
> > #
> > --
> > 2.34.1
>
> Thanks Haiyue for looking into this.
> I no longer see the build failures in Bugzilla tickets 901/902/903, but I now see similar build errors
> in net/qede and net/sfc.
More information about the stable
mailing list