This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix Cygwin bootstrap, PR40807 and all significant FAILs on win32.



On Jul 22, 2009, at 3:42 PM, Dave Korn wrote:



Hi all,


While I was looking at the dlmmap/dlmunmap code in closures.c, I started
looking into testsuite FAILs to see if any of them might be caused by the code
I had added, and stumbled across a bigger can of worms. The code in win32.S
doesn't take account of numerous among the FFI_TYPE_xxx return types, leading
to stack-based garbage being returned, and in one place mishandles the ABI
convention that the callee should pop the hidden pointer arg for struct return
types.



I had noticed this too, but had convinced myself that the "unhandled types" would never actually be used due to the way the prep functions set things up (by code inspection and the fact that the tests corresponding to usage of those types were not failing).


BTW, you can reduce the test suite execution time by commenting out all but one variation of the test runs in libffi.call/call.exp (the suite is repeated 5 times with different optimization options). You'll still want to run them all, but a single run will give you an overall sense of your FAIL status. Running tests under cygwin is really slow, and glacially slower if there are any failures.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]