Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load_bytecode('perl6.pbc') fails #1645

Closed
p6rt opened this issue Apr 1, 2010 · 7 comments
Closed

load_bytecode('perl6.pbc') fails #1645

p6rt opened this issue Apr 1, 2010 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Apr 1, 2010

Migrated from rt.perl.org#73944 (status was 'resolved')

Searchable as RT73944$

@p6rt
Copy link
Author

p6rt commented Apr 1, 2010

From @sorear

The file can be loaded as a main program, but not using load_bytecode.

There is both a trivial bug and a subtle bug.

First, ClassToBe in ClassHOW.pir is defined in an :init block; it needs
to be defined in an :init :load block. This is the trivial bug.

The subtle bug, I have failed to track. It manifests as an exception
generated at load_bytecode time​:

too many positional arguments​: 3 passed, 1 expected
current instr.​: 'parrot;P6protoobject;new' pc 1316 (runtime/parrot/library/P6object.pir​:784)
called from Sub 'perl6;Any;_block3575' pc 333021 (src/gen/core.pir​:28792)
called from Sub '!fire_phasers' pc 1023 (src/glue/phasers.pir​:47)
called from Sub '!UNIT_START' pc 1299 (src/glue/run.pir​:24)
called from Sub '_block30514' pc -1 ((unknown file)​:-1)
called from Sub '_block11' pc 0 (EVAL_1​:6)
... call repeated 1 times

_block3575 corresponds to​:

  INIT {
  our @​trig-base-conversions = (1.0, pi / 180.0, pi / 200.0, 2.0 * pi);
  }

in src/core/Any-num.pm.

-sorear

@p6rt
Copy link
Author

p6rt commented Oct 7, 2011

From @coke

Need an example against current rakudo to test with.

OP is currently stalled on rakudo's memory requirements for the build
process.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 7, 2011

@coke - Status changed from 'new' to 'stalled'

@p6rt
Copy link
Author

p6rt commented Nov 21, 2012

From @ShimmerFairy

Apparently was a Blizkost bug, and not relevant now with 6model (see​:
http://irclog.perlgeek.de/perl6/2012-11-21#i_6172008). Closing the ticket.

@p6rt
Copy link
Author

p6rt commented Nov 21, 2012

The RT System itself - Status changed from 'stalled' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 21, 2012

From @ShimmerFairy

Thought I could close it. nevermind. (Should be closed though)

@p6rt p6rt closed this as completed Nov 8, 2013
@p6rt
Copy link
Author

p6rt commented Nov 8, 2013

@timo - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant