Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223449 - app-emulation/vmware-modules-1.0.0.17-r1 compile error with CFLAGS+"-mfpmath=sse"
Summary: app-emulation/vmware-modules-1.0.0.17-r1 compile error with CFLAGS+"-mfpmath=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
: 255205 (view as bug list)
Depends on:
Blocks: kernel-2.6.25
  Show dependency tree
 
Reported: 2008-05-24 14:30 UTC by .:deadhead:.
Modified: 2009-11-13 16:29 UTC (History)
2 users (show)

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


Attachments
log of emerge (build.log,5.41 KB, text/plain)
2008-05-24 14:32 UTC, .:deadhead:.
Details
CFLAGS="-march=pentium-m -O2 -pipe" emerge -1 vmware-modules (O2_noSSE_LD_O1.txt,22.87 KB, text/plain)
2008-05-25 18:38 UTC, .:deadhead:.
Details
CFLAGS="-march=pentium-m -O2 -pipe" LDFLAGS="-Wl,--as-needed" emerge -1 vmware-modules (O2_noSSE_noLD_O1.txt,21.01 KB, text/plain)
2008-05-25 18:39 UTC, .:deadhead:.
Details
CFLAGS="-march=pentium-m -Os -pipe" emerge -1 vmware-modules (Os_noSSE_LD_O1.txt,21.70 KB, text/plain)
2008-05-25 18:41 UTC, .:deadhead:.
Details
LDFLAGS="-Wl,--as-needed" emerge -1 vmware-modules (Os_SSE_noLD_O1.txt,7.06 KB, text/plain)
2008-05-25 18:45 UTC, .:deadhead:.
Details
vmware-mod.eclass that uses flag-o-matic to strip -mfpmath=sse (vmware-mod.eclass,3.43 KB, text/plain)
2008-08-03 19:38 UTC, Christian Schmidt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description .:deadhead:. 2008-05-24 14:30:42 UTC
Installing vmware-modules-1.0.0.17-r1 on a x86 machine with kernel 2.6.25-gentoo-r4 you get this error:

>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work ...
 * Preparing vmblock module
Using 2.6.x kernel build system.
make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r4'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/block.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/os.h:35,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/block.c:26:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/block.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r4'
make: *** [vmblock.ko] Error 2

In the url box you can find another user with the same error, using another .25 kernel.

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r4-megadeth i686)
=================================================================
System uname: 2.6.25-gentoo-r4-megadeth i686 Intel(R) Pentium(R) M processor 1400MHz
Timestamp of tree: Sat, 24 May 2008 10:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1     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 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"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe -mfpmath=sse"
CG_COMPILER_EXE="/usr/bin/cgc"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-march=pentium-m -Os -pipe -mfpmath=sse"
DCCC_PATH="/usr/lib/distcc/bin"
DISPLAY=":0"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-tDv --with-bdeps y"
EMERGE_WARNING_DELAY="10"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/curl --retry 5 -o ${DISTDIR}/${FILE} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://distfiles.gentoo.org"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info"
INPUT_DEVICES="evdev mouse keyboard"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KERNEL="linux"
LANG="it_IT.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="it"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAKEOPTS="-j2"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/opt/sun-jdk-1.4.2.16/man:/etc/java-config/system-vm/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man"
MM_CHARSET="UTF-8"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.16/bin:/opt/sun-jdk-1.4.2.16/jre/bin:/opt/sun-jdk-1.4.2.16/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_IUSE="^(alpha|alsa_cards_aoa|alsa_cards_aoa-fabric-layout|alsa_cards_aoa-onyx|alsa_cards_aoa-soundbus|alsa_cards_aoa-soundbus-i2s|alsa_cards_aoa-tas|alsa_cards_aoa-toonie|alsa_cards_armaaci|alsa_cards_at91-soc|alsa_cards_at91-soc-eti-b1-wm8731|alsa_cards_au1x00|alsa_cards_harmony|alsa_cards_powermac|alsa_cards_pxa2xx-i2sound|alsa_cards_pxa2xx-soc|alsa_cards_pxa2xx-soc-corgi|alsa_cards_pxa2xx-soc-poodle|alsa_cards_pxa2xx-soc-spitz|alsa_cards_pxa2xx-soc-tosa|alsa_cards_sa11xx-uda1341ts|alsa_cards_sun-amd7930|alsa_cards_sun-cs4231|alsa_cards_sun-dbri|altivec|amd64|aqua|arm|bmp|bmpx|bootstrap|build|coreaudio|crosscompile_opts_.*|elibc_.*|elibc_Darwin|elibc_DragonFly|elibc_FreeBSD|elibc_NetBSD|elibc_OpenBSD|elibc_glibc|elibc_uclibc|emul-linux-x86|hppa|ia64|ibm|infopipe|kernel_.*|kernel_Darwin|kernel_FreeBSD|kernel_linux|m68k|mips|mplayer-bin|multilib|n32|n64|pam_console|pbbuttonsd|ppc|ppc64|ppcsha1|s390|selinux|sh|sparc|sparc-fbsd|uclibc|ultra1|userland_.*|userland_BSD|userland_Darwin|userland_GNU|video_cards_impact|video_cards_newport|video_cards_sunbw2|video_cards_suncg14|video_cards_suncg3|video_cards_suncg6|video_cards_sunffb|video_cards_sunleo|video_cards_suntcx|vis|x86|x86-fbsd|xmms)$"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_USE="elibc_glibc kernel_linux userland_GNU x86"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PWD="/root"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/curl -C - --retry 5 -o ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.16/bin:/opt/sun-jdk-1.4.2.16/jre/bin:/opt/sun-jdk-1.4.2.16/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/bash"
SHLVL="1"
STAGE1_USE="nptl nptlonly unicode"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
USE="7zip X a52 aac acpi alsa asf audiofile bash-completion branding bzip2 cairo cddb cdparanoia cdr cpudetection cracklib cups curl dbus dga djvu dri dts dvd dvdr dvdread encode exif fam ffmpeg firefox flac foomaticdb ftp geoip gif gmp gpm gs gtk gtk2 hal icq idn ieee1394 imagemagick imap jabber java javascript jbig jpeg jpeg2k kde kdeenablefinal lcms libsamplerate logitech-mouse mad maildir matroska mmx mng mp3 mp4 mpeg mplayer musepack musicbrainz ncurses nls nocxx nptl nptlonly nsplugin nvidia offensive ogg openal openexr opengl oscar pam pcmcia pdf plotutils png posix ppds qt3 qt4 quicktime readline real sasl sdl sndfile speex sse sse2 ssl svg theora threads tiff truetype unicode usb utempter vcd vorbis wavpack wifi win32codecs wma wmf x264 x86 xine xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1  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 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="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nv nvidia"
VMHANDLE="sun-jdk-1.4"
XAUTHORITY="/root/.xauthEaTc9S"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
_="/usr/bin/emerge"
Comment 1 .:deadhead:. 2008-05-24 14:32:07 UTC
Created attachment 154135 [details]
log of emerge
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-24 17:00:29 UTC

