[yocto] Kernel 3.14.28 (imx duallite) will compile under 1.7, but not under 2.0-2.1

Paul Knopf pknopf at medxchange.com
Tue May 10 19:22:27 PDT 2016


I am trying to update my BSP to work with the latest releases of Yocto,
however, I can't even compile the kernel with the same
defconfig/commit/repo.

It works on 1.7, but not under 2.0. Here are the do_compile run and log for
each version of yocto.
https://gist.github.com/anonymous/3222e0a10ba1bca1f7a7316879d1704d

-------
make[3]: *** [arch/arm/mm/built-in.o] Error 1
make[2]: *** [arch/arm/mm] Error 2
  AS      arch/arm/kernel/sigreturn_codes.o
  CC      arch/arm/kernel/stacktrace.o
/home/pknopf/Git/recipes/build/tmp/work-shared/seco-uq7-dl-256mbx4/kernel-source/arch/arm/kernel/return_address.c:63:2:
warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]
 #warning "TODO: return_address should use unwind tables"
  ^
/home/pknopf/Git/recipes/build/tmp/work-shared/seco-uq7-dl-256mbx4/kernel-source/arch/arm/kernel/return_address.c:66:7:
error: redefinition of 'return_address'
 void *return_address(unsigned int level)
       ^
In file included from
/home/pknopf/Git/recipes/build/tmp/work-shared/seco-uq7-dl-256mbx4/kernel-source/include/linux/ftrace.h:20:0,
                 from
/home/pknopf/Git/recipes/build/tmp/work-shared/seco-uq7-dl-256mbx4/kernel-source/arch/arm/kernel/return_address.c:12:
/home/pknopf/Git/recipes/build/tmp/work-shared/seco-uq7-dl-256mbx4/kernel-source/arch/arm/include/asm/ftrace.h:48:21:
note: previous definition of 'return_address' was here
 extern inline void *return_address(unsigned int level)
                     ^
make[3]: *** [arch/arm/kernel/return_address.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [arch/arm/kernel] Error 2
make[1]: *** [sub-make] Error 2
-------

Any idea why update Yocto would cause this build error?
-- 

Thanks,
Paul Knopf
Software Engineer
Med X Change, Inc
pknopf at medxchange.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160511/b07e7cdb/attachment.html>


More information about the yocto mailing list