https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/1993 ERROR: linux-yocto-5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0 do_compile: oe_runmake failed ERROR: linux-yocto-5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0 do_compile: Execution of '/home/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/beaglebone_yocto-poky-linux-gnueabi/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/temp/run.do_compile.3089865' failed with exit code 1: GEN Makefile scripts/kconfig/conf --syncconfig Kconfig GEN Makefile SYSHDR arch/arm/include/generated/uapi/asm/unistd-common.h SYSHDR arch/arm/include/generated/uapi/asm/unistd-oabi.h SYSHDR arch/arm/include/generated/uapi/asm/unistd-eabi.h HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.[ch] HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc /home/pokybuild/yocto-worker/beaglebone/build/build/tmp/hosttools/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [scripts/Makefile.host:116: scripts/dtc/dtc] Error 1 make[1]: *** [/home/pokybuild/yocto-worker/beaglebone/build/build/tmp/work-shared/beaglebone-yocto/kernel-source/Makefile:1263: scripts_dtc] Error 2 make: *** [/home/pokybuild/yocto-worker/beaglebone/build/build/tmp/work-shared/beaglebone-yocto/kernel-source/Makefile:179: sub-make] Error 2
This is not a build race, this is the -fno-common default in gcc 10: https://gcc.gnu.org/gcc-10/porting_to.html The fix should be (untested): https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=35b34d264cb347909ec89d9fa895900035d5438c
We already have those commits in linux-yocto. We just need Kevin @ Wind River to bump the version in the reference BSP once it has been boot tested. If he can't get to it this week, I can bump the SRCREVs based on compile tests.
*** Bug 13956 has been marked as a duplicate of this bug. ***
Happened again https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/2085
and again: https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/641
Was able to reproduce this on f32 at will, apply the updates and then this was resolved, thanks Bruce. http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=24e569ad235eb224251df8045b3e51ab9513b82a