Allocating too much memory for prelink workaround

Mike Hearn mike at theoretic.com
Sun Dec 14 15:59:21 CST 2003


On Sun, 14 Dec 2003 15:30:30 -0500, Vincent Béron wrote:
> Else, maybe mapping ourselves some memory at some different places,
> without using all memory between mappings, would work without actually
> reserving some big amount of memory/swap space. Of course, if there's a
> hole in the mappings and a .so is mapped right in the middle we still
> have a problem...

I think the cleanest way to solve this problem is by using linker scripts.
There is a MEMORY directive we could use I think.
 
> On a sidenote, I have some problems getting ldd
> /usr/bin/wine-{p,k]thread to run on Fedora. Anybody else have this
> problem (Mike?)?

Yes. Very strange indeed. glibc and Wine are truly mortal enemies ;)

[mike at e-ucs036 mike]$ ldd /opt/wine/bin/wine-kthread
ldd: /lib/ld-linux.so.2 exited with unknown exit code (139)

thanks -mike




More information about the wine-devel mailing list