[meta-freescale] [meta-fsl-ppc][PATCH] skmm-ep: fix the inline function definition with gcc 5.x

Luo Zhenhua zhenhua.luo at freescale.com
Tue Sep 22 05:01:08 PDT 2015


The skmm-ep is a FSL package, may I know what Upstream-Status should be set? 


Best Regards,

Zhenhua

> -----Original Message-----
> From: Otavio Salvador [mailto:otavio.salvador at ossystems.com.br]
> Sent: Tuesday, September 22, 2015 7:37 PM
> To: Luo Zhenhua-B19537 <zhenhua.luo at freescale.com>
> Cc: meta-freescale at yoctoproject.org
> Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] skmm-ep: fix the inline
> function definition with gcc 5.x
> 
> On Tue, Sep 22, 2015 at 4:44 AM, Zhenhua Luo <zhenhua.luo at freescale.com>
> wrote:
> > There are different semantics for inline functions for gcc-5.x
> > compared to previous gcc. Fix the following build error.
> > | skmm.c:(.text.startup+0xfc): undefined reference to `va_to_pa'
> > | skmm.c:(.text.startup+0x10c): undefined reference to `va_to_pa'
> >
> > Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
> > ---
> >  ...-the-inline-function-definition-with-gcc-.patch | 65
> ++++++++++++++++++++++
> >  recipes-extended/skmm-ep/skmm-ep_git.bb            |  1 +
> >  2 files changed, 66 insertions(+)
> >  create mode 100644
> > recipes-extended/skmm-ep/skmm-ep/skmm-ep-fix-the-inline-function-
> defin
> > ition-with-gcc-.patch
> >
> > diff --git
> > a/recipes-extended/skmm-ep/skmm-ep/skmm-ep-fix-the-inline-function-
> def
> > inition-with-gcc-.patch
> > b/recipes-extended/skmm-ep/skmm-ep/skmm-ep-fix-the-inline-function-
> def
> > inition-with-gcc-.patch
> > new file mode 100644
> > index 0000000..ecf98b7
> > --- /dev/null
> > +++ b/recipes-extended/skmm-ep/skmm-ep/skmm-ep-fix-the-inline-
> function
> > +++ -definition-with-gcc-.patch
> > @@ -0,0 +1,65 @@
> > +From 3293321112174ff3247c0ba5c8b9ba9349e0e623 Mon Sep 17 00:00:00
> > +2001
> > +From: Zhenhua Luo <zhenhua.luo at freescale.com>
> > +Date: Mon, 21 Sep 2015 20:38:52 +0800
> > +Subject: [PATCH] skmm-ep: fix the inline function definition with gcc
> > +5.x
> > +
> > +There are different semantics for inline functions for gcc-5.x
> > +compared to previous gcc. Fix the following build error.
> > +| skmm.c:(.text.startup+0xfc): undefined reference to `va_to_pa'
> > +| skmm.c:(.text.startup+0x10c): undefined reference to `va_to_pa'
> 
> Upstream-Status: ??
> 
> > +Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
> 
> 
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list