[PATCH 00/12] Fix compilation with gcc 12

Stephen Hemminger stephen at networkplumber.org
Wed Jun 15 16:45:06 CEST 2022


On Wed, 15 Jun 2022 10:49:17 +0200
David Marchand <david.marchand at redhat.com> wrote:

> On Wed, May 18, 2022 at 12:17 PM David Marchand
> <david.marchand at redhat.com> wrote:
> >
> > Fedora 36 is out since early may and comes with gcc 12.
> > This series fixes compilation or waives some checks.
> >
> > There might be something fishy with rte_memcpy on x86 but, for now,
> > the rte_memcpy related fixes are on the caller side.
> >
> > Some "base" drivers have issues, I chose the simple solution of waiving
> > the checks for them.
> >
> > Compilation is the only thing checked.
> > Please driver maintainers, check nothing got broken.  
> 
> I applied the patches that got acked and that had no objection or
> comment from maintainers (i.e. patch 3, 4, 5, 6, 9, 11).
> I also cleaned the mess in bugzilla where we had multiple reports of
> the same issues, or stale bugs that I can't reproduce with released
> gcc 12.
> 
> I'll respin separately the patches for which I have clear comments,
> and drop my patches waiving the compiler checks.
> 
> We still need to agree on the best approach to handle the new checks.
> We have two rfc series from Stephen, how do we move forward?

Lets fix all the bugs and remove any workarounds using pragma's.

Some of them may mean removing rte_memcpy where it is not needed.


More information about the dev mailing list