[dpdk-dev] [PATCH 0/3] fix building with GCC 10

David Marchand david.marchand at redhat.com
Wed Mar 4 11:09:16 CET 2020


On Wed, Feb 5, 2020 at 1:51 PM Timothy Redaelli <tredaelli at redhat.com> wrote:
> GCC 10 defaults to -fno-common, this means a linker error will now be
> reported if the same global variable is defined in more than one
> compilation unit.
>
> See https://gcc.gnu.org/gcc-10/porting_to.html for more informations.
>
> I didn't put -fcommon to CFLAGS since:
>   Compiling with -fno-common is useful on targets for which it provides
>   better performance, or if you wish to verify that the program will work
>   on other systems that always treat uninitialized variable definitions
>   this way.
> from gcc man page

Series applied, thanks.


-- 
David Marchand



More information about the dev mailing list