If you try to run cedega under amd64 with emul libraries, it claims : "Your system requires the use of pthreads but the maximum system allowed stack size of 2052 kB may be too small for some games. If you experience problems, try rerunning with "-use-pthreads no" which may help." After searching a bit, this error is throwed because glibc was not compiled with NPTL... And for Cedega, glibc is provided by emul-linux-x86-glibc... which hasn't NPTL enabled : jackmort@gentoo ~ $ /lib32/libc.so.6 GNU C Library 20040808 release version 2.3.4, by Roland McGrath et al. Copyright (C) 2004 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.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5). Compiled on a Linux 2.4.22 system on 2004-08-16. 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 Thread-local storage support included. For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>. jackmort@gentoo ~ $ So could it be possible to get an updated (or another) version with NPTL ? Reproducible: Always Steps to Reproduce:
Right. I guess that glibc is *supposed* to be doing this, but I'll be damned if I can get it to build, correctly. From what I read, in the emul-linux-x86-glibc-1000 ebuild, glibc should be providing what the emul-linux-* package did. Unfortunately, I can't get glibc to build the necessary 32-bit stuff. What USE/FEATUREs do I need to have enabled in order to get this to work? In the meantime, I've got the emul-linux-x86-glibc-1000 version masked. I presume that someone is trying to get this to work! Cheers, - slackerman
One further comment.... if you switch your make.profile link to /usr/portage/profiles/default-linux/amd64/2005.0, you should be able to compile an NPTL version of glibc for *both* amd64 and x86. Keep in mind that you need to have the emul-linux-x86-glibc-1.1 installed... (Do NOT unmerge it before trying to build glibc!) Ok... just finished the emerge. Everything appears to work just fine, and, at least, it *looks* like the 32-bit apps (OpenOffice and firefox-bin) load a bit faster... Cheers, - Brendan
Thnaks ! After some problems getting 2005.0 up and running, 32bits glibc is now NPTL !
I was testing with emul-linux-x86-glibc-2.3.4.20041102.ebuild and pthreads test in point2play works but cedega segfaults. Just a heads up.
as comment 2 already says: glibc also builds 32bit libs in 2005.0