[dpdk-dev] [PATCH] fix build warning and failure in Suse11

Liu, Yong yong.liu at intel.com
Wed Mar 18 16:18:02 CET 2015


Hi Thomas,
I'll separated this patch set into several patches and send them out later. 
I think this patch can also fix some issue on gcc 44. 

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Wednesday, March 18, 2015 6:51 PM
> To: Liu, Yong
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] fix build warning and failure in Suse11
> 
> Hi Yong,
> 
> Thanks for working on these important fixes.
> 
> 2015-03-18 15:10, Yong Liu:
> > Suse11 SP3 default gcc version is 4.3.4, some options not support on
> this version.
> 
> I guess some of these errors are not only specific to Suse-11?
> Maybe that 1 patch per issue would be easier to read and could provide a
> more
> accurate description.
> 
> > error: implicit declaration of function ‘_mm_alignr_epi8’
> > solution: include tmmintrin.h when enable SSE3
> >
> > error: unrecognized command line option "-Wno-unused-but-set-variable"
> > solution: add version check in fm10k Makefile
> >
> > error: enic_main.c:845: error: initialized field overwritten
> > solution: change struct initialization code
> >
> > error: ‘testfn_pci_cmd’ defined but not used
> > solution: add __attribute__((unused)) before function definition
> 
> Please could you explain more the problem?
> There are other constructors in DPDK which don't need the unused attribute.
> 
> >
> > error: unrecognized command line option "-fno-var-tracking-assignments"
> > solution: add version check in app/test/Makefile
> >
> > error: implicit declaration of function ‘pread’
> > solution: add _GNU_SOURCE flag when compile eal_pci_uio and
> eal_interrupts
> >
> > signed-off-by: Marvin Liu <yong.liu at intel.com>
> 
> Please use -s git option to have an automatic well formatted Signed-off.
> Your previous contributions were signed "Yong Liu". Do you prefer Marvin
> Liu?

Thanks Thomas, "Marvin" the name I used in DTS branch. For my major task is in DTS project,
I preferred to use "Marvin Liu":)



More information about the dev mailing list