On Thu, May 10, 2018 at 09:11:45PM +0200, Martin Jansa wrote: > > > 5) nativesdk-libxcrypt fails to build (not sure which change caused > > > this, it build OK with sumo since the -std=gnu99 addition. > > > ../git/crypt-sunmd5.c:189:13: error: 'snprintf' output may be truncated > > > before the last format character [-Werror=format-truncation=] > > > "$" CRYPT_ALGNAME "," ROUNDS "%u$%s$", > > > ^~~ > > > > > > > something new, I will look into reproducing this.
The fix from you worked for me, thanks! > > > I didn't get very far in testing, because our old kernel fails to build > > > with gcc8 and there are some other issues caused by other master > > > changes. But it doesn't look too bad (in my small test, lets see what > > > bitbake world will show), thanks a lot for new gcc. > > > > > > > yes, older kernel needs fixes, especially to disable new warnings. > > the mips/ppc fixes that I put out there might be helpful to cook up > > fixes for older kernels if running into same issues. > > In this case it fails with Error: .err encountered for many drivers. It's not > the same case as in: > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-February/325615.html > nor arm version of this change, both are already applied in our > 4.4.3 based kernel. > > I've tried to reproduce with vanilla 4.4.143 and it doesn't fail like this, > vanilla 4.4.3 doesn't > fail, so it's caused by one of our 10000 commits on top of 4.4.3 or the > config, need to dig a bit more. Just FYI if someone needs similar fix, backporting this: https://patchwork.kernel.org/patch/9170055/ fixed the issue for me, now I have successful kernel build. The failing code was always in put_user calls, e.g. kernel/exit.s was showing: @ 1581 "kernel-source/kernel/exit.c" 1 .ifnc r0,r0; .ifnc r0r0,fpr11; .ifnc r0r0,r11fp; .ifnc r0r0,ipr12; .ifnc r0r0,r12ip; .err; .endif; .endif; .endif; .endif; .endif .ifnc r5,r2; .ifnc r5r2,fpr11; .ifnc r5r2,r11fp; .ifnc r5r2,ipr12; .ifnc r5r2,r12ip; .err; .endif; .endif; .endif; .endif; .endif .ifnc r1,r1; .ifnc r1r1,fpr11; .ifnc r1r1,r11fp; .ifnc r1r1,ipr12; .ifnc r1r1,r12ip; .err; .endif; .endif; .endif; .endif; .endif bl __put_user_4 @ 0 "" 2 with the error triggered on the middle line. /tmp/ccHq8ugv.s: Assembler messages: /tmp/ccHq8ugv.s:1179: Error: .err encountered /tmp/ccHq8ugv.s:1331: Error: .err encountered /tmp/ccHq8ugv.s:4617: Error: .err encountered /tmp/ccHq8ugv.s:6222: Error: .err encountered /tmp/ccHq8ugv.s:8705: Error: .err encountered /tmp/ccHq8ugv.s:14486: Error: .err encountered /tmp/ccHq8ugv.s:14646: Error: .err encountered /tmp/ccHq8ugv.s:14806: Error: .err encountered /tmp/ccHq8ugv.s:14966: Error: .err encountered /tmp/ccHq8ugv.s:15126: Error: .err encountered /tmp/ccHq8ugv.s:15286: Error: .err encountered That leaves only few issues in our internal components and strange failure with perf which fails to include various header files: perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:1:28: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:2:26: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:3:25: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:5:41: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:1:28: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:2:26: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:3:25: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:5:41: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:1:28: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:2:26: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:3:25: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:5:41: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:1:28: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:2:26: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:3:25: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:5:41: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory perf/1.0-r9/perf-1.0/tools/perf/arch/arm/include/../../../../include/asm-generic/bitops/fls.h:1:56: error: #include nested too deeply perf/1.0-r9/perf-1.0/tools/perf/arch/arm/include/../../../../include/asm-generic/bitops/fls.h:1:56: error: #include nested too deeply ... Cheers,
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core