*** This bug has been marked as a duplicate of bug 218250 ***
Comment 3 Mike Auty (RETIRED) gentoo-dev 2008-05-25 10:55:11 UTC
Reopening since this isn't a dupe (I asked the reporter to file a new bug specficially).

Ok, so Thomas, in this one you're back to gentoo-sources whilst on the previous bug (bug 218250) you were on tux-on-ice.  I'm going to try and help with the gentoo sources one since that's easier for us to support.

I currently have 2.6.25-gentoo-r4 built with vmware-modules-1.0.0.17-r1, so it's possible to get them to compile together nicely, we just need to figure out what's going on with your system.

I noticed from your info that you've got:

CFLAGS="-march=pentium-m -Os -pipe -mfpmath=sse"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

Could you please try compiling it again with the following:

CFLAGS="-march=pentium-m -O2 -pipe"
LDFLAGS="-Wl,--as-needed"

And let me know if you still get the same errors?  Thanks...  5:)
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-25 16:59:02 UTC
(In reply to comment #3)
> Reopening since this isn't a dupe (I asked the reporter to file a new bug
> specficially).

Very well.
Comment 5 .:deadhead:. 2008-05-25 18:37:38 UTC
(In reply to comment #3)
> Could you please try compiling it again with the following:
> 
> CFLAGS="-march=pentium-m -O2 -pipe"
> LDFLAGS="-Wl,--as-needed"
> 
> And let me know if you still get the same errors?  Thanks...  5:)

Cool! It works now.

I tried all the possibile permutations and what I discovered is that -mfpmath=sse on my pentium-m create the problem.

This is my proc/cpuinfo

cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 9
model name      : Intel(R) Pentium(R) M processor 1400MHz
stepping        : 5
cpu MHz         : 600.000
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe bts est tm2
bogomips        : 1199.41
clflush size    : 64

