[dpdk-dev] [PATCH v3 00/40] Fix build on gcc8 and various bugs

Andy Green andy at warmcat.com
Thu May 10 13:57:45 CEST 2018



On 05/10/2018 05:52 PM, De Lara Guarch, Pablo wrote:
> Hi Andy,
> 
>> -----Original Message-----
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Andy Green
>> Sent: Thursday, May 10, 2018 3:46 AM
>> To: dev at dpdk.org
>> Subject: [dpdk-dev] [PATCH v3 00/40] Fix build on gcc8 and various bugs
>>
>> The following series gets current master able to build itself, and allow lagopus to
>> build against it, on Fedora 28 +
>> x86_64 using gcc 8.0.1.
>>
>> The first 17 patches have already been through two spins and this time are
>> corrected for all the comment (thanks to everybody who commented) since v2,
>> and have tested-by / acked-bys applied.  The first workaround patch for the hash
>> function cast problem is dropped since something has already been applied in
>> master since yesterday to address it.
>>
>> The additional 23 patches are fixes for problems found actually trying to build
>> lagopus using current master.
>> These are almost entirely related to signed / unsigned or truncation without
>> explicit casts inside dpdk headers.
> 
> I think it would be a good idea to split this patchset into two.

OK, but...

> One for the gcc 8 fixes, and another one for the rest of them.
> 
> We should first focus on fixes for just DPDK, knowing that the release is close.
> 
> Could you also share what's triggering the other issues, when ou build lagopus?

... gcc8.0.1 on Fedora 28 the same.

I just force their dpdk submodule to dpdk master + my series and build 
with defaults.  I'm not doing anything to make it more strict or nondefault.

The quoted compiler warnings and errors are coming from lagopus actually 
using dpdk with x86_64 + gcc8.

I have a pile of lagopus fixes also required to get this far, that pile 
is still growing.

-Andy

> Thanks,
> Pablo
> 


More information about the dev mailing list