app-emulation/vmware-modules-1.0.0.26 successfully compiled with xen-sources-2.6.18-r12, but failed on xen-sources-2.6.31-r14 and xen-sources-2.6.32-r1 kernels. I need vmware with xen, because I have old hardware without hardware virtualization and want to run windows domain in parallel with xen domU's (in paravirt mode). When emerging =app-emulation/vmware-modules-1.0.0.26 with linux-2.6.31-xen-r14 * Preparing vmmon module make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux Using 2.6.x kernel build system. make -C /usr/src/linux SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory `/usr/src/linux-2.6.31-xen-r14' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Updating /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/Makefile.xen CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/driver.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/driverLog.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.o /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c: In function ‘HostIF_APICInit’: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c:2692: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c:2692: error: (Each undeclared identifier is reported only once /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c:2692: error: for each function it appears in.) /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c: In function ‘HostIF_APIC_ID’: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c:2737: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.31-xen-r14' make: *** [vmmon.ko] Error 2 * ERROR: app-emulation/vmware-modules-1.0.0.26 failed: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3872: Called linux-mod_src_compile * environment, line 2969: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * * If you need support, post the output of 'emerge --info =app-emulation/vmware-modules-1.0.0.26', * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-modules-1.0.0.26'. * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/environment'. * S: '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work' >>> Failed to emerge app-emulation/vmware-modules-1.0.0.26, Log file: >>> '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/build.log' * Messages for package app-emulation/vmware-modules-1.0.0.26: * ERROR: app-emulation/vmware-modules-1.0.0.26 failed: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3872: Called linux-mod_src_compile * environment, line 2969: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * * If you need support, post the output of 'emerge --info =app-emulation/vmware-modules-1.0.0.26', * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-modules-1.0.0.26'. * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/environment'. * S: '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work' * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. (see build_2631.log for more info) When emerging =app-emulation/vmware-modules-1.0.0.26 with linux-2.6.32-xen-r1 * Preparing vmmon module make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux Using 2.6.x kernel build system. make -C /usr/src/linux SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory `/usr/src/linux-2.6.32-xen-r1' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Updating /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/Makefile.xen CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/driver.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/driverLog.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.o /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c: In function ‘HostIF_APICInit’: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c:2692: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c:2692: error: (Each undeclared identifier is reported only once /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c:2692: error: for each function it appears in.) /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c: In function ‘HostIF_APIC_ID’: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.c:2737: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only/linux/hostif.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work/vmmon-only] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.32-xen-r1' make: *** [vmmon.ko] Error 2 * ERROR: app-emulation/vmware-modules-1.0.0.26 failed: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3872: Called linux-mod_src_compile * environment, line 2969: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * * If you need support, post the output of 'emerge --info =app-emulation/vmware-modules-1.0.0.26', * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-modules-1.0.0.26'. * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/environment'. * S: '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work' >>> Failed to emerge app-emulation/vmware-modules-1.0.0.26, Log file: >>> '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/build.log' * Messages for package app-emulation/vmware-modules-1.0.0.26: * ERROR: app-emulation/vmware-modules-1.0.0.26 failed: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3872: Called linux-mod_src_compile * environment, line 2969: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * * If you need support, post the output of 'emerge --info =app-emulation/vmware-modules-1.0.0.26', * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-modules-1.0.0.26'. * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/temp/environment'. * S: '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.26/work' (see build_2632.log for more info) Reproducible: Always Steps to Reproduce: 1. emerge xen-sources-2.6.31-r14 or xen-sources-2.6.32-r1 2. ln -s /usr/src/linux-{2.6.31-xen-r14,2.6.32-xen-r1} /usr/src/linux 3. copy attached .cofig file to /usr/src/linux 4. cd /usr/src/linux; make && make modules 5. emerge =vmware-modules-1.0.0.26 (emerge info from more recent machine, I use this machine, because kernel compile time more short on it) emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-xen-r10-roger17-xen x86_64) ================================================================= System uname: Linux-2.6.31-xen-r10-roger17-xen-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-1.12.13 Timestamp of tree: Sun, 23 May 2010 03:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.0_p37 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.4-r1 dev-python/pycrypto: 2.1.0_beta1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.1.2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -mtune=core2 -fomit-frame-pointer -funroll-loops -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -mtune=core2 -fomit-frame-pointer -funroll-loops -pipe" DISTDIR="/var/tmp/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 berkdb bzip2 cli cracklib crypt curl cxx dri gdbm hvm iconv ioemu iproute2 mmx modules mudflap multilib ncurses nls nonfsv4 nptl nptlonly openmp pam pcre perl pppd python readline reflection screen sdl spl sse sse2 ssl sysfs threads unicode vnc xorg zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 232577 [details] build.log when emerging vmware-modules with xen-sources-2.6.31-r14
Created attachment 232579 [details] .config used to build kernel xen-sources-2.6.31-r14
Created attachment 232581 [details] build.log when building vmware-modules with kernel xen-sources-2.6.32-r1
Created attachment 232583 [details] .config file for kernel xen-sources-2.6.32-r1
For the reference: Bugs 274529, 317583
1.0.0.26 is replaced by vmware-modules-235 (238.3 is the latest) Could you try those?