# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #27003]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=27003 >
From a freshly rsynced copy in tru64/alpha (*):
$ ./parrot t/native_pbc/integer_1.pbc
PackFile_unpack: Not a Parrot PackFile!
Parrot VM: Can't unpack packfile t/native_pbc/integer_1.pbc.
error:imcc:main: Packfile loading failed
The same happens with the number_?.pbc.
This is first few lines of hexdump from the 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_-..
and here is myconfig:
Summary of my parrot 0.0.13 configuration:
configdate='Sun Feb 22 19:50:26 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',
Linker and Libraries:
ld='ld', ldflags=' -L/p/lib',
cc_ldflags='',
libs='-lm -lutil'
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 is 8, in case that matters.
My experience with debugging Parrot is very close to zero so I can't
give
off-hand much more information than this.
(*) To get parrot to compile at all in Tru64, one needs to also remove
the
struct timespec (re)definition in include/parrot/thread.h (Leo is
working on
a real probe for the struct).
--
Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this
special
biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen