I tried parrot in tru64/alpha after quite a while and it seems that something has gone rotten with the bytecode. The t/native_pbc/integer.t and the t/native_pbc/number.t both fail:
t/native_pbc/integer....# Failed test (t/native_pbc/integer.t at line 35) # got: 'PackFile_unpack: Not a Parrot PackFile! # Magic number was [4c520050] not [13155a1] # Parrot VM: Can't unpack packfile t/native_pbc/integer_1.pbc. # error:imcc:main: Packfile loading failed # ' # expected: '270544960' # './parrot t/native_pbc/integer_1.pbc' failed with exit code 1 t/native_pbc/integer....NOK 1# Looks like you failed 1 tests of 1. t/native_pbc/integer....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/native_pbc/integer.t 1 256 1 1 100.00% 1 t/native_pbc/number....# Failed test (t/native_pbc/number.t at line 42) # got: 'PackFile_unpack: Not a Parrot PackFile! # Magic number was [4c520050] not [13155a1] # Parrot VM: Can't unpack packfile t/native_pbc/number_1.pbc. # error:imcc:main: Packfile loading failed # ' # 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 # ' # './parrot t/native_pbc/number_1.pbc' failed with exit code 1 # Failed test (t/native_pbc/number.t at line 85) # got: 'PackFile_unpack: Not a Parrot PackFile! # Magic number was [4c520050] not [13155a1] # Parrot VM: Can't unpack packfile t/native_pbc/number_2.pbc. # error:imcc:main: Packfile loading failed Here are the first eight lines of hexdumps of t/native_pbc/integer_1.pbc 04 00 00 0d 04 00 ac 1d a0 e1 c0 b8 70 2a 58 a0 ............p*X. a1 55 31 01 4c 52 45 50 01 00 00 00 00 00 00 00 .U1.LREP........ 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0............... 03 00 00 00 04 00 00 00 42 59 54 45 43 4f 44 45 ........BYTECODE 5f 2d 00 00 20 00 00 00 08 00 00 00 02 00 00 00 _-.. ........... 46 49 58 55 50 5f 2d 00 28 00 00 00 08 00 00 00 FIXUP_-.(....... 03 00 00 00 43 4f 4e 53 54 41 4e 54 5f 2d 00 00 ....CONSTANT_-.. 30 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 0............... and t/native_pbc/number_1.pbc 04 00 00 0d 04 00 ac 1d a0 e1 c0 b8 70 2a 58 a0 ............p*X. a1 55 31 01 4c 52 45 50 01 00 00 00 00 00 00 00 .U1.LREP........ 44 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D............... 03 00 00 00 04 00 00 00 42 59 54 45 43 4f 44 45 ........BYTECODE 5f 74 2f 6f 70 2f 6e 75 6d 62 65 72 5f 31 2e 70 _t/op/number_1.p 61 73 6d 00 2c 00 00 00 bc 00 00 00 02 00 00 00 asm.,........... 46 49 58 55 50 5f 74 2f 6f 70 2f 6e 75 6d 62 65 FIXUP_t/op/numbe 72 5f 31 2e 70 61 73 6d 00 00 00 00 e8 00 00 00 r_1.pasm........ myconfig: Summary of my parrot 0.0.13 configuration: configdate='Mon Feb 23 11:47:59 2004' Platform: osname=dec_osf, archname=alpha-dec_osf jitcapable=1, jitarchname=alpha-dec_osf, jitosname=DEC_OSF, jitcpuarch=alpha execcapable=0 perl=/u/vieraat/vieraat/jhi/Perl/Platform/OSF1/bin/perl Compiler: cc='cc', ccflags='-std -D_INTRINSICS -fprm d -ieee -I/p/include -DLANGUAGE_C -pthread', Linker and Libraries: ld='ld', ldflags=' -L/p/lib', cc_ldflags='', libs='-lm -lutil -lpthread' Dynamic Linking: so='.so', ld_shared='-shared -expect_unresolved "*" -O4 -msym -std -s -L/p/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 My longsize would be 8. Note: if you have Tru64 you will need the attached (and submitted privately to Leo) config/init/hints/dec_osf.pl to get things to compile. -- Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen
dec_osf.pl
Description: Perl program