From mboxrd@z Thu Jan 1 00:00:00 1970 From: petrcvekcz@gmail.com (Petr Cvek) Date: Sun, 15 Oct 2017 00:00:53 +0200 Subject: ARM: pxa/corgi: armv5te kernel 4.12 fails to decompress compiled with gcc7 In-Reply-To: <20171014215042.kfrhb2kjhm7wb7vb@darkstar.musicnaut.iki.fi> References: <87a83zsiid.fsf@belgarion.home> <20171014215042.kfrhb2kjhm7wb7vb@darkstar.musicnaut.iki.fi> Message-ID: <62cc6fd7-8113-92e6-b023-e77f0c503d87@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, I wasn't compiling GCC takes me few hours and I have no idea where to start (don't have JTAG on my PXA machine, and gdb does show anything useful). I wanted to look at that in the summer, but I've had other work. I suggest you to compile kernel with an older GCC. Maybe even the whole OS (busybox) with a working one but it seems that the failures in standalone application have a really low occurences of bugs. It is possible the bug is somewhere in libc etc. Petr Dne 14.10.2017 v 23:50 Aaro Koskinen napsal(a): > Hi, > > On Sat, Sep 02, 2017 at 11:50:55PM +0200, Andrea Adami wrote: >> On Thu, Jul 20, 2017 at 8:57 AM, Robert Jarzmik wrote: >>> Andrea Adami writes: >>> 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. >> >> 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. > > Has anyone been able to debug this further? It seems there are also issues > on iop32x/n2100 with GCC 7.2 and binutils 2.29.1 - early boot hangs silently > and I cannot get earlyprintk to work. Compiling with GCC 6.4.0 it's OK. > > A. >