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.