[dpdk-dev] Clang Scan build results

Wiles, Roger Keith keith.wiles at windriver.com
Thu Aug 28 07:29:36 CEST 2014


Hi Matthew,

On Aug 27, 2014, at 10:00 PM, Matthew Hall <mhall at mhcomputing.net> wrote:

> On Wed, Aug 27, 2014 at 03:13:43PM +0000, Wiles, Roger Keith wrote:
>> Hi Everyone,
> 
> Hi Keith,
> 
> For me the build failed with clang but I made a series of awful patches to get 
> it to compile... not sure if the clang failures could be related to your 
> scan-build failures. If it will help you I can provide you the patches I made 
> to get it to work on clang... they are not ready for the DPDK master branch 
> but it's really good to get safe output from scan-build.

I was able to get DPDK to build using target x86_64-native-linuxapp-clang without errors, but with scan-build it gave me errors that were not in the normal clang build. Was this the target system you were building or something else?
> 
>> It would be nice to run once in a while to weed out any basic problems. We 
>> could run something like PC-Lint or Coverity, but they cost money :-)
> 
> Not 100% true... you can run Coverity for free on open source if you are the 
> maintainer... given Intel, Wind River, and 6WIND all have some form of 
> maintainership authority over DPDK there should be a way to qualify via this 
> avenue.

Yes, it was pointer out to me that Coverity is free to open source via scan.coverity.com site, just have to register and get accepted.
> 
> Matthew.

Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-213-5533



More information about the dev mailing list