dalek | arVM: 41836eb | jnthn++ | src/6model/s (3 files): Implement deserialize bit of object repo. |
00:07 | |
arVM: 9345cbe | jnthn++ | src/core/interp.c: Scatter some SC object write barriers. Taken from all the places the JVM backend puts them. |
00:11 | ||
jnthn | Note that you'll need to rebuild Moar, NQP and Rakudo with the latest stuff I've done. | 00:12 | |
If you managed to reproduce what I have, Test.pm now pre-compiles and 4 sanity tests fail. | 00:14 | ||
*manage | |||
dalek | arVM: 576042c | jnthn++ | src/6model/reprs/P6opaque.c: Fix clone/null sentinel interaction bug. |
00:35 | |
[Coke] | I just built rakudo-moar... "make test" is trying to run perl6-p ? | 01:02 | |
jnthn | [Coke]: Likely just makefile copy-pasto | 01:04 | |
[Coke]: I've been invoking prove directly | |||
[Coke]: Feel free to commit a fix, of course :) | 01:08 | ||
01:31
seaker joined
01:59
jnap joined
|
|||
[Coke] | gist.github.com/coke/8016363 looks like a good start, but I get a makefile error when I rebuild. | 02:25 | |
moritz | [Coke]: the rebuild error looks unrelated to your patch | 02:30 | |
[Coke] | if the patch looks good, feel free to apply. sleep here soon. (and why are you awake?) | 02:35 | |
oh, you did already. :) | |||
02:59
jnap joined
|
|||
moritz | why am I awake? $daughter is to blame :-) | 03:03 | |
04:00
jnap joined
04:10
colomon joined
04:20
harrow joined
05:01
jnap joined
06:02
jnap joined
07:02
jnap joined
07:30
FROGGS joined
08:03
jnap joined
09:04
jnap joined
09:12
flussence joined,
_sri joined,
TimToady joined
09:21
flussence joined,
_sri joined,
TimToady joined
10:05
jnap joined
|
|||
dalek | arVM: 0005ecc | jnthn++ | src/core/exceptions.c: Handle CONTROL category correctly. |
10:11 | |
jnthn | That was at least half of why warnings ended up fatal. | 10:12 | |
FROGGS | cool | 10:15 | |
timotimo | \o/ | ||
FROGGS .oO( or rather (Cool) ? ) | |||
jnthn | And fixed another issue in NQP related to it | 10:16 | |
Now they still end up fatal. grr. | |||
But the handler actually runs. | |||
So, suspect nqp::resume is not doing quite what it needs to... | 10:17 | ||
FROGGS builds everything | |||
jnthn | oh hmm, how on earth does resume work... | 10:19 | |
FROGGS | I did that me thinks | ||
jnthn | I don't quite understand wha tit's doing. | 10:21 | |
FROGGS | so at least you don't need to blame the weatherman :o) | ||
jnthn | Of note, I don't see it updating tc->cur_frame anywhere... | ||
Also I think it's trying to make non-resumable things into resumable ones...somehow ;) | |||
FROGGS | :S | 10:22 | |
id does some magic here too: src/core/interp.c:3541 | |||
but I don't see an update on tc->cur_frame there either | 10:23 | ||
jnthn | Hmm | ||
Yeah, this looks...fishy. | |||
FROGGS | I'm sorry | 10:24 | |
jnthn | Don't be. It was good enough for the NQP tests for resume at least ;) | 10:25 | |
And it's *not* a nice thing to implement... | |||
FROGGS | I still think I learned something at that time, which is always nice :o) | 10:28 | |
10:30
tgt joined
10:55
FROGGS joined
11:05
jnap joined
|
|||
jnthn | ooh, I may just have something that works | 11:06 | |
timotimo is eager to pull before leaving towards his train | 11:11 | ||
dalek | arVM: 743bc1b | jnthn++ | src/ (3 files): Fix resumable exceptions. Now warnings in Rakudo are not fatal. |
11:14 | |
timotimo | \o/ | 11:15 | |
jnthn | Down to 3 failing sanity tests with that, btw. | 11:22 | |
timotimo | wow, that's awesome! | ||
and now i'll go train | |||
11:40
FROGGS joined
|
|||
dalek | arVM: 006f6f6 | jnthn++ | src/ (10 files): Correctly provide invocant to invocation handlers. |
11:52 | |
jnthn | And then there were 2... | ||
diakopter | O_O | 11:56 | |
jnthn | 07-op-string.t and 99-test-basic.t | 11:58 | |
12:06
jnap joined
12:07
woolfy joined
|
|||
nwc10 | I assume that the build shouldn't fail with: | 12:24 | |
src/vm/moar/ops/perl6_ops.c: In function ‘p6capturelex’: | |||
src/vm/moar/ops/perl6_ops.c:333: error: too few arguments to function ‘MVM_frame_find_invokee’ | |||
src/vm/moar/ops/perl6_ops.c: In function ‘p6captureouters’: | |||
src/vm/moar/ops/perl6_ops.c:350: error: too few arguments to function ‘MVM_frame_find_invokee’ | |||
jnthn | Uh, not if you have the local patch I do... :) | 12:25 | |
timotimo | d'oh :) | 12:27 | |
okay, i built a fresh nqp-jvm, now i can try going at the boot interop code again | 12:40 | ||
12:41
tgt joined
12:44
tgt joined
|
|||
jnthn | timotimo: yay :) | 12:57 | |
12:57
lizmat joined
13:00
FROGGS joined
|
|||
timotimo | (in reality, i was still missing rakudo) | 13:02 | |
(so i'm compiling that now, while playing a bit of Race The Sun in the mean time :P) | |||
FROGGS | "Rakudo has been built and installed." | ||
I like that :o) | |||
timotimo | .his is a no-cellphone-area with "psst" icons on the walls but still people are talking to each other or on the phone :\ | ||
dalek | arVM: 67d0815 | jnthn++ | src/strings/ops.c: Fix bitwise string and. Should take length of the shortest string. |
13:03 | |
FROGGS | ohh, the runner seems to be wrong | ||
jnthn | FROGGS: While you're looking at that stuff, "make test" doesn't work for me, but running prove --exec=perl6-m t/01-sanity does... | 13:04 | |
FROGGS | k, I see what is up with the runner at least | 13:05 | |
jnthn | I'm now down to just one sanity test fail | 13:06 | |
FROGGS | will looks at `make test` in a sec | ||
jnthn++ | |||
FROGGS .oO( but the he took a sanity test to the knee ) | |||
moritz | jnthn: does prove --exec=perl6-m.bit t/01-sanity work? | 13:07 | |
13:07
jnap joined
|
|||
FROGGS | bit? | 13:07 | |
that would be the problem I am about to commit | 13:08 | ||
jnthn | bat | ||
FROGGS | err, I would commit the fix of course | ||
jnthn | But yes, it does with .bat | ||
FROGGS | hmpf, it tries to recompile the ops now when running `make test` | 13:14 | |
moritz | moar-support setting build segfaults again :( | 13:23 | |
timotimo | 66 | 13:24 | |
~j. | |||
whoops. | |||
moritz | better without the j :-) | ||
timotimo | yeah, works a lot better :D | 13:25 | |
the most frustrating part is when you *think* the connection is dead | |||
and you <cr>~. and whatever line you've partially typed before makes it out m) | |||
FROGGS | jnthn: if you set "merge => 1" to 0, in t/harness, you get: | 13:28 | |
Unhandled exception: Cannot find method 'postcircumfix:<( )>' | |||
at <unknown>:1 (./CORE.setting.moarvm:print_exception:4294967295) | |||
moritz is familiar with that | |||
FROGGS | ... for all tests | ||
ahh, I think I need to wait for jnthn's local patch... | 13:34 | ||
src/vm/moar/ops/perl6_ops.c: In function ‘p6captureouters’: | |||
src/vm/moar/ops/perl6_ops.c:362:9: error: too many arguments to function ‘MVM_frame_find_invokee’ | |||
nwc10 | git pull, as it's already there | 13:36 | |
FROGGS | ahh, have missed that... thanks! | ||
that seems to help :o) | |||
jnthn: `make test` does work for me now | 13:41 | ||
four test files fail | 13:42 | ||
11, 14, 15 and 99 | |||
jnthn | You're likely missing some latest commits from Moar or NQP. | 13:43 | |
moritz missed a moar commit | |||
FROGGS | k | 13:44 | |
jnthn | wtf, now I always get a segfault building Test.pm... | 13:45 | |
FROGGS | :( | 13:49 | |
I hope it is there under the debugger too | |||
see you later | |||
plain & | |||
13:59
jnap joined
15:20
eternaleye joined
16:23
tgt joined
17:01
cognominal joined
17:06
eternaleye joined
17:22
FROGGS joined
|
|||
FROGGS | GatherIter is kinda pressing now, right? | 18:08 | |
18:13
_sri joined,
flussence joined,
TimToady joined
|
|||
jnthn | Well, I'm gonna do a cheating one. | 18:37 | |
That ain't lazy | |||
And then I'll do the continuations in the new year, unless somebody beats me to it :) | |||
timotimo | wouldn't likely be me :) | 18:40 | |
diakopter | :D | 18:45 | |
timotimo | jnthn: omg omg omg i think my crap works now | ||
diakopter | hopefully me | ||
timotimo: better run to the .. oh nm | |||
msg chanserv op #moarvm | 18:48 | ||
gah | |||
jnthn | whoz op? | 19:11 | |
tiyay! | |||
wtf | 19:12 | ||
timotimo: yay :) | |||
20:15
cognominal joined
20:21
ssutch joined
|
|||
jnthn | Urgh, current bug is taking quite some hunting... :/ | 20:25 | |
diakopter | talk it out to me :) | ||
20:28
cognominal joined
|
|||
jnthn | Well, given these lines: | 20:31 | |
nqp::say(nqp::elems($!rest)); | |||
nqp::say(nqp::elems(nqp::getattr($x, Parcel, '$!storage'))); | |||
nqp::splice($!rest, nqp::getattr($x, Parcel, '$!storage'), 0, 0); | 20:32 | ||
nqp::say(nqp::elems($!rest)); | |||
The fact the says come out with | |||
0 | |||
1 | |||
2 | |||
Seems a bit odd | |||
You have a list with 0 elems, you splice in a list of 1 elems, and suddenly you get a list with 2 elems. | |||
diakopter | istr splice was not thoroughly done/reviewed | ||
jnthn | I'd thought it was mostly a fairly direct port... | 20:33 | |
nwc10 | jnthn: one for your later enjoyment - paste.scsys.co.uk/285849 - Can't build NQP with a MoarVM with a 2034K nursery | 20:34 | |
20:35
colomon joined
20:40
eternaleye joined
|
|||
jnthn | nwc10: Hm, if we try to dereference each thing as we add it to the worklist, it'll crash at a much more informative place, I'd guess. | 20:40 | |
nwc10 | yes, that's an interesting idea that should work | 20:41 | |
but tonight I am going to bed. And no guarantee if I have time tomorrow to figure out how many places need to be tweaked to do that | 20:45 | ||
diakopter | nwc10: I bet you'll have time to count to 1 :) | 20:47 | |
20:55
eternaleye joined
20:57
eternaleye joined
|
|||
jnthn | argh, found it | 21:06 | |
timotimo | \o/ | 21:07 | |
dalek | arVM: ac15634 | jnthn++ | src/6model/reprs/MVMArray.c: Fix double-adding of start in splice. Led to incorrectly sized array and potentially looking at garbage. |
21:17 | |
22:29
colomon joined
22:43
colomon joined
|
|||
lue | I just pulled & compiled MVM and NQP, and now I get this with rakudo: src/vm/moar/ops/perl6_ops.c:350:5: error: too many arguments to function ‘MVM_frame_find_invokee’ | 23:23 | |
(also pulled rakudo, I should mention) | |||
jnthn | lue: That sounds like your MVM didn't make install proprely, or it went in a different place then your NQP/Rakudo ended up pointed at. | 23:24 | |
That API change happened yesterday. | |||
lue | I'll run through the process again, then. Maybe manually delete some MVM stuff o'er in the install dir. | 23:25 | |
jnthn: this is weird. The timestamp of the offending header is today, but apparently it's still mismatched with— the last git log commit was from the 15th *headdesk* | 23:39 | ||
jnthn | That'd do it :P | 23:40 | |
TimToady blows away all of install and nqp when he's serious about rebuilding | 23:42 | ||
lue | TimToady: detonating /usr/local is generally perceived as dangerous to your health :) | 23:43 | |
TimToady | putting random junk in /usr/local is also generally perceived as suboptimal :) | 23:47 | |
lue | /usr/local = non-package-manager programs, to me at least :) | 23:50 | |
TimToady | /home/larry for me :) | 23:51 | |
lue | /home feels too volatile for programs I want to use often. | ||
jnthn: as predicted, updating my Moar repo worked, and it's moved on now :) | 23:52 | ||
TimToady doesn't like putting volatile stuff into /usr/local | 23:53 | ||
lue | I basically treat /usr/local as the location for programs that would go in /usr, had I installed them through portage. | 23:54 | |
lue & | 23:55 |