Re: [meta-raspberry-pi] needing newer or patched version of g++


Bill J
 

On Sep 15, 2017, at 8:02 AM, Bill Jenkins <bill@korgrd.com> wrote:


On Sep 15, 2017, at 7:43 AM, Khem Raj <raj.khem@gmail.com> wrote:

On Fri, Sep 15, 2017 at 7:35 AM, Bill Jenkins <bill@korgrd.com> wrote:

On Sep 15, 2017, at 6:54 AM, Khem Raj <raj.khem@gmail.com> wrote:

On Thu, Sep 14, 2017 at 10:14 PM, Bill Jenkins <bill@korgrd.com> wrote:
After creating an SDK for a 32-bit Raspberry Pi3 target, I ran into the following compiler error when
compiling an application using the SDK:

internal compiler error: Max. number of generated reload insns per insn is achieved (90)

It turns out that a patch was submitted for g++ early last year for the above problem,
We need to backport the patch to 6.3.0 and regenerate SDK. If you can
point to patch that will be helpful.
Thanks Khem, here's a link to the commit:

https://github.com/gcc-mirror/gcc/commit/4fe01ba94e99e792ebe9da2ccb3b071aa1bac388#diff-af18d9175d034b2b3726f1ddc05fae55
OK and which release are you on ?
I've been building in the pyro branch. DISTRO_VERSION reports 2.3.2.
I hadn't heard any news on this. Is there any more information required?
Will it be possible to backport that patch to gcc 6.3.0?

Cheers,
Bill



but apparently that
patch is not in the 6.3.0 version within the SDK. When I try to specify a newer version,
(by using PREFERRED_VERSION_gcc-cross-${TARGET_ARCH}) bitbake reports that only 5.4.0 or 6.3.0
are available. Any suggestions on how to resolve this? (i.e. is there some way to use a newer g++ or to
apply the patch?)

Thanks,
Bill
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Join yocto@lists.yoctoproject.org to automatically receive all group messages.