On Thu, May 17, 2018 at 3:46 AM, Martin Jansa <martin.ja...@gmail.com> wrote: > 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!
There is a followup here which now doesnt need local patch http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/master&id=0924a69244892097f60adbf6c7f576375bea7870 > 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 is building file for qemux86 on o-core I wonder if this is an issue related to your kernel version. > > Cheers, -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto