<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Apr 18, 2016 at 12:48 PM Dan McGregor <<a href="mailto:danismostlikely@gmail.com">danismostlikely@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 17 April 2016 at 23:15, Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>> wrote:<br>
> Hello all,<br>
><br>
> I have put together a potential gcc6 upgrade recipe set, and pushed the branch to tree here<br>
><br>
><br>
> <a href="http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/gcc-6" rel="noreferrer" target="_blank">http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/gcc-6</a><br>
><br>
> and also at github fork of mine.<br>
><br>
> <a href="https://github.com/kraj/openembedded-core/tree/kraj/master" rel="noreferrer" target="_blank">https://github.com/kraj/openembedded-core/tree/kraj/master</a><br>
><br>
> You need to set<br>
><br>
> GCCVERSION = “6.%”<br>
><br>
> in local.conf to enable it.<br>
><br>
><br>
> There are few recipes in OE-Core which still don’t compile e.g.<br>
><br>
> see<br>
><br>
> <a href="http://errors.yoctoproject.org/Errors/Build/14782/" rel="noreferrer" target="_blank">http://errors.yoctoproject.org/Errors/Build/14782/</a><br>
><br>
> any help in fixing them or otherwise fixing other layers is appreciated.<br>
><br>
> gcc6 is a major release for some info see<br>
><br>
> <a href="https://gcc.gnu.org/gcc-6/changes.html" rel="noreferrer" target="_blank">https://gcc.gnu.org/gcc-6/changes.html</a><br>
><br>
> and porting guide<br>
><br>
> <a href="https://gcc.gnu.org/gcc-6/porting_to.html" rel="noreferrer" target="_blank">https://gcc.gnu.org/gcc-6/porting_to.html</a><br>
><br>
><br>
<br>
I haven't built an image with gcc6 as the compiler yet, but I did<br>
check out your branch to try building with gcc 6 as the host compiler<br>
(Fedora 24). I needed a few more fixes, available at<br>
<a href="http://git.openembedded.org/openembedded-core-contrib/log/?h=dankm/gcc-6" rel="noreferrer" target="_blank">http://git.openembedded.org/openembedded-core-contrib/log/?h=dankm/gcc-6</a>.<br>
I fixed lzop, pkgconfig, and disabled werror on binutils.<br>
core-image-minimal appears to be well on its way to building.<br>
<br></blockquote><div><br></div><div>I had fixed lzop locally meanwhile. I cherry-picked the pkgconfig and binutils fixes into my branch</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> Thanks<br>
><br>
> -Khem<br>
><br>
> --<br>
> _______________________________________________<br>
> Openembedded-core mailing list<br>
> <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
> <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
><br>
</blockquote></div></div>