[meta-freescale] [meta-fsl-ppc][PATCH 2/2] u-boot-qoriq: add -fgnu89-inline option for gcc5

Liu Ting ting.liu at freescale.com
Tue Jul 28 04:13:02 PDT 2015


> -----Original Message-----
> From: Otavio Salvador [mailto:otavio.salvador at ossystems.com.br]
> Sent: Tuesday, July 28, 2015 6:50 PM
> To: Liu Ting-B28495
> Cc: meta-freescale at yoctoproject.org
> Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH 2/2] u-boot-qoriq: add -
> fgnu89-inline option for gcc5
> 
> On Tue, Jul 28, 2015 at 5:51 AM,  <b28495 at freescale.com> wrote:
> > From: Ting Liu <ting.liu at freescale.com>
> >
> > Fix the below build issues:
> >   CC      drivers/crypto/fsl/sec.o
> >   LD      arch/powerpc/cpu/mpc8xxx/built-in.o
> > arch/powerpc/cpu/mpc8xxx/fdt.o: In function `ld_le16':
> > ../arch/powerpc/include/asm/byteorder.h:12: multiple definition of `ld_le16'
> >
> > The problem is the change of the default C standard from gnu89 to
> > gnu11 which changes the semantics of 'inline'. The issue is described
> > in the Porting guide at https://gcc.gnu.org/gcc-5/porting_to.html.
> > Adding the '-fgnu89-inline' option fixes the issue.
> >
> > Signed-off-by: Ting Liu <ting.liu at freescale.com>
> 
> The patch file is lacking the upstream-status field.
[Liu Ting-B28495] OK. V2 is coming. Thanks.

> 
> 
> --
> 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