Nick Glencross wrote:
Here are some notes for those that are interested in parrot being built
on other platforms.
The system in question is a PA-RISC HP-UX 11.11 system
(hppa2.0w-hp-hpux11.11). The system only has the bundled C compiler and
linker, so I've compiled gcc 3.3.6 for it. gcc cannot create debug
information without gas, which is unfortunately not supported on this
platform.
A large numer of failures are Aborts/Memory faults.
Although I can't compile with debugging, and hence find the exact line
where things die, I can of course trace to get an idea of where things
happen.
dumper_6.pir:
dumper_8.pir:
dumper_15.pir:
sort_*.pir:
69 cmp_str I30, P14, P13 - I30=3, P14=PerlString=PMC(0x4020c2d0
Str:"test2"), P13=PerlString=PMC(0x4020c330 Str:"array")
(PMCs are sometimes PerlInts, sometimes PerlStrings etc. Occasionally
cmp_strs succeed and don't always die first time)
getopt_long_1.pir:
858 i_concatenate P15, S15 - P15=String=PMC(0x4020a710 Str:""),
S15=".sub _pge_rule\n"
Assertion failed: l != left, file src/mmd.c, line 737
Abort(coredump)
jit_54.pasm:
9 i_divide P0, N0 - P0=Integer=PMC(0x4020cf90: 123),
N0=4000.000000
Assertion failed: l != left, file src/mmd.c, line 684
Abort(coredump)
lexicals_4.pasm:
33 eq P1, P2, 6 -
P1=Integer=PMC(0x4020ced0:1),P2=Integer=PMC(0x4006d5a8: 0),
Memory fault(coredump)
complex_16.pasm:
complex_24.pasm:
17 eq P0, P1, 6 - P0=Complex=PMC(0x4020cf90: 2+3i),
P1=Complex=PMC(0x4020cf78: 2+3i),
Memory fault(coredump)
coroutine_6.pir:
85 i_add P16, 1 - P16=Integer=PMC(0x4020cf30: 0),
Assertion failed: l != left, file src/mmd.c, line 631
Abort(coredump)
That's probably enough... It looks like all sorts of instructions and
PMC usages are causing deaths.... [On a positive note, the vast majority
of the tests pass]
Regards,
Nick