Comment 6 .:deadhead:. 2008-05-25 18:38:56 UTC
Created attachment 154281 [details]
CFLAGS="-march=pentium-m -O2 -pipe" emerge -1 vmware-modules
Comment 7 .:deadhead:. 2008-05-25 18:39:32 UTC
Created attachment 154283 [details]
CFLAGS="-march=pentium-m -O2 -pipe"  LDFLAGS="-Wl,--as-needed" emerge -1 vmware-modules
Comment 8 .:deadhead:. 2008-05-25 18:41:17 UTC
Created attachment 154285 [details]
CFLAGS="-march=pentium-m -Os -pipe" emerge -1 vmware-modules
Comment 9 .:deadhead:. 2008-05-25 18:45:50 UTC
Created attachment 154287 [details]
LDFLAGS="-Wl,--as-needed" emerge -1 vmware-modules
Comment 10 Mike Auty (RETIRED) gentoo-dev 2008-05-25 23:45:40 UTC
Ok, I'm going to leave this open until I figure out how to use filter-flags to remove the offending option.  I've updated the summary to help other people track this down too.  Glad you got it working...  5:)
Comment 11 Christian Schmidt 2008-08-03 19:37:32 UTC
Same bug with 1.0.0.15-r1. I've attached a flag-o-maticated eclass for you :)
Comment 12 Christian Schmidt 2008-08-03 19:38:39 UTC
Created attachment 162148 [details]
vmware-mod.eclass that uses flag-o-matic to strip -mfpmath=sse
Comment 13 Mike Auty (RETIRED) gentoo-dev 2009-01-10 12:27:00 UTC
Sorry for the long delay.  This should now be FIXED in the main tree.  Please let me know if there are any problems building against vmware-modules-1.0.0.15-r2.
Comment 14 Mike Auty (RETIRED) gentoo-dev 2009-01-20 09:27:25 UTC
*** Bug 255205 has been marked as a duplicate of this bug. ***
Comment 15 Steven Elling 2009-11-13 00:06:06 UTC
I'm getting the same error with vmware-modules-1.0.0.15-r2 on amd64 with 2.6.30-gentoo-r5.

I filtered out '-mfpmath=sse' from CFLAGS & CXXFLAGS via /etc/portage/bashrc to make sure it wasn't being used but it did not help.


>>> Emerging (1 of 1) app-emulation/vmware-modules-1.0.0.15-r2
...
 * Removing -mfpmath=sse from CFLAGS & CXXFLAGS for vmware-modules-1.0.0.15-r2

 * Preparing vmmon module                                                                                                                   
make --silent -j4 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.30-gentoo-r5/build                                                                                 
Using 2.6.x kernel build system.                                                                                                            
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.                                                           
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/x86.h:21,                         
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.h:15,                          
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:53:                          
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined      
In file included from /usr/src/linux-2.6.30-gentoo-r5/arch/x86/include/asm/apic.h:11,                                                       
                 from /usr/src/linux-2.6.30-gentoo-r5/arch/x86/include/asm/smp.h:13,                                                        
                 from include/linux/smp.h:36,                                                                                               
                 from include/linux/topology.h:33,                                                                                          
                 from include/linux/gfp.h:7,                                                                                                
                 from include/linux/kmod.h:22,                                                                                              
                 from include/linux/module.h:13,                                                                                            
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:16:                          
/usr/src/linux-2.6.30-gentoo-r5/arch/x86/include/asm/apicdef.h:133:1: warning: this is the location of the previous definition              
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/vmci_kernel_defs.h:27,            
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./common/vmciContext.h:20,                  
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.h:22,                          
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:54:                          
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait'                                                                                                                                      
include/linux/poll.h:67: error: previous declaration of 'poll_initwait' was here                                                            
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c: In function 'LinuxDriver_Open':                   
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:579: error: 'struct task_struct' has no member named 'euid'
...


emerge --info

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 09 Nov 2009 01:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -finline-functions -mmmx -msse -msse2 -msse3 -mfpmath=sse -w -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/X11/*/app-defaults /etc/X11/app-defaults /etc/X11/gdm /etc/X11/rstart /etc/X11/rstart/rstartd.real /etc/X11/serverconfig /etc/X11/starthere /etc/X11/sysconfig /etc/X11/xdm /etc/X11/xdm/chooser /etc/X11/xorg.conf.example /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gnome-vfs-2.0/modules /etc/hotplug /etc/init.d /etc/openldap/schema /etc/revdep-rebuild /etc/sandbox.d /etc/sound/event /etc/splash /etc/terminfo /etc/udev/rules.d /usr/X11R6/lib/X11/xkb /usr/lib/X11 /usr/share/texmf"
CXXFLAGS="-O2 -march=nocona -finline-functions -mmmx -msse -msse2 -msse3 -mfpmath=sse -w -pipe"
DISTDIR="/var/portage/autofs/gentoo/distfiles/"
FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS=" http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="--silent -j4"
PKGDIR="/var/portage/autofs/gentoo/packages/nocona/"
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/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amd64 arts artswrappersuid asf audiofile berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt cups curl dbus dga divx4linux dlloader dri dts dv dvd dvdr dvdread emboss encode evo exif expat fam ffmpeg firefox flac gd gdbm gif gimpprint glut gmp gpm gtk gtk2 hal iconv ieee1394 ipv6 irmc java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms ldap libnotify live lm_sensors loop-aes mad mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib musicbrainz ncurses network nptl nptlonly nsplugin offensive ogg opengl openmp pam pam_timestamp pcre pdf perl pmu png ppds pppd qt qt3support qt4 quicktime rdesktop readline reflection samba scanner sdl sensord session slp smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcltk tcpd theora threads thunar tiff truetype unicode usb userlocales vcd visualization vorbis x264 xcb xine xml xml2 xorg xprint xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS