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

Bill Jenkins bill at korgrd.com
Thu Sep 14 22:14:02 PDT 2017


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, 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


More information about the yocto mailing list