<div dir="ltr">My initial tests show couple issues, but usually caused by other changes in that branch, not the gcc-8 itself.<div><br></div><div>1) strace-4.22 from <a href="http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/gcc-8&amp;id=af33a8b721cc9caebd3f5226b4c5903f666ab654">http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/gcc-8&amp;id=af33a8b721cc9caebd3f5226b4c5903f666ab654</a></div><div>fails to build with ptest enabled (it builds with 4.20 version if I revert this change)</div><div><div>../../strace-4.22/tests/inject-nf.c: In function &#39;main&#39;:</div><div>../../strace-4.22/tests/inject-nf.c:86:1: error: r7 cannot be used in asm here</div><div> }</div><div> ^</div><div>Makefile:6313: recipe for target &#39;inject-nf.o&#39; failed</div><div>make: *** [inject-nf.o] Error 1</div><div>make: Leaving directory &#39;strace/4.22-r0/build/tests&#39;</div></div><div><br></div><div>2) glibc with obsolete rpc disabled from: <a href="http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/gcc-8&amp;id=0cd820424d4bdb5cc68e7503e09a0359fd21150a">http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/gcc-8&amp;id=0cd820424d4bdb5cc68e7503e09a0359fd21150a</a></div><div>causes <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">busybox&#39;s mount applet to fail building:</span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><div>util-linux/mount.c:252:11: fatal error: rpc/rpc.h: No such file or directory</div><div> # include &lt;rpc/rpc.h&gt;</div><div>           ^~~~~~~~~~~</div><div>compilation terminated.</div><div>make[1]: *** [util-linux/mount.o] Error 1</div><div>make: *** [util-linux] Error 2</div></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">3) grub and grub-efi fails to build with gcc8:</span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><div>In file included from ../grub-2.02/grub-core/partmap/gpt.c:26:</div><div>../grub-2.02/include/grub/gpt_partition.h:79:1: error: alignment 1 of &#39;struct grub_gpt_partentry&#39; is less than 8 [-Werror=packed-not-aligned]</div><div> } GRUB_PACKED;</div><div> ^</div><div>In file included from ../grub-2.02/grub-core/disk/ldm.c:26:</div><div>../grub-2.02/include/grub/gpt_partition.h:79:1: error: alignment 1 of &#39;struct grub_gpt_partentry&#39; is less than 8 [-Werror=packed-not-aligned]</div><div> } GRUB_PACKED;</div><div> ^</div><div>..</div><div><div>../grub-2.02/grub-core/fs/btrfs.c:186:1: error: alignment 1 of &#39;struct grub_btrfs_inode&#39; is less than 4 [-Werror=packed-not-aligned]</div><div> } GRUB_PACKED;</div><div> ^</div></div></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">4) iotivity fails to build with gcc8:</span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><div>service/resource-encapsulation/src/common/primitiveResource/unittests/PrimitiveResourceTest.cpp: In lambda function:</div><div>service/resource-encapsulation/src/common/primitiveResource/unittests/PrimitiveResourceTest.cpp:164:30: error: &#39;value&#39; is not captured</div><div>                 ocRep[KEY] = value;</div><div>                              ^~~~~</div></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">5) nativesdk-libxcrypt fails to build (not sure which change caused this, it build OK with sumo since the -std=gnu99 addition.<br></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><div>../git/crypt-sunmd5.c:189:13: error: &#39;snprintf&#39; output may be truncated before the last format character [-Werror=format-truncation=]</div><div>             &quot;$&quot; CRYPT_ALGNAME &quot;,&quot; ROUNDS &quot;%u$%s$&quot;,</div><div>             ^~~</div></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">6) couple internal components which usually fail to build with gcc8, because of more strict warnings + Werror.</span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I didn&#39;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&#39;t look too bad (in my small test, lets see what bitbake world will show), thanks a lot for new gcc.</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>Cheers,</div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 5, 2018 at 2:26 AM, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All<br>
<br>
As you might have noticed that gcc 8.1 was released this week, I am<br>
calling out for some testing help on testing branch so we can weed out<br>
issues you might see in your setups. so if you have your<br>
builders idling over weekend, then you know what they can do this weekend :)<br>
<br>
Highlighted changes are<br>
<br>
<a href="https://gcc.gnu.org/gcc-8/changes.html" rel="noreferrer" target="_blank">https://gcc.gnu.org/gcc-8/<wbr>changes.html</a><br>
<br>
and porting doc is<br>
<br>
<a href="https://gcc.gnu.org/gcc-8/porting_to.html" rel="noreferrer" target="_blank">https://gcc.gnu.org/gcc-8/<wbr>porting_to.html</a><br>
<br>
The branch is here<br>
<br>
<a href="http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/gcc-8" rel="noreferrer" target="_blank">http://git.openembedded.org/<wbr>openembedded-core-contrib/log/<wbr>?h=kraj/gcc-8</a><br>
<br>
Its uptodate on top of current master oe-core<br>
<br>
May fourth be with you !!<br>
<br>
Cheers!<br>
<span class="HOEnZb"><font color="#888888"><br>
-Khem<br>
-- <br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>