[dpdk-dev] ZUC PMD as shared library

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Thu Oct 13 20:30:47 CEST 2016


Hi Thomas,

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Wednesday, October 12, 2016 12:23 AM
> To: De Lara Guarch, Pablo
> Cc: dev at dpdk.org
> Subject: Re: ZUC PMD as shared library
> 
> 2016-10-12 02:23, De Lara Guarch, Pablo:
> > Hi Thomas,
> >
> > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> > >
> > > Hi Pablo,
> > >
> > > You are probably aware of the issue, but I would like to make it clear
> > > in case someone else run into the same trouble:
> > >
> > > It is impossible to build the ZUC crypto PMD as a shared library:
> > >
> > > libsso-zuc-0.1.1/build/libsso_zuc.a(sso_zuc_yasm.o):
> > > 	relocation R_X86_64_32 against `EK_d' can not be used
> > > 	when making a shared object; recompile with -fPIC
> > >
> > > The library libsso-zuc-0.1.1 needs an update to make the asm code
> > > relocatable.
> > > Should we explicit this limitation in the PMD doc?
> >
> > Sorry for not replying to this earlier.
> > Yes, you are right, thanks for pointing it out.
> > I think the same problem is in KASUMI, so I will send a doc update for both
> PMDs.
> 
> No, KASUMI works as shared library, because there is no asm code.
> 
> Documenting the bug would be nice as a first step.
> But it is a serious bug, so a fix in ZUC library is highly desirable.

Will document it. Once the library is fixed, it will be announce and I will remove the note.

Thanks,
Pablo


More information about the dev mailing list