Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^7: Module::Install hacking

by bulk88 (Priest)
on Sep 15, 2012 at 05:38 UTC ( #993836=note: print w/replies, xml ) Need Help??

in reply to Re^6: Module::Install hacking
in thread Module::Install hacking

So ABI breakage and DLL hell between different builds of Mingw/GCC. Well what else could it be after looking at libgcc dll's export table other than GCC exception handling? div by zero or x87 FP exception? :-) I really really wish Mingw would has MS compatible SEH. Writing Win32 compiler-portable Perl XS/C code around bad C code beyond my control using IsBadReadPtr/IsBadWritePtr is cumbersome and those 2 will never catch STATUS_ILLEGAL_INSTRUCTION for example.

Replies are listed 'Best First'.
Re^8: Module::Install hacking
by BrowserUk (Pope) on Sep 15, 2012 at 08:01 UTC
    MS compatible SEH.

    I agree. I did come up with a "compatibility layer" -- nothing fancy just a couple of #defines -- that allowed me to use SEH in my unauthorised version of Devel::Size and compile it with MSVC & Mingw 32 & 64-bit without change.

    However, in the subsequent authorised version, they re-wrote all the exception handling claiming that it didn't work on gcc. No details given, so I can't talk to that.

    I do know that syphilis compiled it successfully with MinGW and it appeared to work okay. Admittedly, I didn't try to do anything complicated with the exceptions; just basically ignored them.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993836]
[james28909]: so if you subtracting as you loop, be aware that you will eventually be subtracting into a past month, or year <.<
[james28909]: dontcha love it!
[james28909]: Today would be scalar localtime. Yesterday would be scalar localtime - 1. sunday - monday would variate scalar localtime - ?
[james28909]: oops s/sunday - monday/sunday - saturday/
[james28909]: my mind is blown haha
[james28909]: hmm, i haz idea!

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-04-29 03:57 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.