Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^6: Module::Install hacking

by BrowserUk (Pope)
on Sep 15, 2012 at 04:44 UTC ( #993831=note: print w/ replies, xml ) Need Help??


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

Not many details to report

The guts of the problem was an unhandled exception during the cleanup of g++ exception stack frames. Beyond that I did not have the appropriate MinGW symbol files to trace into.


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


Comment on Re^6: Module::Install hacking
Re^7: Module::Install hacking
by bulk88 (Priest) on Sep 15, 2012 at 05:38 UTC
    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.
      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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-08-28 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls