develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000315.017] Not OK: perl 5.6.0 RC2 on dos-djgpp

Thread Previous
From:
Philip Newton
Date:
March 16, 2000 23:19
Subject:
Re: [ID 20000315.017] Not OK: perl 5.6.0 RC2 on dos-djgpp
Message ID:
200003170719.IAA11991@smtp2.nikoma.de
OK, with the following change I got pp_sys.c and the other main Perl sources to 
compile on djgpp:

bash$ diff -wu pp_sys.c.orig pp_sys.c
--- pp_sys.c.orig       Thu Mar  9 17:40:40 2000
+++ pp_sys.c    Fri Mar 17 08:07:24 2000
@@ -1504,11 +1504,13 @@
            DIE(aTHX_ "Offset outside string");
        offset += blen;
     }
+#ifdef HAS_SOCKET
     bufsize = SvCUR(bufsv);
     buffer = SvGROW(bufsv, length+offset+1);
     if (offset > bufsize) { /* Zero any newly allocated space */
        Zero(buffer+bufsize, offset-bufsize, char);
     }
+#endif
     if (PL_op->op_type == OP_SYSREAD) {
 #ifdef PERL_SOCK_SYSREAD_IS_RECV
        if (IoTYPE(io) == 's') {

However, then compile stops while trying to make Dynaloader:

d:/stuff/perl/perl-5.6.0-RC2/miniperl -I../../lib -I../../lib -I../../lib -I../.
./lib XSLoader_pm.PL XSLoader.pm
Exiting due to signal SIGSEGV
General Protection Fault at eip=00096ddf
eax=ffffffff ebx=00000e63 ecx=00000000 edx=0a0d6369 esi=000f87e8 edi=000f87ec
ebp=000f638c esp=000f638c program=D:\Stuff\perl\perl-5.6.0-RC2\miniperl
cs: sel=41e7  base=89c21000  limit=002affff
ds: sel=41ef  base=89c21000  limit=002affff
es: sel=41ef  base=89c21000  limit=002affff
fs: sel=41df  base=0002aa10  limit=00003fff
gs: sel=41f7  base=00000000  limit=0010ffff
ss: sel=41ef  base=89c21000  limit=002affff
App stack: [000f6568..000b6568]  Exceptn stack: [000b6454..000b4514]

Call frame traceback EIPs:
  0x00096ddf
  0x0006907b
  0x00068d57
  0x0006d4f2
  0x00013e41
  0x00013bab
  0x000015e6
  0x0009096e
make.exe[1]: *** [pm_to_blib] Error -1
make.exe[1]: Leaving directory `d:/stuff/perl/perl-5.6.0-RC2/ext/DynaLoader'
make.exe: *** [lib/auto/DynaLoader/DynaLoader.a] Error 2
bash$ 

Any suggestions?

Cheers,
Philip
-- 
Philip Newton <Philip.Newton@gmx.net>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About