Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1373

Summary: Wine ebuild using optimizations
Product: Gentoo Linux Reporter: Alexander Gretencord <arutha>
Component: Current packagesAssignee: Dan Armak (RETIRED) <danarmak>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Gretencord 2002-03-28 12:18:09 UTC
The wine ebuild uses the CFLAGS and CXXFLAGS form make.conf as many other 
ebuilds. That's a show-stopper though. Compiled with my "-mcpu=i686 
-march=i686 -O3 -pipe" wine seems to be working at first but when I try to 
install programs wine complains about bad EXE files etc. Without the 
optimizations everything runs just fine. I suggest to make an unset CFLAGS and 
unset CXXFLAGS in the wine ebuild as I did in my portage tree.
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-03-29 10:29:29 UTC
OK, I've committed a new revision that unsets CFLAGS and CXXFLAGS prior to running configure. 
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2002-03-29 15:42:38 UTC
For me, it caused misterious "can't exec starcraft.exe. error=21" at 
CFLAGS="-march=i686 -mcpu=i586 -O2", which is not that agressive at all.