Re: [bisected] clang 16 built kernel crashes w. "BUG: kernel NULL pointer dereference, address: 00000007", gcc 13 built kernel with same config boots fine (6.7-rc1, x86_32)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 15, 2023 at 11:46:48PM +0100, Erhard Furtner wrote:
> On Wed, 15 Nov 2023 09:33:17 -0800
> Roman Gushchin <roman.gushchin@xxxxxxxxx> wrote:
> 
> > Hm, interesting, so the issue is happening only with a kernel built with clang-16
> > but not gcc? And you use 32-bit kernel? Do you know if it's reproducible on a
> > 64-bit machine?
> 
> Correct. This only happens when I build the kernel with clang-16. A gcc-13 kernel build using the same .config is fine. That's why I reported it first on https://github.com/ClangBuiltLinux/linux/issues/1959
> 
> Surprisingly I was indeed able to reproduce the issue on my amd64 box!

Ok, I reproduced it too, mastered a fix and sent upstream (you're cc'ed and also
mentioned in the commit message). Luckily the problem is trivial, as is the fix.
I expect Andrew to pick it up soon, but don't be surprised with some delay - it's
a Linux Plumbers week.

Thank you for the detailed report and your help with the reproduction of the problem!




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux