Re: PE stack trick not working on lowmem machines

2003-11-26 Thread Marcus Meissner
On Mon, Nov 24, 2003 at 12:38:34PM -0800, WINE wrote: > Marcus Meissner <[EMAIL PROTECTED]> writes: > > > So ld.so really wants to get 20xMB memory but fails. > > > > -> Not good on low memory machines. > > Hmmm I would have expected it to overcommit that memory. Do you have > memory limits set?

Re: PE stack trick not working on lowmem machines

2003-11-24 Thread Mike Hearn
On Mon, 2003-11-24 at 20:38, Alexandre Julliard wrote: > > Btw, why don't we use -Wa,--noexecstack ? > > It doesn't help with prelink AFAICT. Is it really too late to get some kind of hook into prelink to stop it interfering with Wine? It seems daft that we need such a big hack when surely a flag

Re: PE stack trick not working on lowmem machines

2003-11-24 Thread Alexandre Julliard
Marcus Meissner <[EMAIL PROTECTED]> writes: > So ld.so really wants to get 20xMB memory but fails. > > -> Not good on low memory machines. Hmmm I would have expected it to overcommit that memory. Do you have memory limits set? > Btw, why don't we use -Wa,--noexecstack ? It doesn't help with pre

PE stack trick not working on lowmem machines

2003-11-24 Thread Marcus Meissner
Hi, On SuSE 8.2, i586 glibc, loader/wine-* crash due to the 256 MB static array in main(). The test machine has just 64MB RAM and 200MB swap. If I start decreasing the array it works, up to 201MB. $ /lib/ld-linux.so.2 ./wine-kthread ./wine-kthread: error while loading shared libraries: ./wine-k