Error Invalid EXE Format when executing a exe.so built with
winelib
Roger Wimbert
rw at bb-sw.de
Thu Mar 1 09:45:11 CST 2007
How can I verify that NPTL is in the kernel?
Please excuse this question, but our Linux expert is at holidays ;)
I've already found out that wine is using wine-pthread.
A simple program without TLS works fine.
Roger
Robert Shearman schrieb:
> Roger Wimbert wrote:
>
>> Here is the Debug output:
>>
>> warn:module:load_builtin_dll failed to load .so lib for builtin
>> L"Z:\\bb\\s\\bc\\wine\\dmsw.exe.so":
>> /bb/home/.wine/dosdevices/z:/bb/s/bc/wine/dmsw.exe.so: cannot allocate
>> memory in static TLS block
>>
>> It has something to do with TLS memory or threads, but the
>> /lib/tls/libc.so is linked in:
>>
>> (rw 8 amd64) /bb/s/bc/wine 105>ldd dmsw.exe.so
>> linux-gate.so.1 => (0xffffe000)
>> libwine.so.1 => /usr/local/lib/libwine.so.1 (0x557be000)
>> libm.so.6 => /lib/tls/libm.so.6 (0x558e8000)
>> libc.so.6 => /lib/tls/libc.so.6 (0x5590a000)
>> libdl.so.2 => /lib/libdl.so.2 (0x55a1f000)
>> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x56555000)
>>
>> Our system:
>> (rw 8 amd64) /bb/s/bc/wine 106>uname -a
>> Linux amd64 2.6.5-7.193-smp #1 SMP Wed Jul 20 14:39:18 UTC 2005 x86_64
>> x86_64 x86_64 GNU/Linux
>
>
> Do you have NPTL compiled into your kernel?
>
More information about the wine-devel
mailing list