Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^5: Debugging XS modules under Strawberry perl

by syphilis (Chancellor)
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).

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2016-10-25 17:06 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (326 votes). Check out past polls.