After upgrade gentoo-sources from 3.10.20 to 3.12.1 and tryied to recompile modules against the new kernel (vmware,vbox and nvidia) only vmware module crash at compile time. Reproducible: Always Steps to Reproduce: 1. emerge app-emulation/vmware-modules emerge --info 7:24 Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.17, 3.10.19-gentoo-blackhammer x86_64) ================================================================= System uname: Linux-3.10.19-gentoo-blackhammer-x86_64-AMD_Phenom-tm-_II_X4_960T_Processor-with-gentoo-2.2 KiB Mem: 8181364 total, 2075340 free KiB Swap: 3015932 total, 3015932 free Timestamp of tree: Wed, 27 Nov 2013 01:00:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.5-r4, 3.2.5-r3, 3.3.3 dev-util/cmake: 2.8.12.1-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0 sys-kernel/linux-headers: 3.12 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -Os -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=amdfam10 -Os -pipe" DISTDIR="/usr/local/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going=y --with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="pt_BR.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8 --load-average" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="3dnow 3dnowext R X Xaw3d a52 aac aacplus aalib acl acpi addressbook adiummessagestyle adobe-cff adplug ads afp aio airplay alisp alsa amd64 android annotations ao apng archive asf ass assistant atmo autoipd autostatus autotools autotrace avahi avatars avcodec avconv avformat avx bazaar bearer berkdb bidi bip bitmap bitsofbinary bl bookmarks branding bs2b bsf bufferevents bugzilla bzip2 c++0x cairo calendar caps captcha captchaforms cdparanoia cg chardet chatzilla chemistry chm clearcase cli clientinfo clock clutter cmake collab color colord commands compress compressed-lumas connectivity console consolekit contacts context contrast contrib corefonts coverage cracklib creds crypt cryptsetup cscope css csv ctype cue curl cvs cxx d daap dap databasedesigner dataforms datastreamsmanager dbus ddate ddcpci debugger declarative designer-plugin desktopglobe devhelp device-mapper dia diff dig dirac djvu downloadorder dri dts dv dvb dvbplayer dvbpsi dvbsetup dvd eap eap-sim ebook ecls edd embedded emoticons emotion emovix encode espeak eve excel experimental extensions extra extras faac faad fakevim fam fastcgi fastscroll fbcon feedback ffmpeg fftw filestreamsmanager filetransfer fits flac fltk fontconfig fontforge foomaticdb fortran fortran2003 ftp fuse g3dvl gajim galago gallery game-engine games gateways gbm gcj gconf gcov gcrypt gd gdbm geoip geolocation geos gflags gfxnvidia ggi gif gimp ginac git gkrellm glade glep gles gles1 gles2 glew glib glpk glut gmail gme gmp gnumeric gnuplot go google googledrive gpg gphoto2 gpm gpu grammar graph graphbrowsing graphics graphite graphviz grilo groupwise growl grp grub gs gsf gsm gstreamer gtalk gtk gts gudev gui guidexml guile gvfs gzip hd hddtemp highlight hog hpcups hpijs html http http-cache httpd httppower hwdb ices iconv icq icu id3 id3tag ide ieee1394 image imaging imap imapc imlib inbandstreams infinality inotify iostats ipv6 ipython iqauth irc jabber jabbersearch jack java jemalloc joystick jpeg kate kde kdepim kdm kdrive kerberos keymap kipi ladspa lame lapack lash lastfm lastfmfingerprint lastfmradio latex lcms libass libatomic libcaca libffi libkms libnotify libproxy libsamplerate libtiger libv4l libv4l2 linsys listen-queue live lm_sensors location logger logrotate logviewer lqr lua lua-cairo lua-imlib luajit luatex lv2 lxml lyx lzma lzo mac mad madde maildir math mathml matplotlib matroska matrox mbox md5 md5sum mdnsresponder-compat meanwhile melt mempool-buddy mempool-chained-pool mempool-fixed-bitmap mempool-one-big mempool-pass-through mercurial messagearchiver messaging minizip mjpeg mlib-update mmap mms mmx mmxext mng moc modules mozdom mp3 mp3tunes mp4 mpd mpeg mpg123 mtp mudflap multilib multimedia multiprocess multislot multitarget multiuser multiuserchat musepack music musicbrainz mysql nano-syntax nas nat-pmp ncurses network network-cron networking nlpsolver nls nntp nova nowlistening npp nptl nsplugin nss ntfs ntlm numpy nut nvidia objc objc++ objc-gc octave odk ofa offensive offlinehelp ofono ofx ogg okteta omxil openal openct openctl opencv openexr opengl openid openmp openrc openssl optimisememory organizer oscar oss otr outputs overlays ovftool pam pango patented pdf pep8 pepmanager perforce perl phonehome pipe player plotutils plugin-autowep plugin-btscan plugin-checksum plugin-doat plugin-dot15d4 plugin-fishlim plugin-ptw plugin-spectools plugin-sysinfo plugin-syslog plugins png pnm policykit pop pop3c postgres postproc ppp privacy privacylists private-headers privatestorage profiler profiling pronounce publishers publishsubscribe pvr pyflakes pyglet pygments pylint pyqt4 pyside python python3 pyx pyzord qalculate qmake qml qpak qrcode qscintilla qt-dbus qt-faststart qt-webkit qt3support qt4 qthelp qtscript quicktime quotes quvi qwt radio readline real recorder reencrypt registration remotecontrol remoteosd reviewboard roaming romio rostersearch rss rtsp s3 samba sandbox sasl scanner schroedinger science scipy screen screenshot script scripts scrobbler sdk sdl sdl-image sdl-sound sdlaudio sdlgfx secure-delete security semantic-desktop sensord sensors servicediscovery serviceframework session sessionnegotiation sha1 sha512 shadow shine shout sid sidebar sip skins skype slp smbsharemodes smbtav2 smi smime smp sms smtp snappy sndfile snmp snmppower sockets socks socks5 socksstreams sound soundcloud sounds source sourceview sox sparse speex spell sphinx sql sqlite sqlite3 sse sse2 sse3 ssl stars startup-notification statistics stats stereo stream strigi subtitles subversion svg swat swig switcher swscale system-sqlite systeminfo t1lib taglib tcl tcpd tcpdump tcpreplay tcpwrapper tellico telnet templates texmacs theme-manager themedesigner themes theora thin-splines threads threadsafe thumbnail thunderbird tiff timerinfo timezone tk tls toolame toolbar tools tor tordns trace traits transcode tray trayicon truetype tslib tv tvtime tweak-mode twitter twolame udev udisks udisks2 ukit uml unicode unlock-notify upcall upower urandom usb utils v4l v8 vaapi valgrind vamp vcard vcd vcdx vdpau verse versit vga video videos vim vim-pager vim-plugin vim-syntax vimeo virtualbox visual visualizer vix vlm vmware-tools vmware_guest_freebsd vmware_guest_linux vmware_guest_netware vmware_guest_solaris vmware_guest_winPre2k vmware_guest_windows vnc vocoder volpack vorbis vpx wad watchdog wav waveout wavpack weather weather-metar weather-xoap webkit webp webpresence wifi winbind wireshark wma wma-fixed wmf wps wxwidgets x11vnc x264 xanim xattr xbase xcb xchatdccserver xcomposite xdg xetex xforward xfs xft xine xinerama xlockrc xls xml xmldoclet xmlpatterns xmlreader xmlrpc xmlsec xmlwriter xmms2 xmp xmpp xmppuriqueries xnest xorg xorgmodule xosd xplanet xpm xprint xrandr xrender xscreensaver xsettings xslt xterm xv xvfb xvid yahoo yahoo-geo yaml yaz youtube yuv4mpeg zfs zip zlib zsh-completion zvbi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DVB_CARDS="dibusb-usb1 dibusb-usb2 usb-dib0700" ELIBC="glibc" ENLIGHTENMENT_MODULES="access backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="pt_BR de en" LIRC_DEVICES="audio audio_alsa imputlirc irdeo irdeo_remote irlink irman irreal serial udp" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics java javacard javafx mobility profiler webcommon websvccommon" NGINX_MODULES_HTTP="access addition auth_basic autoindex browser cache_purge charset dav degradation empty_gif fancyindex fastcgi flv geo geoip gzip gzip_static headers_more image_filter limit_conn limit_req limit_zone lua map memcached mp4 perl proxy push random_index realip referer rewrite scgi secure_link slowfs_cache split_clients ssi stub_status sub upload upload_progress upstream_ip_hash userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="i386 arm" QEMU_USER_TARGETS="i386 arm" RUBY_TARGETS="ruby18 ruby19 ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vga v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7 3.2 3.3" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Created attachment 364064 [details] vmware-modules.tar
Created attachment 364066 [details, diff] vmblock-3 12.patch Copy the attached patch to /etc/portage/patches/app-emulation/vmware-modules-279.1/ This works for me.
I just would like to report the attached proposed patch works for me as well.
this patch works, but still another error here: 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
(In reply to fkhp from comment #4) > this patch works, but still another error here: > Do you have a) removed the old patch for kernel 3.11 ? b) updated linux-headers to 3.12 ?
I have a similar problem that was related to this but the 3.12 patch didn't work, I now get another error. (yes removed 3.11 patch from ebuild and placed user patch for 3.12) Without the vmblock-3 12.patch here I got the same error as the original bug. >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-emulation/vmware-modules-279.1 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.12.1-gentoo/build * Found sources for kernel version: * 3.12.1-gentoo * Checking for suitable kernel configuration options... [ ok ] * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-279.1/work >>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-279.1/work ... * Applying 279-makefile-kernel-dir.patch ... [ ok ] * Applying 279-makefile-include.patch ... [ ok ] * Applying 279-netdevice.patch ... [ ok ] * Applying 279-apic.patch ... [ ok ] * Applying 279-putname.patch ... [ ok ] * Applying user patches from /etc/portage/patches//app-emulation/vmware-modules ... * vmblock.3.12.patch ... [ ok ] * Done with patching >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-279.1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-279.1/work ... * Preparing vmblock module make -j24 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.1-gentoo/build Using 2.6.x kernel build system. make -C /lib/modules/3.12.1-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory '/usr/src/linux-3.12.1-gentoo' CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/filesystem.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/stubs.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/file.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/block.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/inode.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/super.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/module.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.o /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c:38:4: warning: initialization from incompatible pointer type [enabled by default] .d_revalidate = DentryOpRevalidate, ^ /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c:38:4: warning: (near initialization for ‘LinkDentryOps.d_revalidate’) [enabled by default] /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c: In function ‘DentryOpRevalidate’: /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c:104:7: warning: passing argument 2 of ‘actualDentry->d_op->d_revalidate’ makes integer from pointer without a cast [enabled by default] return actualDentry->d_op->d_revalidate(actualDentry, nd); ^ /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c:104:7: note: expected ‘unsigned int’ but argument is of type ‘struct nameidata *’ /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.c: In function ‘SetupProcDevice’: /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.c:211:4: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration] controlProcEntry = create_proc_entry(VMBLOCK_CONTROL_DEVNAME, ^ /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.c:211:21: warning: assignment makes pointer from integer without a cast [enabled by default] controlProcEntry = create_proc_entry(VMBLOCK_CONTROL_DEVNAME, ^ /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.c:221:20: error: dereferencing pointer to incomplete type controlProcEntry->proc_fops = &ControlFileOps; ^ /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.c: In function ‘ExecuteBlockOp’: /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.c:285:9: warning: assignment from incompatible pointer type [enabled by default] name = getname(buf); ^ cc1: some warnings being treated as errors /usr/src/linux-3.12.1-gentoo/scripts/Makefile.build:308: recipe for target '/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.o' failed make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /usr/src/linux-3.12.1-gentoo/Makefile:1228: recipe for target '_module_/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only' failed make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-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.1-gentoo' Makefile:130: recipe for target 'vmblock.ko' failed make: *** [vmblock.ko] Error 2 * ERROR: app-emulation/vmware-modules-279.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-279.1/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only' * S: '/var/tmp/portage/app-emulation/vmware-modules-279.1/work' >>> Failed to emerge app-emulation/vmware-modules-279.1, Log file:
Try CFLAGS="-fomit-frame-pointer" emerge -1 vmware-modules.. Not sure why but it worked for me. (In reply to fkhp from comment #4) > this patch works, but still another error here: > > 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
Possible duplicate of bug 488072, as far as I can tell.
*** This bug has been marked as a duplicate of bug 488072 ***
Just to confirm that the patch worked here. Thank you.