Re: Kernel 2.6

Marcelo Bezerra <[email protected]>
Newsgroups gmane.comp.emulators.winex.devel
Message-ID <[email protected]>
It's still a no go. :(

$ wine ./hl.exe -- -console
err:midi:OSS_MidiInit ioctl on midi info for device 0 failed.
fixme:reg:RegFlushKey (68): stub
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel
(0x40352a1c)->(00000000,00000008)
Killed

Just saw it dump core and I found a possible culprit.

#0  0x400e4bd8 in SYSDEPS_CallOnStack () from /opt/wine/lib/libntdll.so

I'll try recompiling wine with -g and see if it helps.

On Thu, 2003-08-07 at 09:21, Bryan Kadzban wrote:
> Marcelo Bezerra wrote:
> > I compile it with this script: 
> > 
> > #!/bin/bash
> > export CFLAGS="-O6 -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse
> > -fno-strict-aliasing"
> > ./configure --prefix=/opt/wine/ --enable-opengl --enable-sdldrv && make
> > depend && make 
> > 
> > I am running debian sid with libc 2.3.1 
> > 
> 
> With new libc versions (2.3 and higher, I believe), NPTL / TLS / whatever
> you want to call it, is an option.  Depends on how you, or whoever built
> your glibc, configured it. 
> 
> But I've run into problems with Wine (no, not WineX, this was quite a long
> time ago) when using CFLAGS optimization any higher than -O2.  You're
> using -O6 (which, BTW, is exactly equivalent to -O3, at least according to
> the article I saw on Freshmeat about optimization a while back, which cited
> the compiler source code), so that might be causing it. 
> 
> It was a bug somewhere around the usage of mmap when loading .dlls, or
> something related to that.  Sorry, it's been a while.  Maybe it was
> actually a bug in the compiler, I don't know (I was using gcc 2.95.3
> still).  Anyway, try backing off to -O2 (keep the other optimization
> flags), and see if that helps at all. 
> 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.