Wed Oct 17 19:06:51 2012: Request 80217 was acted upon.
Transaction: Correspondence added by BULKDD
       Queue: Win32-API
     Subject: Build failure under Cygwin on Windows
   Broken in: 0.72
    Severity: Critical
       Owner: Nobody
  Requestors: jdhed...@cpan.org
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80217 >


On Wed Oct 17 16:47:25 2012, JDHEDDEN wrote:
> On 2012-10-17 16:27:50, BULKDD wrote:
> > The correct fix is talking to whoever maintains cygwin.asm and fixing
> > the bug in cygwin.asm and waiting for a new cygwin release.
> 
> Well, not really.  You'll need to support older Cygwin versions.  (I'm 
> still on Cygwin 1.5 at home, for example).  Therefore, the hack needs to 
> be "permanent", or conditionally compiled based on Cygwin 
> version/release.

2 major problems were causing the test failures.

1 was alloca bug, fixed with a 

#ifdef __CYGWIN__
#  define _alloca(size) __builtin_alloca(size)
#endif

2nd was verbose logging mode caused printf args/string litteral pointers
to wind up as args to the C funcs in the test DLL, (#define
WIN32_API_DEBUG). IsBadReadPtr by the test dll caused some things to be
failures rather than segvs.

Now I have to mop up "J" is not a pointer bugs in the test scripts.

I will update this ticket when I have a working 32 bit with 64 bit IVs
Cygwin Perl Win32::API for you to try.

Reply via email to