[PATCH] Apparent thinko in closures.c causing GCC bootstrap failure on Cygwin
Dave Korn
dave.korn.cygwin@googlemail.com
Tue Jun 30 18:13:00 GMT 2009
Timothy Wall wrote:
> While following the *nix variants and wrapping the mmap/munmap calls
> with dlmmap/dlunmap (to add the exec flag) seems like the consistent
> thing to do for cygwin, in this case cygwin is only going to insert some
> translation code between the ultimate calls to VirtualAlloc/VirtualFree.
Actually, it may well need to do some behind-the-scenes bookkeeping in order
to support fork semantics (which don't come naturally to windows!). I'll
generate a patch that enables the dlmmap/dlmunmap functions on Cygwin;
sticking to the standard POSIX APIs is the best thing to do. Patch withdrawn;
respin to follow. Thanks for the advice.
cheers,
DaveK
More information about the Gcc-patches
mailing list