Re: wine; Glibc-NPTL, possible?


Forum: DSL Ideas and Suggestions
Topic: Re: wine; Glibc-NPTL, possible?
started by: stupid_idiot

Posted by stupid_idiot on July 22 2007,12:07
Code Sample
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
It will most likely crash. Please upgrade to a glibc with NPTL support.

I do not think this warning is benign - i.e. It affects the running of certain apps, seriously.

Tested with WINE versions:
0.9.37 (1 month ago)
0.9.41 (Just today)

So far, I have only one clear example:
Mozilla Firefox 2.0.0.3 win32
WINE on Debian Sid (Glibc 2.5 with NPTL): Runs fine, to the extent that Flash Player 9 installs and plays Flash videos (youtube.com) successfully.
WINE on DSL (Glibc 2.3.2 without NPTL): Timeout with all sites.

We can see Glibc's configuration by running (literally):
`/lib/libc.so.6`

Debian Sid:
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright � 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.3 20070601 (prerelease) (Debian 4.1.2-12).
Compiled on a Linux >>2.6.20.11<< system on 2007-06-13.
Available extensions:
       crypt add-on version 2.1 by Michael Glad and others
       GNU Libidn by Simon Josefsson
       GNU libio by Per Bothner
       NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
       Native POSIX Threads Library by Ulrich Drepper et al
       BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.


DSL:
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright � 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.2 20030831 (Debian prerelease).
Compiled on a Linux 2.4.19 system on 2003-09-12.
Available extensions:
       GNU libio by Per Bothner
       crypt add-on version 2.1 by Michael Glad and others
       linuxthreads-0.10 by Xavier Leroy
       BIND-8.2.3-T5B
       libthread_db work sponsored by Alpha Processor Inc
       NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <[email protected]>.

Posted by curaga on July 22 2007,14:17
NPTL needs a 2.6 kernel (compiled with at least gcc 3), no way around that..
Posted by stupid_idiot on July 23 2007,23:02
I've seen RHEL kernels with version strings such as '2.4.2x-blabla-nptl' so from this I gather that NPTL on kernel 2.4 is at least possible in RHEL. I don't know whether NPTL support is in the mainline kernel - is it supported in the latest 2.4.34?
Posted by jpeters on July 24 2007,01:15
Quote (stupid_idiot @ July 22 2007,08:07)
Code Sample
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
It will most likely crash. Please upgrade to a glibc with NPTL support.

I do not think this warning is benign - i.e. It affects the running of certain apps, seriously.

I was wondering about this myself, when I tried out wine0.9.4x.uci that you submitted, and went looking around for some way to get an updated glibc with NPTL somewhere. I just read that NPTL wasn't supported before 2.6 (wiki), as Curaga noted.

Posted by curaga on July 24 2007,05:43
Well, Redhat kernels are very far from vanilla ones.. They patch and backport them so much it would actually be stabler to use newer vanilla ones..
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.