Hello all, I am getting reports about occasional kernel crashes on ARMv7 [3]. I found out this is caused by GCC bug [1], resolved in Yocto 1.5.2 [2] and thus ELDK 5.5.2 . The git commit ID in Yocto and ELDK is 97c9163d97911dad0afcd0dae39e5c426e27e921 . To prevent being affected by this bug, please update your ELDK 5.5.x to ELDK 5.5.2 or newer.
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 [2] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&id=97c9163d97911dad0afcd0dae39e5c426e27e921 [3] This is the backtrace caused by the bug. Please note that the PC is pointing to 'find_get_entry' function, which is miscompiled by the GCC 4.8.x without the patch: --8<-- Unable to handle kernel paging request at virtual address ffffffff pgd = be138000 [ffffffff] *pgd=4fffd821, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#1] SMP ARM Modules linked in: CPU: 0 PID: 31055 Comm: ip Not tainted 3.15.0+ #8 task: be2f4440 ti: be3e4000 task.ti: be3e4000 PC is at find_get_entry+0x5c/0xf8 LR is at radix_tree_lookup_slot+0x1c/0x2c pc : [<800a6380>] lr : [<802a3580>] psr: a0000113 sp : be3e5ce8 ip : 00000000 fp : be3e5d1c r10: a0000113 r9 : be8c4c80 r8 : 00000002 r7 : bed84558 r6 : 00000001 r5 : 00000000 r4 : bed84428 r3 : be3e5cd4 r2 : 00000000 r1 : 00000002 r0 : ffffffff Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 10c5387d Table: 4e13804a DAC: 00000015 Process ip (pid: 31055, stack limit = 0xbe3e4240) [...] Backtrace: [<800a6324>] (find_get_entry) from [<800a904c>] (filemap_fault+0x10c/0x588) r8:bed844ac r7:800c64dc r6:00000002 r5:00000000 r4:bed84428 [<800a8f40>] (filemap_fault) from [<800c64dc>] (__do_fault+0x3c/0x9c) r10:808e2d2c r9:be139db8 r8:be196c08 r7:be196c08 r6:00000002 r5:bff9e800 r4:76f26000 [<800c64a0>] (__do_fault) from [<800c82f4>] (do_cow_fault.isra.101+0x60/0x17c) r6:00000002 r5:bff9e800 r4:76f26000 [<800c8294>] (do_cow_fault.isra.101) from [<800ca00c>] (handle_mm_fault+0x43c/0x8d0) [...] _______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
