[PATCH] Fix Cygwin bootstrap, PR40807 and all significant FAILs on win32.
Dave Korn
dave.korn.cygwin@googlemail.com
Thu Jul 23 11:03:00 GMT 2009
Andrew Haley wrote:
> On 07/22/2009 09: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.
>>
>> Before this patch there were 66 FAILs on libffi HEAD (sourcware) and 20 on
>> libffi GCC. After, there are only one or two remaining (depending on GCC
>> version), both "test for excess errors" failures related to format-string
>> warnings and unrelated to all this. Tested on i686-pc-cygwin; the GCC testing
>> only involved bubblestrapping an existing $objdir rather than running a full
>> bootstrap, but that should be OK for a target lib.
>
> Did you run the gcj testsuite? If so, what were the results?
I started it but got hit by a power outage overnight. I just restarted
another testrun but it'll take a while to complete (8-10 hours or so?).
cheers,
DaveK
More information about the Gcc-patches
mailing list