Rakudo won't build on parrot trunk (ops massacre)

Moritz Lenz moritz at faui2k3.org
Thu May 27 12:44:48 UTC 2010


Hi,

currently Rakudo doesn't build on parrot HEAD.

The following Patch to Rakudo should fix it, IMHO:


diff --git a/src/Perl6/Compiler.pir b/src/Perl6/Compiler.pir
index 8b27aab..7a495bd 100644
--- a/src/Perl6/Compiler.pir
+++ b/src/Perl6/Compiler.pir
@@ -17,9 +17,16 @@ Perl6::Compiler - Perl6 compiler
  .loadlib 'perl6_group'
  .loadlib 'perl6_ops'
  .loadlib 'math_ops'
+
  # for gcd
  .loadlib  'obscure_ops'

+# for pow
+.loadlib 'trans_ops'
+
+# for printerr
+.loadlib  'io_ops'
+
  .sub '' :anon :load :init
      load_bytecode 'P6Regex.pbc'


However it seems to have no effect. An installable parrot can't load 
io_ops (and maybe trans_ops too, no idea) (not installed? broken?) and 
fails silently (<sarcasm>impressive robustness</sarcasm>).

It would be nice to have those ops back that Rakudo needs :-)

Cheers,
Moritz


More information about the parrot-dev mailing list