<div dir="ltr">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.<div><br></div><div>It works on 1.7, but not under 2.0. Here are the do_compile run and log for each version of yocto.</div><div><a href="https://gist.github.com/anonymous/3222e0a10ba1bca1f7a7316879d1704d">https://gist.github.com/anonymous/3222e0a10ba1bca1f7a7316879d1704d</a><br></div><div><br></div><div>-------</div><div><div>make[3]: *** [arch/arm/mm/built-in.o] Error 1</div><div>make[2]: *** [arch/arm/mm] Error 2</div><div>  AS Â  Â  Â arch/arm/kernel/sigreturn_codes.o</div><div>  CC Â  Â  Â arch/arm/kernel/stacktrace.o</div><div>/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]</div><div> #warning "TODO: return_address should use unwind tables"</div><div>  ^</div><div>/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'</div><div> void *return_address(unsigned int level)</div><div>  Â  Â  Â ^</div><div>In file included from /home/pknopf/Git/recipes/build/tmp/work-shared/seco-uq7-dl-256mbx4/kernel-source/include/linux/ftrace.h:20:0,</div><div>  Â  Â  Â  Â  Â  Â  Â  Â from /home/pknopf/Git/recipes/build/tmp/work-shared/seco-uq7-dl-256mbx4/kernel-source/arch/arm/kernel/return_address.c:12:</div><div>/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</div><div> extern inline void *return_address(unsigned int level)</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â ^</div><div>make[3]: *** [arch/arm/kernel/return_address.o] Error 1</div><div>make[3]: *** Waiting for unfinished jobs....</div><div>make[2]: *** [arch/arm/kernel] Error 2</div><div>make[1]: *** [sub-make] Error 2</div></div><div>-------</div><div><br></div><div>Any idea why update Yocto would cause this build error?</div></div><div dir="ltr">-- <br></div><div dir="ltr"><p dir="ltr">Thanks,<br>
Paul Knopf<br>
Software Engineer<br>
Med X Change, Inc<br>
<a href="mailto:pknopf@medxchange.com">pknopf@medxchange.com</a></p>
</div>