[next-20220803] Build failure error: unknown type name 'nodemask_t'

Sachin Sant sachinp at linux.ibm.com
Fri Aug 5 00:14:12 AEST 2022


Linux next build (5.19.0-next-20220803) fails to build on powerpc
with following error:

In file included from ./include/linux/cred.h:16,
                 from ./include/linux/seq_file.h:13,
                 from ./arch/powerpc/include/asm/machdep.h:6,
                 from ./arch/powerpc/include/asm/archrandom.h:5,
                 from ./include/linux/random.h:109,
                 from ./include/linux/nodemask.h:97,
                 from ./include/linux/list_lru.h:12,
                 from ./include/linux/fs.h:13,
                 from ./include/linux/compat.h:17,
                 from arch/powerpc/kernel/asm-offsets.c:12:
./include/linux/sched.h:1204:2: error: unknown type name 'nodemask_t'
  nodemask_t   mems_allowed;
  ^~~~~~~~~~
In file included from ./include/linux/gfp.h:7,
                 from ./include/linux/percpu_counter.h:16,
                 from ./include/linux/sched/user.h:7,
                 from ./include/linux/cred.h:17,
                 from ./include/linux/seq_file.h:13,
                 from ./arch/powerpc/include/asm/machdep.h:6,
                 from ./arch/powerpc/include/asm/archrandom.h:5,
                 from ./include/linux/random.h:109,
                 from ./include/linux/nodemask.h:97,
                 from ./include/linux/list_lru.h:12,
                 from ./include/linux/fs.h:13,
                 from ./include/linux/compat.h:17,
                 from arch/powerpc/kernel/asm-offsets.c:12:
./include/linux/mmzone.h:1246:6: error: unknown type name 'nodemask_t'; did you mean 'cpumask_t'?
      nodemask_t *nodes);
      ^~~~~~~~~~

I have attached complete failure log. next-20220802 build was good.  

Git bisect points to following commit:
# git bisect bad
e50e9742515158aa30680b0a616bb5a8d049bf67 is the first bad commit
commit e50e9742515158aa30680b0a616bb5a8d049bf67

   Merge branch 'bitmap-for-next' of https://github.com/norov/linux.git

Not sure if this commit is actually the cause for build break.

I have attached .config file.

- Sachin

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-fail.txt
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20220804/c251c54c/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.txt
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20220804/c251c54c/attachment-0003.txt>


More information about the Linuxppc-dev mailing list