ARM: pxa/corgi: armv5te kernel 4.12 fails to decompress compiled with gcc7

Andrea Adami andrea.adami at
Sat Sep 2 14:50:55 PDT 2017

On Thu, Jul 20, 2017 at 8:57 AM, Robert Jarzmik <robert.jarzmik at> wrote:
> Andrea Adami <andrea.adami at> writes:
>> Hello,
> Hi Andrea,
> I have the same report on userspace side on buildroot from Petr [1], which
> triggers endless segfaults in userspace (init) with gcc7 while everything is
> fine with gcc6. I have confirmation on my test farm the problem happens as well.
> Since debugging in userspace is far easier, I would suggest attacking the debug
> with Petr on userspace side, and once sorted out, come back to kernel side.
> Cheers.
> --
> Robert


sorry for the delay, I was awaiting to test gcc 7.2 and binutils 2.29.
Unfortunately, same issue: XZ-compressed data is corrupt - System Halted.


> [1] Mail from Petr
> From: Petr Cvek <petrcvekcz at>
> Subject: cross-gcc
> To: robert.jarzmik at
> Date: Wed, 12 Jul 2017 02:37:35 +0200 (1 week, 1 day, 6 hours ago)
> Message-ID: <ea45c82f-35a8-a908-d199-c72c0c801340 at>
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
> Hi,
> do you still have a PXA27x board? I'm trying to build a rootfs with a new GCC
> (7.1 from crosstool-ng snapshot a few days ago, buildroot same way) and it keeps
> segfaulting (busybox, sshd, udevd, Xorg). Do you have the same problem? (seems
> it does not care for xscale/iwmmxt neither O1/O2/Os, maybe on O0).
> The GCC 6.x was fine and if i will need to make a bug report I think I will need
> confirmation.

More information about the linux-arm-kernel mailing list