Thursday, September 22, 2011

Build error after complicated merge

./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Op.pir compilers/opsc/src/Ops/Op.pm
set_attr_str() not implemented in class 'ResizableIntegerArray'
current instr.: 'parrot;NQP;Actions;parameter' pc 84582 (ext/nqp-rx/src/stage0/NQP-s0.pir:23561)
called from Sub 'parrot;Regex;Cursor;!reduce' pc 1238 (ext/nqp-rx/src/stage0/Regex-s0.pir:744)
called from Sub 'parrot;Regex;Cursor;!cursor_pass' pc 692 (ext/nqp-rx/src/stage0/Regex-s0.pir:414)
called from Sub 'parrot;NQP;Grammar;parameter' pc 35045 (ext/nqp-rx/src/stage0/NQP-s0.pir:0)
called from Sub 'parrot;NQP;Grammar;signature' pc 34018 (ext/nqp-rx/src/stage0/NQP-s0.pir:9247)
called from Sub 'parrot;NQP;Grammar;method_def' pc 32373 (ext/nqp-rx/src/stage0/NQP-s0.pir:8911)
called from Sub 'parrot;NQP;Grammar;routine_declarator:sym<method>' pc 30580 (ext/nqp-rx/src/stage0/NQP-s0.pir:8406)
called from Sub 'parrot;Regex;Cursor;!protoregex' pc 2520 (ext/nqp-rx/src/stage0/Regex-s0.pir:1295)
called from Sub 'parrot;NQP;Grammar;routine_declarator' pc 29953 (ext/nqp-rx/src/stage0/NQP-s0.pir:8264)
called from Sub 'parrot;NQP;Grammar;declarator' pc 29503 (ext/nqp-rx/src/stage0/NQP-s0.pir:8127)
called from Sub 'parrot;NQP;Grammar;multi_declarator:sym<multi>' pc 33281 (ext/nqp-rx/src/stage0/NQP-s0.pir:9084)
called from Sub 'parrot;Regex;Cursor;!protoregex' pc 2520 (ext/nqp-rx/src/stage0/Regex-s0.pir:1295)
called from Sub 'parrot;NQP;Grammar;multi_declarator' pc 32964 (ext/nqp-rx/src/stage0/NQP-s0.pir:9022)
called from Sub 'parrot;NQP;Grammar;scoped' pc 28846 (ext/nqp-rx/src/stage0/NQP-s0.pir:7966)
called from Sub 'parrot;NQP;Grammar;scope_declarator:sym<our>' pc 28036 (ext/nqp-rx/src/stage0/NQP-s0.pir:7780)
called from Sub 'parrot;Regex;Cursor;!protoregex' pc 2520 (ext/nqp-rx/src/stage0/Regex-s0.pir:1295)
called from Sub 'parrot;NQP;Grammar;scope_declarator' pc 27407 (ext/nqp-rx/src/stage0/NQP-s0.pir:7640)
called from Sub 'parrot;NQP;Grammar;term:sym<scope_declarator>' pc 21285 (ext/nqp-rx/src/stage0/NQP-s0.pir:5946)
called from Sub 'parrot;Regex;Cursor;!protoregex' pc 2520 (ext/nqp-rx/src/stage0/Regex-s0.pir:1295)
called from Sub 'parrot;NQP;Grammar;term' pc 40076 (ext/nqp-rx/src/stage0/NQP-s0.pir:10741)
called from Sub 'parrot;HLL;Grammar;termish' pc 2977 (ext/nqp-rx/src/stage0/HLL-s0.pir:1291)
called from Sub 'parrot;HLL;Grammar;EXPR' pc 1228 (ext/nqp-rx/src/stage0/HLL-s0.pir:674)
called from Sub 'parrot;NQP;Grammar;statement' pc 7666 (ext/nqp-rx/src/stage0/NQP-s0.pir:2352)
called from Sub 'parrot;NQP;Grammar;statementlist' pc 7151 (ext/nqp-rx/src/stage0/NQP-s0.pir:2228)
called from Sub 'parrot;NQP;Grammar;comp_unit' pc 6694 (ext/nqp-rx/src/stage0/NQP-s0.pir:2107)
called from Sub 'parrot;NQP;Grammar;package_def' pc 26917 (ext/nqp-rx/src/stage0/NQP-s0.pir:7510)
called from Sub 'parrot;NQP;Grammar;package_declarator:sym<class>' pc 26191 (ext/nqp-rx/src/stage0/NQP-s0.pir:7265)
called from Sub 'parrot;Regex;Cursor;!protoregex' pc 2520 (ext/nqp-rx/src/stage0/Regex-s0.pir:1295)
called from Sub 'parrot;NQP;Grammar;package_declarator' pc 25524 (ext/nqp-rx/src/stage0/NQP-s0.pir:7132)
called from Sub 'parrot;NQP;Grammar;term:sym<package_declarator>' pc 21012 (ext/nqp-rx/src/stage0/NQP-s0.pir:5867)
called from Sub 'parrot;Regex;Cursor;!protoregex' pc 2520 (ext/nqp-rx/src/stage0/Regex-s0.pir:1295)
called from Sub 'parrot;NQP;Grammar;term' pc 40076 (ext/nqp-rx/src/stage0/NQP-s0.pir:10741)
called from Sub 'parrot;HLL;Grammar;termish' pc 2977 (ext/nqp-rx/src/stage0/HLL-s0.pir:1291)
called from Sub 'parrot;HLL;Grammar;EXPR' pc 1228 (ext/nqp-rx/src/stage0/HLL-s0.pir:674)
called from Sub 'parrot;NQP;Grammar;statement' pc 7666 (ext/nqp-rx/src/stage0/NQP-s0.pir:2352)
called from Sub 'parrot;NQP;Grammar;statementlist' pc 7151 (ext/nqp-rx/src/stage0/NQP-s0.pir:2228)
called from Sub 'parrot;NQP;Grammar;comp_unit' pc 6694 (ext/nqp-rx/src/stage0/NQP-s0.pir:2107)
called from Sub 'parrot;NQP;Grammar;TOP' pc 1322 (ext/nqp-rx/src/stage0/NQP-s0.pir:497)
called from Sub 'parrot;Regex;Cursor;parse' pc 371 (ext/nqp-rx/src/stage0/Regex-s0.pir:230)
called from Sub 'parrot;HLL;Compiler;parse' pc 96 (ext/nqp-rx/src/stage0/HLL-s0.pir:63)
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:8260)
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 1719 (compilers/pct/src/PCT/HLLCompiler.pir:875)
called from Sub 'parrot;NQP;Compiler;main' pc 92462 (ext/nqp-rx/src/stage0/NQP-s0.pir:0)
make: *** [compilers/opsc/gen/Ops/Op.pir] Error 1Hi,

I'm trying to pick up Chandler's threading work in the gsoc_threads branch.
First step would be to bring it up to date wrt current master (pre
kill_threads to be precise). I branched green_threads off gsoc_threads and
merged master into it. Cleaned up all conflicts and tried to build but the
build fails with the attached message.

Since the thread adds new ops, I tried to make bootstrap-ops but this needs a
working parrot. So I built again from master, checked out green_threads and
modified the makefile to not rebuild ops2c for bootstrap-ops. With that I got
bootstrap-ops to rebuild core_ops.c ops.h and opsenum.h before failing. But
even with that I get the same error.

I'd say, I'm missing too much insight here to get on on my own. So any
pointers or suggestions on what to try would be greatly appreciated.

Stefan

No comments:

Post a Comment