Skip Menu |
 

This queue is for tickets about the threads CPAN distribution.

Report information
The Basics
Id: 72442
Status: resolved
Priority: 0/
Queue: threads

People
Owner: Nobody in particular
Requestors: mdootson [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.85
Fixed in: (no value)



Subject: Latest 64bit mingw-w64 + gcc 4.6 + fails
Download (untitled) / with headers
text/plain 351b
Latest mingw-w64 64 bit + gcc >= 4.6.2 fails due to differences in setjmp definition. (32 bit is OK) (t/exit.t fails a couple of tests with access violation faults) I have successfully tested the attached patch against my own latest 4.6.2 build and against a 64 bit Strawberry Perl that uses gcc 4.4.3 It should have no effect on mingw.org gcc.
Subject: threads.patch
Download threads.patch
text/x-diff 517b
diff -ruNw threads-1.85/threads.xs threads-1.85-copy/threads.xs --- threads-1.85/threads.xs 2011-09-03 04:52:44.000000000 +0100 +++ threads-1.85-copy/threads.xs 2011-11-15 16:16:48.615200000 +0000 @@ -14,6 +14,9 @@ # if defined(USE_NO_MINGW_SETJMP_TWO_ARGS) || (!defined(__BORLANDC__) && !defined(__MINGW64__)) # define setjmp(x) _setjmp(x) # endif +# if defined(__MINGW64__) +# define setjmp(x) _setjmpex((x), mingw_getsp()) +# endif #endif #ifdef HAS_PPPORT_H # define NEED_PL_signals
Download (untitled) / with headers
text/plain 208b
On Tue Nov 15 11:40:34 2011, MDOOTSON wrote: Show quoted text
> I have successfully tested the attached patch
I have submitted your patch for incorporation into blead: https://rt.perl.org:443/rt3/Ticket/Display.html?id=104776
Download (untitled) / with headers
text/plain 304b
On 2011-11-28 09:13:30, JDHEDDEN wrote: Show quoted text
> On Tue Nov 15 11:40:34 2011, MDOOTSON wrote:
> > I have successfully tested the attached patch
> I have submitted your patch for incorporation into blead: > https://rt.perl.org:443/rt3/Ticket/Display.html?id=104776
The above referenced ticket has been resolved.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.