All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/gcc: fix gcc 8.4, 9.4 and 10.2 for sparcv8 (ss10)
Date: Mon, 25 Jan 2021 19:17:21 +0100	[thread overview]
Message-ID: <11ccc993-44c3-e822-70d8-0b7ad9d70775@gmail.com> (raw)
In-Reply-To: <20210121220032.460d1d9b@windsurf.home>

Hello Waldemar, All,

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

It's reported to upstream gcc [1] but the issue may be located in uClibc.
I'm not familiar with such topic, can you have a look?

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784

Best regards,
Romain


> 
> Thanks a lot for this investigation!
> 
> Thomas
> 

  parent reply	other threads:[~2021-01-25 18:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 23:02 [Buildroot] [PATCH] package/gcc: fix gcc 8.4, 9.4 and 10.2 for sparcv8 (ss10) Romain Naour
2021-01-21 21:00 ` Thomas Petazzoni
2021-01-21 22:16   ` Romain Naour
2021-01-25 18:17   ` Romain Naour [this message]
2021-01-22  8:24 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11ccc993-44c3-e822-70d8-0b7ad9d70775@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.