Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693530 - sys-kernel/gentoo-sources-5.2.11 - mm/zsmalloc.c: In function ‘zs_create_pool’: mm/zsmalloc.c:2435:27: error: ‘struct zs_pool’ has no member named ‘migration_wait’
Summary: sys-kernel/gentoo-sources-5.2.11 - mm/zsmalloc.c: In function ‘zs_create_pool...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://git.kernel.org/pub/scm/linux/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-05 04:29 UTC by Uladzimir Bely
Modified: 2019-09-20 23:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uladzimir Bely 2019-09-05 04:29:08 UTC
gentoo-sources-5.2.1 fails to build, seems to be related with changes in upstream kernel.


Reproducible: Always

Steps to Reproduce:
emerge gento-sources:5.2.11
Actual Results:  
A piece of the build log:

  CC [M]  fs/cifs/cifssmb.o
In file included from ./include/linux/mmzone.h:10,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/umh.h:4,
                 from ./include/linux/kmod.h:9,
                 from ./include/linux/module.h:13,
                 from mm/zsmalloc.c:33:
mm/zsmalloc.c: In function ‘zs_create_pool’:
mm/zsmalloc.c:2435:27: error: ‘struct zs_pool’ has no member named ‘migration_wait’
  init_waitqueue_head(&pool->migration_wait);
                           ^~
./include/linux/wait.h:67:26: note: in definition of macro ‘init_waitqueue_head’
   __init_waitqueue_head((wq_head), #wq_head, &__key);  \
                          ^~~~~~~
  CC [M]  security/keys/encrypted-keys/encrypted.o
make[1]: *** [scripts/Makefile.build:285: mm/zsmalloc.o] Error 1
make: *** [Makefile:1073: mm] Error 2


Expected Results:  
Successfull build

The same kernel configuration was OK for all previous gento-sources-5.2.* versions.
Comment 1 Uladzimir Bely 2019-09-05 05:07:15 UTC
Build fails with CONFIG_ZSMALLOC only. If disabled in kernel config, build is OK.
Comment 2 Mike Pagano gentoo-dev 2019-09-05 18:53:35 UTC
The fix is queued up in the upstream kernel repo. I would expect it to be in 5.1.12, but if not I will carry it for 5.1.12-gentoo-sources, myself.
Comment 3 Mike Pagano gentoo-dev 2019-09-20 23:15:06 UTC
Released in kernel 5.2.12