[Buildroot] [PATCH] package/gcc: fix gcc 8.4, 9.4 and 10.2 for sparcv8 (ss10)
Romain Naour
romain.naour at gmail.com
Thu Jan 21 22:16:29 UTC 2021
Hello Thomas,
Le 21/01/2021 à 22:00, Thomas Petazzoni a écrit :
> Hello,
>
> In the title: gcc 9.3 and not gcc 9.4.
>
> On Thu, 21 Jan 2021 00:02:34 +0100
> Romain Naour <romain.naour at gmail.com> wrote:
>
>> As reported on IRC by sephthir, the defconfig qemu_sparc_ss10_defconfig
>> doesn't work as expected. Instead it produce illegal instruction
>> messages.
>>
>> gcc 8.3, 9.2 are the latest working gcc version.
>> git bisect between gcc 8.4 and 8.4 allowed to identify
>
> between gcc 8.3 and 8.4
>
>> the commit that introcuce the regression.
>>
>> Reverting this patch allowed to produce a working rootfs.
>>
>> Fixes:
>> https://gitlab.com/buildroot.org/buildroot/-/jobs/786589934
>>
>> Signed-off-by: Romain Naour <romain.naour at gmail.com>
>> ---
>> ...get-92095-internal-error-with-O1-mcp.patch | 325 ++++++++++++++++++
>> ...get-92095-internal-error-with-O1-mcp.patch | 322 +++++++++++++++++
>> ...get-92095-internal-error-with-O1-mcp.patch | 325 ++++++++++++++++++
>> 3 files changed, 972 insertions(+)
>> create mode 100644 package/gcc/10.2.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch
>> create mode 100644 package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch
>> create mode 100644 package/gcc/9.3.0/0005-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch
>
> Applied with the two nits above fixed. Also, did you report this issue
> to upstream gcc ?
Yes, see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92095
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
>
> Thanks a lot for this investigation!
You're welcome.
Best regards,
Romain
>
> Thomas
>
More information about the buildroot
mailing list