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 pkn...@medxchange.com
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto