View previous topic :: View next topic |
Author |
Message |
redwing26 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Jan 2006 Posts: 156 Location: movl "scotland",%ebp
|
Posted: Sat Feb 04, 2006 8:57 pm Post subject: using 2.6.15-gentoo-r1 and need pthread stack size<SOLVED |
|
|
Hi Im using cedega and when I start it .......it informs me that I have pthreads but there stack size is to small ....how can I increase the pthread stack size?
Thanks
David
Last edited by redwing26 on Tue Feb 07, 2006 7:02 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
redwing26 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Jan 2006 Posts: 156 Location: movl "scotland",%ebp
|
Posted: Sun Feb 05, 2006 11:07 pm Post subject: |
|
|
just went on gentoo irc and got told to do make menuconfig /stack .......sounds like bs though can someone tell me how I increase my pthread stack size please? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
redwing26 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Jan 2006 Posts: 156 Location: movl "scotland",%ebp
|
Posted: Mon Feb 06, 2006 7:46 pm Post subject: |
|
|
someone told me to alter /etc/limits but that doesnt alter my pthread stack size from the default 2048 how do I alter my pthread stack size? why is there no documentation on this? and why is the default so small? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
redwing26 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Jan 2006 Posts: 156 Location: movl "scotland",%ebp
|
Posted: Mon Feb 06, 2006 8:53 pm Post subject: pthread stacksize default sucks for cedega |
|
|
After much more reading it appears the correct way to alter the pthread stack size is to compile glibc and pass the pthread stack size to the configure script
what I hope to do is hack the glibc ebuild and put the line in configure to actually set a pthread stack size rather than accepting the default
how would I go about doing this??
./configure pthread stack size = 4096
^ I know thats not the command could someone tell me what is as at least from what ive read the only way to alter the default pthread stack size is to recompile glibc setting the pthread flag .........I would have apprecaite if someone could either correct me if there is a better way or at least make sure when they are giving me info to alter files that it is to actually ALTER my CURRENT PTHREAD STACKSIZE and not just referring me to pages that get me to do stuff that turns out to be completely irrelevant ........ive been on alot of forums about this and many need to know how to fix this
David |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
redwing26 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Jan 2006 Posts: 156 Location: movl "scotland",%ebp
|
Posted: Tue Feb 07, 2006 7:01 pm Post subject: |
|
|
emerging glic does work BUT if you have your CHOST var = i386 in make.conf your dydtem will NEVER be compiled with nptl support! so make sure its not i386 then
USE="nptl nptlonly" in make.conf
emerge glibc |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|