[arch-multilib] wine x86_64 crash
Hi Folks, i have a weird problem with wine-multilib: I have wine crashes with certain applications, other applications work. Nothing unusual, I know. But: in a pure 32-bit arch installed in a separate partition on the same machine the same applications is working. Both have wine 1.3.1 and I started with a clean ~/.wine directory. I have put the wine debug output here http://aur.pastebin.com/GqeBAwRt Could this be a missing dependency of lib32? Harvey -- Linux is like a wigwam: No Gates, no Windows and an Apache inside
Do you have binutils-multilib installed? I also had a "crash" (error dialog like Windows has, not a real "where did wine go?" one) when I tryed to start the setup of Office, while other applications ran fine. The problem was the missing binutils-multilib, after installing it the setup started and Office (and thus Wine) seemed to work fine. 2010/9/3 Harvey <harv@gmx.de>:
Hi Folks,
i have a weird problem with wine-multilib: I have wine crashes with certain applications, other applications work. Nothing unusual, I know. But: in a pure 32-bit arch installed in a separate partition on the same machine the same applications is working. Both have wine 1.3.1 and I started with a clean ~/.wine directory.
I have put the wine debug output here http://aur.pastebin.com/GqeBAwRt
Could this be a missing dependency of lib32?
Harvey
-- Linux is like a wigwam: No Gates, no Windows and an Apache inside _______________________________________________ arch-multilib mailing list arch-multilib@archlinux.org http://mailman.archlinux.org/mailman/listinfo/arch-multilib
Am 03.09.2010 11:52, schrieb Harvey:
Hi Folks,
i have a weird problem with wine-multilib: I have wine crashes with certain applications, other applications work. Nothing unusual, I know. But: in a pure 32-bit arch installed in a separate partition on the same machine the same applications is working. Both have wine 1.3.1 and I started with a clean ~/.wine directory.
Is this still an issue with wine 1.3.2? This might be a compiler problem. You can try to build wine 32 bit with -march=i686 instead of -march=x86-64 by overriding CFLAGS in the PKGBUILD and see if it helps. Sadly, gcc 4.5 has some optimization problems that seem to be triggered by building 32 bit binaries with optimizations for x86-64 CPUs. See the recent zlib discussions for details.
Thomas,
Is this still an issue with wine 1.3.2?
Yes, it is. Works in i686, crashes in x86_64
This might be a compiler problem. You can try to build wine 32 bit with -march=i686 instead of -march=x86-64 by overriding CFLAGS in the PKGBUILD and see if it helps.
I put export CFLAGS=-march=i686 in the build function of the wine PKGBUILD but this results in the following config error: configure:3236: gcc -march=i686 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5 conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set Harvey -- Linux is like a wigwam: No Gates, no Windows and an Apache inside
2010/9/5 Harvey <harv@gmx.de>:
I put export CFLAGS=-march=i686 in the build function of the wine PKGBUILD but this results in the following config error:
configure:3236: gcc -march=i686 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5 conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
When building for i686 you (obviously) can't compile Wine64 (the 64 bit version). So you need to comment out the lines which build and package Wine64 so only Wine (32 bits) gets build and packaged.
Am 05.09.2010 15:14, schrieb Robert Meijers:
When building for i686 you (obviously) can't compile Wine64 (the 64 bit version). So you need to comment out the lines which build and package Wine64 so only Wine (32 bits) gets build and packaged.
I confused wine64 with building wine32 on a 64 bit system. Thank you for clarifying. The learning curve is steep here ;-) I commented the parts out like you suggested. I get the following error: configure: error: FreeType 32-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. Is there a package missing that is not mentioned in the PKGBUILD? I used --without-freetype just to test the build The build starts and stops in the middle with the following errors: dib.o: In function `X11DRV_DIB_GetImageBits': dib.c:(.text+0x266e): undefined reference to `XShmGetImage' dib.o: In function `X11DRV_DIB_SetImageBits': dib.c:(.text+0x52f8): undefined reference to `XShmPutImage' dib.o: In function `X11DRV_CreateDIBSection': dib.c:(.text+0xa257): undefined reference to `XShmQueryVersion' dib.c:(.text+0xa2b6): undefined reference to `XShmCreateImage' dib.c:(.text+0xa35a): undefined reference to `XShmAttach' dib.c:(.text+0xa5bf): undefined reference to `XShmCreatePixmap' dib.o: In function `X11DRV_DIB_DeleteDIBSection': dib.c:(.text+0xa7ed): undefined reference to `XShmDetach' window.o: In function `sync_window_region': window.c:(.text+0x489): undefined reference to `XShapeCombineRectangles' window.c:(.text+0x52a): undefined reference to `XShapeCombineRectangles' window.c:(.text+0x580): undefined reference to `XShapeCombineMask' window.o: In function `X11DRV_WindowPosChanged': window.c:(.text+0x5591): undefined reference to `XShapeOffsetShape' collect2: ld gab 1 als Ende-Status zurück winegcc: gcc failed make[1]: *** [winex11.drv.so] Fehler 2 make[1]: Leaving directory `/home/harvey/abs/local/bin32-wine/src/wine-32-build/dlls/winex11.drv' make: *** [dlls/winex11.drv] Fehler 2 I give up :-( Harvey -- Linux is like a wigwam: No Gates, no Windows and an Apache inside
On 06/09/10 21:27, Harvey wrote:
Am 05.09.2010 15:14, schrieb Robert Meijers:
When building for i686 you (obviously) can't compile Wine64 (the 64 bit version). So you need to comment out the lines which build and package Wine64 so only Wine (32 bits) gets build and packaged.
I confused wine64 with building wine32 on a 64 bit system. Thank you for clarifying. The learning curve is steep here ;-)
I commented the parts out like you suggested. I get the following error:
configure: error: FreeType 32-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this.
Is there a package missing that is not mentioned in the PKGBUILD?
I used --without-freetype just to test the build
The build starts and stops in the middle with the following errors:
dib.o: In function `X11DRV_DIB_GetImageBits': dib.c:(.text+0x266e): undefined reference to `XShmGetImage' dib.o: In function `X11DRV_DIB_SetImageBits': dib.c:(.text+0x52f8): undefined reference to `XShmPutImage' dib.o: In function `X11DRV_CreateDIBSection': dib.c:(.text+0xa257): undefined reference to `XShmQueryVersion' dib.c:(.text+0xa2b6): undefined reference to `XShmCreateImage' dib.c:(.text+0xa35a): undefined reference to `XShmAttach' dib.c:(.text+0xa5bf): undefined reference to `XShmCreatePixmap' dib.o: In function `X11DRV_DIB_DeleteDIBSection': dib.c:(.text+0xa7ed): undefined reference to `XShmDetach' window.o: In function `sync_window_region': window.c:(.text+0x489): undefined reference to `XShapeCombineRectangles' window.c:(.text+0x52a): undefined reference to `XShapeCombineRectangles' window.c:(.text+0x580): undefined reference to `XShapeCombineMask' window.o: In function `X11DRV_WindowPosChanged': window.c:(.text+0x5591): undefined reference to `XShapeOffsetShape' collect2: ld gab 1 als Ende-Status zurück winegcc: gcc failed make[1]: *** [winex11.drv.so] Fehler 2 make[1]: Leaving directory `/home/harvey/abs/local/bin32-wine/src/wine-32-build/dlls/winex11.drv' make: *** [dlls/winex11.drv] Fehler 2
I give up :-(
Harvey
I think you'll need lib32-freetype2 and lib32-libxext
Jonathan,
I think you'll need lib32-freetype2 and lib32-libxext
both _are_ installed. There must be another cause. Harvey -- Linux is like a wigwam: No Gates, no Windows and an Apache inside
participants (5)
-
Harvey
-
Jonathan Conder
-
Robert Meijers
-
Rémy Oudompheng
-
Thomas Bächler