Summary: | app-emulation/vmware-modules-1.0.0.17-r1 compile error with CFLAGS+"-mfpmath=sse" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | .:deadhead:. <andreamtp+bz> |
Component: | New packages | Assignee: | Gentoo VMWare Bug Squashers [disabled] <vmware+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anmaster, ellingsw+20942 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.gentoo.org/show_bug.cgi?id=218250#c25 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 218127 | ||
Attachments: |
log of emerge
CFLAGS="-march=pentium-m -O2 -pipe" emerge -1 vmware-modules CFLAGS="-march=pentium-m -O2 -pipe" LDFLAGS="-Wl,--as-needed" emerge -1 vmware-modules CFLAGS="-march=pentium-m -Os -pipe" emerge -1 vmware-modules LDFLAGS="-Wl,--as-needed" emerge -1 vmware-modules vmware-mod.eclass that uses flag-o-matic to strip -mfpmath=sse |
Description
.:deadhead:.
2008-05-24 14:30:42 UTC
Created attachment 154135 [details]
log of emerge
*** This bug has been marked as a duplicate of bug 218250 *** 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:) (In reply to comment #3) > Reopening since this isn't a dupe (I asked the reporter to file a new bug > specficially). Very well. (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 Created attachment 154281 [details]
CFLAGS="-march=pentium-m -O2 -pipe" emerge -1 vmware-modules
Created attachment 154283 [details]
CFLAGS="-march=pentium-m -O2 -pipe" LDFLAGS="-Wl,--as-needed" emerge -1 vmware-modules
Created attachment 154285 [details]
CFLAGS="-march=pentium-m -Os -pipe" emerge -1 vmware-modules
Created attachment 154287 [details]
LDFLAGS="-Wl,--as-needed" emerge -1 vmware-modules
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:) Same bug with 1.0.0.15-r1. I've attached a flag-o-maticated eclass for you :) Created attachment 162148 [details]
vmware-mod.eclass that uses flag-o-matic to strip -mfpmath=sse
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. *** Bug 255205 has been marked as a duplicate of this bug. *** 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 |