Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174338 - app-emulation/wine doesn't work correctly with GCC 4.1.1
Summary: app-emulation/wine doesn't work correctly with GCC 4.1.1
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 20:22 UTC by Albert Zeyer
Modified: 2011-10-30 19:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Zeyer 2007-04-12 20:22:18 UTC
It takes me very much time to determit this problem.

In detail, I was trying out OmniPage, but it seems that the problem isn't realy related only to this application (none other application I tried work at that time). In all versions of Wine, I got misbehaviour by the comdlg32 (the open/save dialog).

The different comdlg32/Wine versions (always compiled with GCC 4.1.1):

Builtin-version (Wine versions < ~0.9.15):
Firstly, if I click on a file, the filename isn't put into the filename textbox. Okay, if I write down the filename manually, the opening in Omnipage works. If I try to save it now, I got similar problems. But there are also other problems. It seems, that Omnipage tries to dertermit, which filetype I selected in the save-under-dialog, but it has some troubles with it. At the end, I got an 'error 6' by OmniPage and that's all (the file wasn't written).

Builtin-version (Wine versions >= ~0.9.15):
The open-dialog behaves like above, but after clicking on 'save', the application crashes immediately.
(Why the hell is the more recent version more unstable?)

Native-versions (tried Win95, Win2000, WinXP SP0, WinXP SP2) varies between:
- The application doesn't start. (Most common.)
- The application crashes after clicking on 'open' or 'save'.
- Save/Open dialog behaves similar to the builtin-version of comdlg32.

I tried out the following wine-versions (all these compiled with GCC 4.1.1):
     Fri Jun  9 23:23:52 2006 >>> app-emulation/wine-0.9.15
     Sat Jul 22 05:29:52 2006 >>> app-emulation/wine-0.9.17
     Fri Aug 11 00:07:50 2006 >>> app-emulation/wine-0.9.18
     Sat Sep  9 17:59:42 2006 >>> app-emulation/wine-0.9.20
     Thu Sep 14 23:56:25 2006 >>> app-emulation/wine-0.9.21
     Fri Sep 29 14:47:31 2006 >>> app-emulation/wine-0.9.22
     Sun Oct 15 06:40:07 2006 >>> app-emulation/wine-0.9.23
     Sun Dec 24 22:14:23 2006 >>> app-emulation/wine-0.9.28
     Sun Jan 14 20:45:09 2007 >>> app-emulation/wine-0.9.22
     Sun Jan 21 16:09:04 2007 >>> app-emulation/wine-0.9.17
     Sun Jan 21 21:42:32 2007 >>> app-emulation/wine-0.9.15
     Mon Feb 19 02:51:44 2007 >>> app-emulation/wine-0.9.13
     Mon Feb 19 17:28:09 2007 >>> app-emulation/wine-0.9.31
     Thu Mar 22 03:51:18 2007 >>> app-emulation/wine-0.9.33
     Mon Apr  2 19:21:59 2007 >>> app-emulation/wine-0.9.29
     Mon Apr  2 20:29:29 2007 >>> app-emulation/wine-9999
     Mon Apr  9 20:12:32 2007 >>> app-emulation/wine-0.9.15
     Wed Apr 11 13:47:53 2007 >>> app-emulation/wine-0.9.13
     Wed Apr 11 14:30:59 2007 >>> app-emulation/wine-0.9.11
     Wed Apr 11 15:38:33 2007 >>> app-emulation/wine-0.9.9
     Wed Apr 11 16:32:52 2007 >>> app-emulation/wine-0.9.8-r1
     Wed Apr 11 17:54:29 2007 >>> app-emulation/wine-0.9.5-r1
     Wed Apr 11 20:48:58 2007 >>> app-emulation/wine-0.9.34
     Wed Apr 11 22:28:50 2007 >>> app-emulation/wine-0.9.10

The strange thing was, some version between 0.9.5 and 0.9.15 has worked once.

Then I got the idea that it is perhaps GCC related and I installed again GCC 3.4.6 and tried Wine 0.9.10 with it.
The result: It works like it has already once, I can save now the file!
There is still the issue, that I have to type the filename manually, but this is now a minor problem. (But why is it? Do others have this problem too?)

After this, I tried Wine 0.9.34 with GCC 3.4.6, but this results in the same behavior as described above (got 'error 6' by OmniPage).

So I will stay now with a Wine 0.9.10, compiled by GCC 3.4.6.
Comment 1 Albert Zeyer 2007-04-12 20:25:04 UTC
emerge --info:
(Btw., I also tried with ccache disabled, seems to make no difference.)

Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.5-r0, 2.6.17.6 i686)
=================================================================
System uname: 2.6.17.6 i686 AMD Sempron(tm) 2200+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 11 Apr 2007 16:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo     ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bittmp 3dnow 3dnowext 7zip X a52 aac acpi aiglx alsa amazon ao applet artworkextra asf audiofile automount avi bash-completion beagle bzip2 cairo cdda cddb cdr cdrom cle266 corba crypt cups curl dbus dedicated dga divx4linux dlopen dlz dmi dmx dri dts dv dvd dvdr dvdread dvi ecc editor emacs encode erandom evolution exif fame ffmpeg firefox flac font-server foomaticdb fortran fpx freetype ftp gcj gcl german gif gimp glade glibc-omitfp glitz glut glx gnome gnome-print gnomecanvas gnomedb gphoto2 graphviz gs gtk gtk2 guile hal i8x0 icons icq id3 ifp imagemagick imlib imlib2 insecure-drivers ipod jack java javascript jbig jpeg jpeg2k jrtplib jumpplay justify kerberos lame latex lcms lha linuxthreads-tls live lzo mad matroska mikmod mjpeg mmx mmxext mng motif mozilla mp3 mp4 mpeg mpeg2 mpeg4 mplayer mtp multislot musepack nautilus ncurses network njb nls nntp nptl nptlonly objc ogg oggvorbis openal opengl oss pam pdf perl png posix ppds profile python qt quicktime rar rdesktop readline real realmedia reiser4 reiserfs rle rtc rtsp samba scanner scp screen sdl server session sharedext sharedmem slang slp sockets socks5 sounds speex spell sse ssl startup-notification subp subtitles svg t1lib tcltk teamarena tetex tga theora threads tiff timidity tools truetype truetype-fonts type1 type1-fonts unicode usb utf8 vcd vidix vlm vorbis win32codecs wmf wxwindows x264 x86 xanim xattr xcomposite xemacs xine xml2 xorg xosd xpm xprint xscreensaver xv xvid yiff yv12 zip 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-12 21:05:53 UTC
Stop arbitrarily mixing GCC versions. Reopen if you still have problems after you've followed the upgrading guide:

http://www.gentoo.org/doc/en/gcc-upgrading.xml
Comment 3 Albert Zeyer 2007-04-12 21:37:47 UTC
GCC 3.4.6 wasn't used and even not installed before. (Last time it was is almost one year ago.) The whole system uses GCC 4.1.1 since it is stable in portage.

I only reemerged it to test Wine with GCC 3.4.6.
Comment 4 Yury Zhuravlev 2009-08-31 22:21:31 UTC
I have this problem too.
Wine not work corectly on gcc 4.4.0,4.4.1.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-10-30 19:03:18 UTC
Time to close this as stable toolchain is at GCC 4.5.x and 4.1.x is hardly intresting anymore.