Since this flag isn't considered as quite too bad afaik, I was happily using it until now that I noticed wine doing strange things. Setups (of any programs) wouldn't work, also starting Firefox from an existing (copied over from a Windows VM) install dir simply wouldn't work with error msgs like that: err:module:attach_process_dlls "xul.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\andreas\\wine\\drive_d\\firefox\\firefox.exe" failed, status c0000005 Trying to start any Setup.exe: wine: Unhandled page fault on read access to 0xffffffff at address 0x7e93ce50 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0xffffffff in 32-bit code (0x7e93ce50). Steps to reproduce: CFLAGS="${CFLAGS} -ftree-vectorize" and compile wine with it. Reproducible: always. Also: Do not worry about that -finline-functions flag here in emerge --info, as I tested wine with clean CFLAGS settings. Additionally, it works with -finline-functions, I tested this in addition just now. wine has now got its own /etc/portage/env entry. That's how I build wine: [ebuild R ] app-emulation/wine-1.1.28 USE="X alsa cups jpeg lcms ncurses opengl png samba ssl xml (-dbus) -esd -gecko (-gnutls) (-hal) -jack (-ldap) (-nas) -oss (-scanner) -test -win64 -xcomposite -xinerama" 0 kB emerge --info: Portage 2.2_rc40 (default/linux/amd64/2008.0/desktop, gcc-4.4.2-pre9999, glibc-2.10.1-r0, 2.6.31-rc8-git1 x86_64) ================================================================= System uname: Linux-2.6.31-rc8-git1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L9400_@_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 29 Aug 2009 14:00:01 +0000 app-shells/bash: 3.2_p48-r1 dev-java/java-config: 2.1.9 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -finline-functions -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -finline-functions -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://de-mirror.org/distro/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://gentoo.osuosl.org/ ftp://ftp.heanet.ie/pub/gentoo/ http://mirror.gentoo.no/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://open-systems.ufl.edu/mirrors/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages"
using -ftree-vectorize on x86 system is a really bad idea. dont do it. *** This bug has been marked as a duplicate of bug 270120 ***