Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 697736

Summary: sys-cluster/knem-1.1.3 USE=modules - .../work/knem-1.1.3/driver/linux/knem_main.c:2874:36: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘mems_allowed’?
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: Alexey Shvetsov <alexxy>
Status: UNCONFIRMED ---    
Severity: normal CC: cluster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: knem-1.1.3:20191015-001920.log
info

Description Alessandro Barbieri 2019-10-15 00:26:08 UTC
* Preparing knem module
make -j4 -l8 HOSTCC=gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' KDIR=/usr/src/linux all
make -C /usr/src/linux M=/var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux  V= || test x`id -u` != x`stat -c %u Kbuild`
make[1]: Entering directory '/usr/src/linux-4.19.10-rt8'
  CC [M]  /var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux/knem_main.o
/var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux/knem_main.c: In function ‘knem_miscdev_ioctl’:
/var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux/knem_main.c:2874:36: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘mems_allowed’?
 2874 |    ctx->kthread_cpumask = current->cpus_allowed;
      |                                    ^~~~~~~~~~~~
      |                                    mems_allowed
/var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux/knem_main.c:2878:61: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘mems_allowed’?
 2878 |    knem_cpumask_complement(&ctx->kthread_cpumask, &current->cpus_allowed);
      |                                                             ^~~~~~~~~~~~
      |                                                             mems_allowed
/var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux/knem_main.c: In function ‘knem_miscdev_mmap’:
/var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux/knem_main.c:3379:36: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘mems_allowed’?
 3379 |    ctx->kthread_cpumask = current->cpus_allowed;
      |                                    ^~~~~~~~~~~~
      |                                    mems_allowed
/var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux/knem_main.c:3381:61: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘mems_allowed’?
 3381 |    knem_cpumask_complement(&ctx->kthread_cpumask, &current->cpus_allowed);
      |                                                             ^~~~~~~~~~~~
      |                                                             mems_allowed
make[2]: *** [scripts/Makefile.build:309: /var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux/knem_main.o] Error 1
make[1]: *** [Makefile:1532: _module_/var/tmp/portage/sys-cluster/knem-1.1.3/work/knem-1.1.3/driver/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-4.19.10-rt8'
make: *** [Makefile:527: knem.ko] Error 1
 * ERROR: sys-cluster/knem-1.1.3::gentoo failed (compile phase):
 *   emake failed
Comment 1 Alessandro Barbieri 2019-10-15 00:26:44 UTC
Created attachment 592730 [details]
knem-1.1.3:20191015-001920.log

buildlog
Comment 2 Alessandro Barbieri 2019-10-15 00:27:51 UTC
Created attachment 592732 [details]
info

emerge --info