Parrot 4.3.0 build failure on ia64

Jonathan "Duke" Leto jonathan at leto.net
Mon Jun 18 17:48:29 UTC 2012


Howdy,

I have not been able to reproduce this behavior, but I did find an
interesting bug that may be contributing to this:

https://github.com/parrot/parrot/issues/792

Basically, it seems like Debians ia64 build box has some type of
locked-down chroot/jail config where various binaries that are usually
present on Linux are missing (most notably /sbin/sysctl ). This in
turn is probably confusing Parrot about what kind of architecture it
is building on, which in turn *may* be making it Parrot think it is
building on plain Linux instead of ia64, causing this bit of
platform-dependent ASM to not be used correctly:

https://github.com/parrot/parrot/blob/master/src/platform/ia64/asm.s

This is my current hunch. If you can provide the full output of
"parrot_config --dump" on the porterbox, that may be able to tell us
what we need to know to fix this.

Duke

On Sun, Jun 10, 2012 at 4:00 AM, Alessandro Ghedini <al3xbio at gmail.com> wrote:
> Hi all,
>
> Parrot 4.3.0 failed (twice) to build on Debian's ia64 buildd [0] with the error:
>
>> ./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Emitter.pir compilers/opsc/src/Ops/Emitter.pm
>> get_pointer() not implemented in class 'String'
>> current instr.: 'parrot;PAST;Compiler;post_children' pc 2489 (compilers/pct/src/PAST/Compiler.pir:508)
>> called from Sub 'parrot;PAST;Compiler;as_post' pc 3172 (compilers/pct/src/PAST/Compiler.pir:773)
>> called from Sub 'parrot;PAST;Compiler;as_post' pc 3275 (compilers/pct/src/PAST/Compiler.pir:821)
>> called from Sub 'parrot;PAST;Compiler;post_children' pc 2595 (compilers/pct/src/PAST/Compiler.pir:553)
>> called from Sub 'parrot;PAST;Compiler;as_post' pc 3172 (compilers/pct/src/PAST/Compiler.pir:773)
>> called from Sub 'parrot;PAST;Compiler;post_children' pc 2595 (compilers/pct/src/PAST/Compiler.pir:553)
>> called from Sub 'parrot;PAST;Compiler;pirop' pc 5280 (compilers/pct/src/PAST/Compiler.pir:1388)
>> called from Sub 'parrot;PAST;Compiler;post_children' pc 2595 (compilers/pct/src/PAST/Compiler.pir:553)
>> called from Sub 'parrot;PAST;Compiler;as_post' pc 4565 (compilers/pct/src/PAST/Compiler.pir:1176)
>> called from Sub 'parrot;PAST;Compiler;post_children' pc 2595 (compilers/pct/src/PAST/Compiler.pir:553)
>> called from Sub 'parrot;PAST;Compiler;as_post' pc 3172 (compilers/pct/src/PAST/Compiler.pir:773)
>> called from Sub 'parrot;PAST;Compiler;as_post' pc 3275 (compilers/pct/src/PAST/Compiler.pir:821)
>> called from Sub 'parrot;PAST;Compiler;post_children' pc 2595 (compilers/pct/src/PAST/Compiler.pir:553)
>> called from Sub 'parrot;PAST;Compiler;as_post' pc 3172 (compilers/pct/src/PAST/Compiler.pir:773)
>> called from Sub 'parrot;PAST;Compiler;post_children' pc 2595 (compilers/pct/src/PAST/Compiler.pir:553)
>> called from Sub 'parrot;PAST;Compiler;pirop' pc 5280 (compilers/pct/src/PAST/Compiler.pir:1388)
>> called from Sub 'parrot;PAST;Compiler;post_children' pc 2595 (compilers/pct/src/PAST/Compiler.pir:553)
>> called from Sub 'parrot;PAST;Compiler;as_post' pc 4565 (compilers/pct/src/PAST/Compiler.pir:1176)
>> called from Sub 'parrot;PAST;Compiler;to_post' pc 1931 (compilers/pct/src/PAST/Compiler.pir:215)
>> called from Sub 'parrot;PCT;HLLCompiler;compile' pc 464 (compilers/pct/src/PCT/HLLCompiler.pir:331)
>> called from Sub 'parrot;HLL;Compiler;eval' pc 24537 (ext/nqp-rx/src/stage0/HLL-s0.pir:8848)
>> called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1501 (compilers/pct/src/PCT/HLLCompiler.pir:764)
>> called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1726 (compilers/pct/src/PCT/HLLCompiler.pir:879)
>> called from Sub 'parrot;NQP;Compiler;main' pc 92462 (ext/nqp-rx/src/stage0/NQP-s0.pir:28374)
>> make[1]: *** [compilers/opsc/gen/Ops/Emitter.pir] Error 1
>
> The problem here is that I cannot reproduce the failure on Debian's ia64
> porterbox. Is anyone able to reliably reproduce it or is aware of any change
> between 4.0.0 and 4.3.0 that may be causing this?
>
> Cheers
>
> [0] https://buildd.debian.org/status/fetch.php?pkg=parrot&arch=ia64&ver=4.3.0-1&stamp=1339321350
>
> --
> perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
>
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>



-- 
Jonathan "Duke" Leto <jonathan at leto.net>
Leto Labs LLC http://labs.leto.net
209.691.DUKE http://dukeleto.pl


More information about the parrot-dev mailing list