Return to BSD News archive
Xref: sserve comp.lang.perl:17333 comp.os.386bsd.apps:363 Newsgroups: comp.lang.perl,comp.os.386bsd.apps Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!spool.mu.edu!uwm.edu!linac!unixhub!ditka!ohare!kls From: kls@ohare.Chicago.COM (Karl Swartz) Subject: Perl 4.036 on NetBSD 0.8 (386, no 387) Message-ID: <1993Aug18.204209.11560@ohare.Chicago.COM> Summary: close, but only a small, cheap cigar Organization: Chicago Software Works Date: Wed, 18 Aug 1993 20:42:09 GMT Lines: 326 Last weekend I picked up a 386-40 and have been busily bringing up NetBSD 0.8 on it. I'm quite impressed -- a hearty thanks to all who obviously put a lot of work into this project. After porting jove (well, enough to be usable if not pretty) my first project was bringing up Perl, 4.036 to be precise. Configure bombed with a bizarre syntax error, so I put that on hold until after I had built bash and installed that as /bin/sh, as others have mentioned. I then returned to Perl's Configure, which now worked just fine. I took all the defaults except for directories (e.g. /usr/local/lib) and requesting Perl's malloc. The compile went fine except for a few type mismatces, which appeared to be innocuous, and running out of virtual memory on teval.c, which was easily dealt with by changing cflags to omit the -O flag on the compile of that module. Alas, several of the tests failed. The first was trivil: op/dbm tests 2 and 9 failed because no .pag file was created (nor is there a .dir file, though the test didn't care that the unlink failed). Instead there is a .db file. Fine. The other was lib/big.t, which rather spectacularly failed 42 out of its 246 tests. I looked at it a bit but the problem isn't immediately obvious. Does anyone have an idea what the problem is, and how I might go about fixing it? I've attached the output from this test in case it's of any help. BTW, I do *not* have a 387, though if this was a problem I would have expected some of the other tests to fail too. Karl Swartz |INet kls@ditka.chicago.com 1-415/854-3409 |UUCP uunet!decwrl!ditka!kls |Snail 2144 Sand Hill Rd., Menlo Park CA 94025, USA Send sci.aeronautics.airliners submissions to airliners@chicago.com *** output of lib/big.t *** 1..246 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 ok 49 ok 50 ok 51 ok 52 ok 53 ok 54 ok 55 ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 ok 62 ok 63 ok 64 ok 65 ok 66 ok 67 ok 68 ok 69 ok 70 ok 71 ok 72 not ok 73 # '&badd('+9999','+1');' expected: '+10000' got: '+999900001' not ok 74 # '&badd('+99999','+1');' expected: '+100000' got: '+9999900001' ok 75 ok 76 ok 77 not ok 78 # '&badd('+999999999','+1');' expected: '+1000000000' got: '+99999999900001' not ok 79 # '&badd('+9999999999','+1');' expected: '+10000000000' got: '+999999999900001' ok 80 ok 81 ok 82 not ok 83 # '&badd('+1000','-1');' expected: '+999' got: '+99999999' not ok 84 # '&badd('+10000','-1');' expected: '+9999' got: '+999999999' ok 85 ok 86 ok 87 not ok 88 # '&badd('+100000000','-1');' expected: '+99999999' got: '+9999999999999' not ok 89 # '&badd('+1000000000','-1');' expected: '+999999999' got: '+99999999999999' ok 90 not ok 91 # '&badd('+123456789','+987654321');' expected: '+1111111110' got: '+111111111000000' not ok 92 # '&badd('-123456789','+987654321');' expected: '+864197532' got: '+86419753200000' not ok 93 # '&badd('-123456789','-987654321');' expected: '-1111111110' got: '-111111111000000' not ok 94 # '&badd('+123456789','-987654321');' expected: '-864197532' got: '-86419753200000' ok 95 ok 96 ok 97 ok 98 ok 99 ok 100 ok 101 ok 102 ok 103 ok 104 ok 105 ok 106 ok 107 ok 108 ok 109 not ok 110 # '&bsub('+9999','+1');' expected: '+9998' got: '+999899999' not ok 111 # '&bsub('+99999','+1');' expected: '+99998' got: '+9999899999' ok 112 ok 113 ok 114 not ok 115 # '&bsub('+999999999','+1');' expected: '+999999998' got: '+99999999899999' not ok 116 # '&bsub('+9999999999','+1');' expected: '+9999999998' got: '+999999999899999' ok 117 ok 118 ok 119 not ok 120 # '&bsub('+1000','-1');' expected: '+1001' got: '+100000001' not ok 121 # '&bsub('+10000','-1');' expected: '+10001' got: '+1000000001' ok 122 ok 123 ok 124 not ok 125 # '&bsub('+100000000','-1');' expected: '+100000001' got: '+10000000000001' not ok 126 # '&bsub('+1000000000','-1');' expected: '+1000000001' got: '+100000000000001' ok 127 not ok 128 # '&bsub('+123456789','+987654321');' expected: '-864197532' got: '-86419753200000' not ok 129 # '&bsub('-123456789','+987654321');' expected: '-1111111110' got: '-111111111000000' not ok 130 # '&bsub('-123456789','-987654321');' expected: '+864197532' got: '+86419753200000' not ok 131 # '&bsub('+123456789','-987654321');' expected: '+1111111110' got: '+111111111000000' ok 132 ok 133 ok 134 ok 135 ok 136 ok 137 ok 138 ok 139 ok 140 ok 141 ok 142 ok 143 ok 144 ok 145 ok 146 ok 147 ok 148 ok 149 ok 150 not ok 151 # '&bmul('+10101','+10101');' expected: '+102030201' got: '+1020302010000000000' ok 152 not ok 153 # '&bmul('+100010001','+100010001');' expected: '+10002000300020001' got: '+100020003000200010000000000' ok 154 ok 155 ok 156 ok 157 ok 158 ok 159 ok 160 ok 161 ok 162 ok 163 ok 164 ok 165 ok 166 ok 167 ok 168 ok 169 ok 170 ok 171 ok 172 ok 173 ok 174 ok 175 ok 176 ok 177 not ok 178 # '&bdiv('+1000000000','+9');' expected: '+111111111' got: '+11111111111111' not ok 179 # '&bdiv('+2000000000','+9');' expected: '+222222222' got: '+22222222222222' not ok 180 # '&bdiv('+3000000000','+9');' expected: '+333333333' got: '+33333333333333' not ok 181 # '&bdiv('+4000000000','+9');' expected: '+444444444' got: '+44444444444444' not ok 182 # '&bdiv('+5000000000','+9');' expected: '+555555555' got: '+55555555555555' not ok 183 # '&bdiv('+6000000000','+9');' expected: '+666666666' got: '+66666666666666' not ok 184 # '&bdiv('+7000000000','+9');' expected: '+777777777' got: '+77777777777777' not ok 185 # '&bdiv('+8000000000','+9');' expected: '+888888888' got: '+88888888888888' not ok 186 # '&bdiv('+9000000000','+9');' expected: '+1000000000' got: '+100000000000000' ok 187 ok 188 not ok 189 # '&bdiv('+106500000','+339');' expected: '+314159' got: '+31415929203' not ok 190 # '&bdiv('+1000000000','+3');' expected: '+333333333' got: '+33333333333333' ok 191 ok 192 not ok 193 # '&bdiv('+1000','+8');' expected: '+125' got: '+12500000' not ok 194 # '&bdiv('+10000','+16');' expected: '+625' got: '+62500000' ok 195 ok 196 ok 197 not ok 198 # '&bdiv('+999999999999','+9999');' expected: '+100010001' got: '+1000' ok 199 ok 200 ok 201 ok 202 ok 203 ok 204 ok 205 ok 206 ok 207 ok 208 ok 209 ok 210 ok 211 ok 212 ok 213 ok 214 ok 215 ok 216 ok 217 ok 218 ok 219 ok 220 ok 221 ok 222 ok 223 ok 224 not ok 225 # '&bmod('+106500000','+339');' expected: '+99' got: '+183' ok 226 ok 227 ok 228 ok 229 ok 230 ok 231 ok 232 ok 233 not ok 234 # '&bmod('+999999999999','+9999');' expected: '+0' got: '+99999999' ok 235 ok 236 ok 237 ok 238 ok 239 ok 240 ok 241 ok 242 ok 243 ok 244 ok 245 ok 246