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

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Jul 28 03:49:38 PDT 2015


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.


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