kernel32 test failures under Cygwin
Hello all, today I decided to play a bit with Wine compilation under Cygwin. This time I decided to run kernel32 tests as well. I've got the following failures: generated.c:542: Test failed: TYPE_ALIGNMENT(*(LPWIN32_STREAM_ID)0) == 8 (expected 4) generated: 842 tests executed, 0 marked as todo, 1 failure. * NOTE: the same test compiled by cl.exe (MS compiler) works as expected, * so that's most likely a gcc bug. (gcc version 3.3.1 (cygming special)) pipe: 5614 tests executed, 0 marked as todo, 4869 failures. * NOTE: the same test compiled by cl.exe hangs forever at: * pipe.c:285:Server done writing. process: 373 tests executed, 0 marked as todo, 97 failures * NOTE: the same test compiled by cl.exe gives different result: * process: 376 tests executed, 0 marked as todo, 10 failures. Since this is a fresh Cygwin install made from scratch I'd blame this particular Cygwin distribution. Cygwin1.dll marked as "1.5.7-cr-0x9e" in its version resources. Could anybody else with a relatively fresh Cygwin or MinGW installation try it and report the result? P.S. I have one more bug in Cygwin: it can't correctly handle makefiles. So 'make' for some reason doesn't want to call 'dlltool' to produce a .def file in dlls/d3d9 after it did run it in dlls/d3d8. Changing order of d3d9 and d3d8 in dlls/Makefile,SUBDIRS exchanges failure dirs. Manually chdir'ing to dlls/d3d9 and running 'make' there does help. An old Cygwin (1.3.17) from a backup does not have that nasty bug. -- Dmitry.
On Saturday 27 March 2004 02:20, Dmitry Timoshkov wrote:
generated.c:542: Test failed: TYPE_ALIGNMENT(*(LPWIN32_STREAM_ID)0) == 8 (expected 4) generated: 842 tests executed, 0 marked as todo, 1 failure. * NOTE: the same test compiled by cl.exe (MS compiler) works as expected, * so that's most likely a gcc bug. (gcc version 3.3.1 (cygming special))
Same here (GCC 3.2.3 (mingw special 20030504-1)). It appears that this compiler defaults to --malign-double. When I specify --mno-align-double the test succeeds.
pipe: 5614 tests executed, 0 marked as todo, 4869 failures. * NOTE: the same test compiled by cl.exe hangs forever at: * pipe.c:285:Server done writing.
process: 373 tests executed, 0 marked as todo, 97 failures * NOTE: the same test compiled by cl.exe gives different result: * process: 376 tests executed, 0 marked as todo, 10 failures.
Both MinGW compiled tests fail here on Wine. The pipe test also fails on Win98. These tests have in common that they start a subprocess/thread and then should communicate or synchronize with those. My guess is that the tests have races. -Hans
Hello Dmitry, --- Dmitry Timoshkov <dmitry(a)baikal.ru> wrote:
Could anybody else with a relatively fresh Cygwin or MinGW installation try it and report the result?
I have a semi-new cygwin install on one of the 2k servers I run so I will make some time soon to play with it again. Thanks Steven __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html
participants (3)
-
Dmitry Timoshkov -
Hans Leidekker -
Steven Edwards