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

Bill J

On Sep 15, 2017, at 8:02 AM, Bill Jenkins <> wrote:

On Sep 15, 2017, at 7:43 AM, Khem Raj <> wrote:

On Fri, Sep 15, 2017 at 7:35 AM, Bill Jenkins <> wrote:

On Sep 15, 2017, at 6:54 AM, Khem Raj <> wrote:

On Thu, Sep 14, 2017 at 10:14 PM, Bill Jenkins <> 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:
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?


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?)

yocto mailing list

Join to automatically receive all group messages.