Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493030 - vmware-modules-279.1: driver.c:1252 & hostif.c:2851 error: too many arguments to function ‘smp_call_function’
Summary: vmware-modules-279.1: driver.c:1252 & hostif.c:2851 error: too many argument...
Status: RESOLVED DUPLICATE of bug 477270
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-01 15:25 UTC by fkhp
Modified: 2013-12-02 12:22 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,12.23 KB, text/plain)
2013-12-01 15:27 UTC, fkhp
Details
emerge.info (emerge.info,5.51 KB, text/plain)
2013-12-01 15:28 UTC, fkhp
Details
emerge.pqv (emerge.pqv,71 bytes, text/plain)
2013-12-01 15:28 UTC, fkhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2013-12-01 15:25:03 UTC
* Preparing vmmon module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.12.2-gentoo/build 
Using 2.6.x kernel build system.
make -C /lib/modules/3.12.2-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.2-gentoo'
  CC [M]  /dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/driverLog.o
  CC [M]  /dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/driver.o
  CC [M]  /dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/hostif.o
  CC [M]  /dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/common/memtrack.o
/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/driver.c:1252:4: error: too many arguments to function ‘smp_call_function’
    compat_smp_call_function(LinuxDriverSyncCallHook, &args, 0);
    ^
In file included from /usr/src/linux-3.12.2-gentoo/include/linux/percpu.h:5:0,
                 from /usr/src/linux-3.12.2-gentoo/include/linux/percpu-rwsem.h:6,
                 from /usr/src/linux-3.12.2-gentoo/include/linux/fs.h:30,
                 from /usr/src/linux-3.12.2-gentoo/include/linux/highmem.h:4,
                 from /dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/driver.c:25:
/usr/src/linux-3.12.2-gentoo/include/linux/smp.h:94:5: note: declared here
 int smp_call_function(smp_call_func_t func, void *info, int wait);
     ^
/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/driver.c: At top level:
/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/driver.c:1342:1: warning: always_inline function might not be inlinable [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
 ^
/usr/src/linux-3.12.2-gentoo/scripts/Makefile.build:308: recipe for target '/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/driver.o' failed
make[3]: *** [/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/driver.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/hostif.c: In function ‘HostIF_CallOnEachCPU’:
/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/hostif.c:2851:4: error: too many arguments to function ‘smp_call_function’
    (void)compat_smp_call_function(*func, data, 1);
    ^
In file included from /usr/src/linux-3.12.2-gentoo/include/linux/topology.h:33:0,
                 from /usr/src/linux-3.12.2-gentoo/include/linux/gfp.h:7,
                 from /usr/src/linux-3.12.2-gentoo/include/linux/mm.h:8,
                 from /dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/./include/compat_page.h:23,
                 from /dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/hostif.c:32:
/usr/src/linux-3.12.2-gentoo/include/linux/smp.h:94:5: note: declared here
 int smp_call_function(smp_call_func_t func, void *info, int wait);
     ^
/usr/src/linux-3.12.2-gentoo/scripts/Makefile.build:308: recipe for target '/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/hostif.o' failed
make[3]: *** [/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only/linux/hostif.o] Error 1
/usr/src/linux-3.12.2-gentoo/Makefile:1228: recipe for target '_module_/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only' failed
make[2]: *** [_module_/dev/shm/portage/app-emulation/vmware-modules-279.1/work/vmmon-only] Error 2
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-3.12.2-gentoo'
Makefile:130: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2


Reproducible: Always

Steps to Reproduce:
1. cp vmblock-3.12.patch /etc/portage/patches//app-emulation/vmware-modules-279.1 #Bug 492670
2. emerge -v1 vmware-modules
3.



patch for Bug 477270(vmware-modules-271.2) not work for vmware-modules-279.1
Comment 1 fkhp 2013-12-01 15:27:50 UTC
Created attachment 364328 [details]
build.log
Comment 2 fkhp 2013-12-01 15:28:17 UTC
Created attachment 364330 [details]
emerge.info
Comment 3 fkhp 2013-12-01 15:28:55 UTC
Created attachment 364332 [details]
emerge.pqv
Comment 4 Martin Mokrejš 2013-12-01 22:17:30 UTC
Confirming this issue also against vanilla 3.10.21 kernel.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-02 12:22:12 UTC

*** This bug has been marked as a duplicate of bug 477270 ***