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

Khem Raj raj.khem at gmail.com
Fri Sep 15 07:43:17 PDT 2017


On Fri, Sep 15, 2017 at 7:35 AM, Bill Jenkins <bill at korgrd.com> wrote:
>
>> On Sep 15, 2017, at 6:54 AM, Khem Raj <raj.khem at gmail.com> wrote:
>>
>> On Thu, Sep 14, 2017 at 10:14 PM, Bill Jenkins <bill at 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 ?

>> 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 at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list