Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697736 - 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’?
Summary: sys-cluster/knem-1.1.3 USE=modules - .../work/knem-1.1.3/driver/linux/knem_ma...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-15 00:26 UTC by Alessandro Barbieri
Modified: 2019-10-15 06:27 UTC (History)
1 user (show)

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


Attachments
knem-1.1.3:20191015-001920.log (knem-1.1.3:20191015-001920.log,34.11 KB, text/plain)
2019-10-15 00:26 UTC, Alessandro Barbieri
Details
info (info,16.09 KB, text/plain)
2019-10-15 00:27 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
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