Porting Perl 5.8.7 to CE 5.0

Status
Not open for further replies.

john2020

Full Member level 5
Joined
Nov 13, 2005
Messages
292
Helped
12
Reputation
24
Reaction score
8
Trophy points
1,298
Activity points
4,911
hi all,


I sent a patch to p5p to make 5.8.7 build ok, and its not currently commited, because of code freeze.

With my changes, when I try to run the test suite (after copying the
files 1 at a time, unfortunately), I run out of memory before a single
test runs. Even in Platform Builder's CE emulator with 256 megabytes
allocated to the emulator.

9 times out of 10, the stack trace when it prints the error message is:

PERL58!emergency_sbrk() line 1234
PERL58!getpages() line 1704 + 8 bytes
PERL58!morecore() line 1951 + 16 bytes
PERL58!Perl_malloc() line 1466
PERL58!Perl_realloc() line 2295 + 8 bytes
PERL58!Perl_push_scope() line 134 + 28 bytes
PERL58!Perl_pp_enter() line 1702
PERL58!Perl_runops_standard() line 37 + 24 bytes
PERL58!S_run_body() line 2003
PERL58!perl_run() line 1923
PERL58!RunPerl() line 231 + 8 bytes
PERL!main() line 36 + 28 bytes

I have no idea how to even start troubleshooting this problem. Any
suggestions?
 

hi all,

Well, the best solution I found to the problem I was having earlier
was to copy C:\perl\lib\auto to perl-5.8.7\lib\auto. Apparently if
you build miniperl, that process fills perl-5.8.7\lib\auto.

After solving that problem, I got "s perl hello.pl" to print 'Hello,
World!', so I've gotten things working at least somewhat. Is there a
way to copy files into Platform Builder's emulator conveniently? I
want to run Perl's test suite, and that's way too many files to copy 1
at a time.


John
(who will share his changes once he runs the test suite)
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…