|laziness, impatience, and hubris|
Perl-cross IO::Select problemsby ragawu (Initiate)
|on Mar 05, 2014 at 21:24 UTC||Need Help??|
ragawu has asked for the
wisdom of the Perl Monks concerning the following question:
Hi I've cross compiled Perl for my MIPS based router using Perl-cross.
Basic tests work, however the IO module is failing for some tests, notably io_sel.t, io_sock.t.
Using the debugger on the target platform, I can see that one of the problems occurs (freezing) during a call to IO::Select::can_write(). Execution stops at line 122, the call to select(..). I'm still able to ctrl-c back to the Perl debugger
My understanding of Perl's internals is limited, so am looking for advice on how to diagnose what the issue is. I've successfully built and tested a c program which uses select so it's not as if the functionality is missing.
Would running perl through GDB be a good idea?
I've installed Perl in a non-standard location, but I have PERL5LIB set correctly and don't believe the issue is with paths, or missing modules - surely I would receive a warning/error msg if that was the case.
Looking at the config/build log doesn't offer any clues either. Have asked on stackoverflow but no one has bitten.. hopefully a monk here can advise