Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Debugging XS modules under Strawberry perl

by syphilis (Canon)
on Oct 05, 2013 at 14:26 UTC ( #1057038=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Debugging XS modules under Strawberry perl
in thread Debugging XS modules under Strawberry perl

typedef int128_t int128_t_a8 __attribute__ ((aligned(8)));

Struck the same issue messing with the __float128 type (Math-Float128) ... at least, the solution you provided worked for me, too.

What I find interesting is that there is a need to apply this measure only when using the 64-bit MinGW compiler. With the 32-bit MinGW compilers, there's no need.
Mind you, Strawberry Perl's gcc-4.6.3 compilers (both 32-bit and 64-bit) create runtime crashes whenever quadmath.h's expq() function is called - I couldn't reproduce that problem anywhere else.

Anyway, salva, I'm glad you found an answer to the problem - I hate to think how long it might have taken me to find this solution (let alone decipher what the problem was in the first place).

Cheers,
Rob


Comment on Re^5: Debugging XS modules under Strawberry perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1057038]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2015-07-04 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls