I compiled on Tru64 > uname -m -p -r -s -v OSF1 V4.0 878 alpha
I compiled with the digital compiler, not gcc, DEC C V5.6-075 on Digital UNIX V4.0 (Rev. 878)
I ran into the inet_pton problem described earlier. This installation also does
not have snprintf() so I had to add an #ifdef HAS_SNPRINTF in src/spf_render.c
to use sprintf. In src/embed.c, it did not like
if (program_code == MAP_FAILED)
so I had to change to read like in icu/source/common/umapfile.c
if(program_code == ((void *) MAP_FAILED) )
Everything else compiled fine though...
A few tests failed, I've attached the output from 'make test'.
-skip
perl t/harness --gc-debug --running-make-test -b t/op/*.t t/pmc/*.t t/native_pbc/*.t imcc/t/*/*.t t/src/*.t t/op/00ff-dos.......ok t/op/00ff-unix......ok t/op/arithmetics....ok t/op/basic..........ok t/op/bitwise........ok t/op/calling........ok t/op/comp...........ok t/op/conv...........ok t/op/debuginfo......ok, 3/3 skipped: getline/setline changes not finished t/op/gc.............ok t/op/globals........ok t/op/hacks..........ok, 2/2 skipped: no universal SIGFPE handling t/op/ifunless.......ok t/op/info...........ok t/op/integer........ok t/op/interp.........ok t/op/jit............ok t/op/jitn...........ok t/op/lexicals.......ok t/op/macro..........ok, 1/16 skipped: Await exceptions t/op/number.........ok t/op/rx.............ok, 1/23 skipped: Pending some sort of lowercasing op t/op/stacks.........ok t/op/string.........ok t/op/time...........ok t/op/trans..........ok t/op/types..........ok t/pmc/array.........ok t/pmc/boolean.......ok t/pmc/coroutine.....ok t/pmc/delegate......ok t/pmc/dumper........ok t/pmc/env...........ok t/pmc/eval..........ok t/pmc/exception.....ok t/pmc/float.........ok t/pmc/freeze........ok t/pmc/intlist.......ok t/pmc/io............ok, 1/21 skipped: clone not finished yet t/pmc/iter..........ok, 1/9 skipped: N/Y: get_keyed_int gets rest of array t/pmc/key...........ok t/pmc/managedstruct.ok, 1/5 skipped: intval size != 4 t/pmc/mmd...........ok t/pmc/multiarray....ok t/pmc/nci...........alpha JIT CPU .so SO extension ok, 29/29 skipped: needs jit/i386 and libnci.so t/pmc/object-meths..ok t/pmc/objects.......ok t/pmc/orderedhash...ok t/pmc/perlarray.....ok t/pmc/perlhash......ok t/pmc/perlint.......ok t/pmc/perlnum.......ok t/pmc/perlstring....ok t/pmc/pmc...........ok t/pmc/prop..........ok t/pmc/ref...........ok t/pmc/sarray........ok t/pmc/scratchpad....ok t/pmc/signal........skipped: No events yet t/pmc/sort..........ok t/pmc/sub...........ok t/pmc/threads.......skipped: No threading yet or test not enabled for 'dec_osf' t/pmc/timer.........ok, 5/7 skipped: No thread config yet t/pmc/tqueue........# Failed test (t/pmc/tqueue.t at line 22) # got: 'ok 1 # 0 # share() not implemented in class 'PerlInt'' # expected: 'ok 1 # 0 # 2 # 2 # 3 # ' # './parrot -b --gc-debug t/pmc/tqueue_1.pasm' failed with exit code 2 # Looks like you failed 1 tests of 1. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/native_pbc/integer.# Failed test (t/native_pbc/integer.t at line 35) # got: '' # expected: '270544960' # Failed test (t/native_pbc/integer.t at line 48) # got: '' # expected: '270544960' # Looks like you failed 2 tests of 2. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/native_pbc/number.# Failed test (t/native_pbc/number.t at line 42) # got: '' # expected: '1.000000 # 4.000000 # 16.000000 # 64.000000 # 256.000000 # 1024.000000 # 4096.000000 # 16384.000000 # 65536.000000 # 262144.000000 # 1048576.000000 # 4194304.000000 # 16777216.000000 # 67108864.000000 # 268435456.000000 # 1073741824.000000 # 4294967296.000000 # 17179869184.000000 # 68719476736.000000 # 274877906944.000000 # 1099511627776.000000 # 4398046511104.000000 # 17592186044416.000000 # 70368744177664.000000 # 281474976710656.000000 # 1125899906842620.000000 # ' # Failed test (t/native_pbc/number.t at line 85) # got: '' # expected: '1.000000 # 4.000000 # 16.000000 # 64.000000 # 256.000000 # 1024.000000 # 4096.000000 # 16384.000000 # 65536.000000 # 262144.000000 # 1048576.000000 # 4194304.000000 # 16777216.000000 # 67108864.000000 # 268435456.000000 # 1073741824.000000 # 4294967296.000000 # 17179869184.000000 # 68719476736.000000 # 274877906944.000000 # 1099511627776.000000 # 4398046511104.000000 # 17592186044416.000000 # 70368744177664.000000 # 281474976710656.000000 # 1125899906842620.000000 # ' # Failed test (t/native_pbc/number.t at line 125) # got: '' # expected: '1.000000 # 4.000000 # 16.000000 # 64.000000 # 256.000000 # 1024.000000 # 4096.000000 # 16384.000000 # 65536.000000 # 262144.000000 # 1048576.000000 # 4194304.000000 # 16777216.000000 # 67108864.000000 # 268435456.000000 # 1073741824.000000 # 4294967296.000000 # 17179869184.000000 # 68719476736.000000 # 274877906944.000000 # 1099511627776.000000 # 4398046511104.000000 # 17592186044416.000000 # 70368744177664.000000 # 281474976710656.000000 # 1125899906842620.000000 # ' # Looks like you failed 3 tests of 3. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay imcc/t/imcpasm/cfg..ok imcc/t/imcpasm/opt0.ok imcc/t/imcpasm/opt1.ok, 1/49 skipped: constant concat N/Y imcc/t/imcpasm/opt2.ok, 1/5 skipped: loop opt disabled for now imcc/t/imcpasm/optc.ok, 6/6 skipped: PCC changes imcc/t/imcpasm/pcc..ok, 10/10 skipped: PCC changes imcc/t/imcpasm/sub..ok imcc/t/reg/spill....ok imcc/t/syn/bsr......ok imcc/t/syn/clash....ok imcc/t/syn/const....ok imcc/t/syn/eval.....ok imcc/t/syn/file.....Name "main::OLDERR" used only once: possible typo at imcc/t/syn/file.t line 358. ok, 1/12 skipped: multiple loading not speced - failing imcc/t/syn/keyed....ok imcc/t/syn/labels...ok imcc/t/syn/macro....ok imcc/t/syn/namespace.ok imcc/t/syn/pcc......ok, 2/31 skipped: various reasons imcc/t/syn/pod......ok imcc/t/syn/scope....ok t/src/basic.........ok t/src/exit..........ok t/src/extend........ok t/src/hash..........ok t/src/intlist.......ok t/src/io............# Failed test (t/src/io.t at line 627) # got: '' # expected: 'Hello, World # ' # Looks like you failed 1 tests of 20. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 19 Failed 1/20 tests, 95.00% okay (-1 skipped test: 18 okay, 90.00%) t/src/list..........ok t/src/manifest......ok t/src/sprintf.......ok Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/native_pbc/in 2 512 2 2 100.00% 1-2 t/native_pbc/nu 3 768 3 3 100.00% 1-3 t/pmc/tqueue.t 1 256 1 1 100.00% 1 t/src/io.t 1 256 20 1 5.00% 19 2 tests and 66 subtests skipped. Failed 4/95 test scripts, 95.79% okay. 7/1361 subtests failed, 99.49% okay. gmake: *** [test] Error 25
Summary of my parrot 0.0.13 configuration: configdate='Fri Feb 27 12:13:17 2004' Platform: osname=dec_osf, archname=alpha-dec_osf jitcapable=1, jitarchname=alpha-dec_osf, jitosname=DEC_OSF, jitcpuarch=alpha execcapable=0 perl=perl Compiler: cc='cc', ccflags='-std -fprm d -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C -pthread', Linker and Libraries: ld='ld', ldflags=' -L/usr/local/lib', cc_ldflags='', libs='-lm -liconv -lpthread' Dynamic Linking: so='.so', ld_shared='-shared -expect_unresolved "*" -msym -std -s -L/usr/local/lib', ld_shared_flags='' Types: iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8, ptrsize=8, ptr_alignment=4 byteorder=12345678, nv=double, numvalsize=8, doublesize=8