Messages in this thread |  | | From | Sudip Mukherjee <> | Date | Sun, 17 Jul 2022 23:05:04 +0100 | Subject | Re: linux-next: Tree for Jul 14 |
| |
Hi Nathan,
On Thu, Jul 14, 2022 at 10:24 PM Nathan Chancellor <nathan@kernel.org> wrote: > > Dropping the next list and Stephen as these issues are likely present on > mainline as well. > > On Thu, Jul 14, 2022 at 07:26:27PM +0100, Sudip Mukherjee wrote: > > Hi Nathan, > > > > On Thu, Jul 14, 2022 at 5:29 PM Nathan Chancellor <nathan@kernel.org> wrote: > > > > > > On Thu, Jul 14, 2022 at 05:21:32PM +0100, Sudip Mukherjee wrote: > > > > Hi Nathan, > > > > > > > > On Thu, Jul 14, 2022 at 5:05 PM Nathan Chancellor <nathan@kernel.org> wrote: > > > > > > > > > > Hi Sudip, > > > > > > > > > > On Thu, Jul 14, 2022 at 12:07:06PM +0100, Sudip Mukherjee (Codethink) wrote: > > > > > > Hi Stephen, > > > > > > > > > > > > On Thu, Jul 14, 2022 at 06:55:14PM +1000, Stephen Rothwell wrote: > > > > > > > Hi all, > > > > > > > > > > > > > > Changes since 20220713: > > > > > > > > > > > > Build failures on next-20220714: > > > > > > > > > > <snip> > > > > > > > > > <snip> > > > > > > > > Sure! I am not sure that we have tested mips or powerpc allmodconfig now > > > that I am thinking about it but we'll certainly take a look at any > > > issues that come from them and see what we can do. > > > > The build errors from powerpc allmodconfig with clang: > > Thanks for testing! > > > 1) > > Error: External symbol 'memset' referenced from prom_init.c > > Good to know this is not clang specific.
Ok, so clang is also trying to use memset for any array. Linus suggested adding volatile. ref: https://lore.kernel.org/lkml/CAHk-=whc3Uvhrmrr27xp5=oOhSDjXc5s1ZxC3B7xMYV6oj4WRQ@mail.gmail.com/ for the gcc-12 problem, and with that I can see that clang has worked as expected and removed memset from struct prom_args. But now memset is still there for other arrays in prom_init_mem() and others. I think we will still need a patch for clang, and that will also work when the gcc-12 bug is fixed.
-- Regards Sudip
|  |