On Fri, Jul 17, 2015 at 4:17 AM, <[email protected]> wrote: > From: Ting Liu <[email protected]> > > e6500 only supports 64b kernel. When building 64b kernel + 32b rootfs, > kernel build uses a hack previously, ie. append '-m64' and '-elf64ppc' > to 32b toolchain binaries. This fails if kernel use some builtin functions: > | LINK vmlinux > | LD vmlinux.o > | powerpc-fsl-linux-ld.bfd: Relocatable linking with relocations from > | format elf32-powerpc (.../4.9.2/libgcc.a(_popcountdi2.o)) to format > | elf64-powerpc (vmlinux.o) is not supported > | make: *** [vmlinux] Error 1 > | ERROR: oe_runmake failed > > modify KERNEL_{CC,LD,AR} to use 64b toolchain binaries to avoid error. > > Signed-off-by: Ting Liu <[email protected]>
Acked-by: Otavio Salvador <[email protected]> -- 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 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
