public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* regression for microblaze architecture
@ 2017-05-27  8:51 Waldemar Brodkorb
  2017-05-27 14:44 ` [Buildroot] " Thomas Petazzoni
  2017-05-27 16:09 ` Michael Eager
  0 siblings, 2 replies; 5+ messages in thread
From: Waldemar Brodkorb @ 2017-05-27  8:51 UTC (permalink / raw)
  To: gcc; +Cc: Ajit Agarwal, Michael Eager, buildroot, dev

Hi,

Buildroot and OpenADK have samples to create a Linux system to be
bootup in Qemu system emulation for microblaze architecture.

With gcc 6.3 and 7.1 the samples are not working anymore, 
because the Linux system userland does not boot.
Qemu 2.9.0:
Kernel panic - not syncing: Attempted to kill init!
exitcode=0x0000000b
(with glibc, musl and uClibc-ng toolchains)

I bisected gcc source code and found the bad commit:
6dcad60c0ef48af584395a40feeb256fb82986a8

When reverting the change, gcc 6.3 and 7.1 produces working
Linux rootfs again.

What can we do about it?

best regards
 Waldemar


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] regression for microblaze architecture
  2017-05-27  8:51 regression for microblaze architecture Waldemar Brodkorb
@ 2017-05-27 14:44 ` Thomas Petazzoni
  2017-05-27 16:09 ` Michael Eager
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2017-05-27 14:44 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: gcc, Ajit Agarwal, Michael Eager, dev, buildroot

Hello,

On Sat, 27 May 2017 10:51:22 +0200, Waldemar Brodkorb wrote:

> Buildroot and OpenADK have samples to create a Linux system to be
> bootup in Qemu system emulation for microblaze architecture.
> 
> With gcc 6.3 and 7.1 the samples are not working anymore, 
> because the Linux system userland does not boot.
> Qemu 2.9.0:
> Kernel panic - not syncing: Attempted to kill init!
> exitcode=0x0000000b
> (with glibc, musl and uClibc-ng toolchains)
> 
> I bisected gcc source code and found the bad commit:
> 6dcad60c0ef48af584395a40feeb256fb82986a8

Nice, great work!

> When reverting the change, gcc 6.3 and 7.1 produces working
> Linux rootfs again.
> 
> What can we do about it?

 1. Add a revert of this commit in Buildroot for gcc 6.x and 7.x

 2. Report the bug upstream, pointing to the problematic commit

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: regression for microblaze architecture
  2017-05-27  8:51 regression for microblaze architecture Waldemar Brodkorb
  2017-05-27 14:44 ` [Buildroot] " Thomas Petazzoni
@ 2017-05-27 16:09 ` Michael Eager
  2017-05-27 18:30   ` Michael Eager
  2017-08-09 13:41   ` Martin Liška
  1 sibling, 2 replies; 5+ messages in thread
From: Michael Eager @ 2017-05-27 16:09 UTC (permalink / raw)
  To: Waldemar Brodkorb, gcc; +Cc: Ajit Agarwal, buildroot, dev, Thomas Petazzoni

On 05/27/2017 01:51 AM, Waldemar Brodkorb wrote:
> Hi,
>
> Buildroot and OpenADK have samples to create a Linux system to be
> bootup in Qemu system emulation for microblaze architecture.
>
> With gcc 6.3 and 7.1 the samples are not working anymore,
> because the Linux system userland does not boot.
> Qemu 2.9.0:
> Kernel panic - not syncing: Attempted to kill init!
> exitcode=0x0000000b
> (with glibc, musl and uClibc-ng toolchains)
>
> I bisected gcc source code and found the bad commit:
> 6dcad60c0ef48af584395a40feeb256fb82986a8
>
> When reverting the change, gcc 6.3 and 7.1 produces working
> Linux rootfs again.
>
> What can we do about it?

I will revert this commit in GCC.


-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: regression for microblaze architecture
  2017-05-27 16:09 ` Michael Eager
@ 2017-05-27 18:30   ` Michael Eager
  2017-08-09 13:41   ` Martin Liška
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Eager @ 2017-05-27 18:30 UTC (permalink / raw)
  To: Waldemar Brodkorb, gcc; +Cc: Ajit Agarwal, buildroot, dev, Thomas Petazzoni

On 05/27/2017 09:09 AM, Michael Eager wrote:
> On 05/27/2017 01:51 AM, Waldemar Brodkorb wrote:
>> Hi,
>>
>> Buildroot and OpenADK have samples to create a Linux system to be
>> bootup in Qemu system emulation for microblaze architecture.
>>
>> With gcc 6.3 and 7.1 the samples are not working anymore,
>> because the Linux system userland does not boot.
>> Qemu 2.9.0:
>> Kernel panic - not syncing: Attempted to kill init!
>> exitcode=0x0000000b
>> (with glibc, musl and uClibc-ng toolchains)
>>
>> I bisected gcc source code and found the bad commit:
>> 6dcad60c0ef48af584395a40feeb256fb82986a8
>>
>> When reverting the change, gcc 6.3 and 7.1 produces working
>> Linux rootfs again.
>>
>> What can we do about it?
>
> I will revert this commit in GCC.

Reverted on GCC mainline: Committed revision 248540.

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: regression for microblaze architecture
  2017-05-27 16:09 ` Michael Eager
  2017-05-27 18:30   ` Michael Eager
@ 2017-08-09 13:41   ` Martin Liška
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Liška @ 2017-08-09 13:41 UTC (permalink / raw)
  To: Michael Eager, Waldemar Brodkorb, gcc
  Cc: Ajit Agarwal, buildroot, dev, Thomas Petazzoni

On 05/27/2017 06:09 PM, Michael Eager wrote:
> On 05/27/2017 01:51 AM, Waldemar Brodkorb wrote:
>> Hi,
>>
>> Buildroot and OpenADK have samples to create a Linux system to be
>> bootup in Qemu system emulation for microblaze architecture.
>>
>> With gcc 6.3 and 7.1 the samples are not working anymore,
>> because the Linux system userland does not boot.
>> Qemu 2.9.0:
>> Kernel panic - not syncing: Attempted to kill init!
>> exitcode=0x0000000b
>> (with glibc, musl and uClibc-ng toolchains)
>>
>> I bisected gcc source code and found the bad commit:
>> 6dcad60c0ef48af584395a40feeb256fb82986a8
>>
>> When reverting the change, gcc 6.3 and 7.1 produces working
>> Linux rootfs again.
>>
>> What can we do about it?
> 
> I will revert this commit in GCC.
> 
> 

Hi.

Looks the revert caused:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485

Thanks,
Martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-09 13:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-27  8:51 regression for microblaze architecture Waldemar Brodkorb
2017-05-27 14:44 ` [Buildroot] " Thomas Petazzoni
2017-05-27 16:09 ` Michael Eager
2017-05-27 18:30   ` Michael Eager
2017-08-09 13:41   ` Martin Liška

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).