Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-11-18 12:23 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (277 votes). Check out past polls.