On Sun, Nov 06, 2005 at 05:29:02AM +0100, zhilla wrote:
before submitting this as bug, some advice please... on slackware 10.2 (gcc 3.3.6) i compile wine cvs, and it has worked so far. last version working is around or exactly 0.9. now, it compiles/installs fine, but any program, including starting just "wine", "notepad" or anything else, ends up quickly with "Segmentation fault". this is my simple custom buildscript...
i can confirm this. i use -mtune=athlon-tbird but somewhere after between 20050930 and CVS-current this "error" slipped into wine. i can not easily test against the patch, that did this to wine. so far the funny thing i came around: WINEDEBUG=+all wine and everything works.
i tried gdb wine-pthread. and it seems to crash somewhere in the locale detection - but the stack is smashed there allready. i will try the "trick" with the non-athlon cflags also on my end and report back.
oh well and btw: gcc 4.0.2.pre (or so) is my compiler.
PKGDATE=`date +%Y%m%d` && CHOST="i686-pc-linux-gnu" \ CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx" \ CXXFLAGS=$CFLAGS \ ./configure \ --disable-debug && \ make && make depend && \ checkinstall -S --pkgname=wine --pkgarch=athlonxp --pkgversion=$PKGDATE -y also, tried removing ~/.wine and creating new one, it starts automatic configure but compiled wine also segfaults.
then, changed processor optimizations to much more conservative "-O2 -march=i486 -mcpu=i686" and it it works like a charm. athlon-xp optimizatins used in the first place are from http://gentoo-wiki.com/Safe_Cflags . if gentoo people claim these are safe cflags, and it worked until couple days ago, then something is definetly wrong, right?