On Wed, Oct 17, 2012 at 6:06 PM, Daniel Dragan via RT <bug-win32-...@rt.cpan.org> wrote: > 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.
Yes, much better With the better alloca and DEBUG disabled I got t/00_API.t (Wstat: 256 Tests: 48 Failed: 1) Failed test: 46 Non-zero exit status: 1 t/01_Struct.t (Wstat: 0 Tests: 7 Failed: 0) Parse errors: Bad plan. You planned 18 tests but ran 7. t/03_undef.t (Wstat: 256 Tests: 3 Failed: 1) Failed test: 2 Non-zero exit status: 1 t/v69.t (Wstat: 65280 Tests: 29 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 36 tests but ran 29. t/v71.t (Wstat: 65280 Tests: 5 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 23 tests but ran 5. Files=13, Tests=159, 9 wallclock secs ( 0.03 usr 0.11 sys + 3.70 cusr 5.51 csys = 9.35 CPU) Result: FAIL Failed 5/13 test programs. 2/159 subtests failed. -- Reini Urban http://cpanel.net/ http://www.perl-compiler.org/