Perl 6 - the future is here, just unevenly distributed

IRC log for #moarvm, 2013-12-30

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 [Coke] nwc10: I can build and install moar on os x, but then NQP dies horribly trying to use it.
00:00 [Coke] (it's looking in bin, not lib, for libmoar)
00:02 lee__ [Coke]: i was able to get around that by using --static when configuring moar
00:02 lee__ though it isn't really fixing the problem
00:40 [Coke] anyone working on getting nwc10++
00:40 [Coke] 's patches applied?
02:23 colomon joined #moarvm
02:42 lue joined #moarvm
05:06 diakopter [Coke]: I'll look at tonight
07:01 cxreg is moar going to be the first rakudo with non-blocking i/o?
07:05 cxreg looks to me like the jvm doesn't support that feature
07:38 moritz there's NIO
08:31 odc joined #moarvm
11:22 nwc10 FROGGS: is there any easy way to specify optimisation levels such as -Os or -Og using MoarVM's Configure.pl? It seemed that it wanted them to be numbers.
11:30 FROGGS nwc10: let me fix that
11:35 dalek MoarVM: cda331c | (Tobias Leich)++ | / (2 files):
11:35 dalek MoarVM: allow string options for --optimize and --debug
11:35 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/cda331c443
12:05 nwc10_ joined #moarvm
12:06 ingy1 joined #moarvm
12:11 nwc10_ Gah:
12:11 nwc10_ (gdb) p handle
12:11 nwc10_ $1 = (uv_handle_t *) 0xf56bad86e0ad88c0
13:23 cognominal joined #moarvm
14:50 eternaleye joined #moarvm
15:29 FROGGS uhh, 56bad
15:29 FROGGS that is like really bad
15:34 jnap joined #moarvm
15:50 jnthn joined #moarvm
16:03 colomon joined #moarvm
16:56 dalek MoarVM: 36e958e | nicholas++ | src/core/hll.c:
16:56 dalek MoarVM: In MVM_hll_set_config() need to root config_hash, as GC might move it.
16:56 dalek MoarVM:
16:56 dalek MoarVM: The calls to MVM_string_utf8_decode() allocate, which means that they can
16:56 dalek MoarVM: trigger GC.
16:56 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/36e958e937
16:57 FROGGS nw++
16:57 FROGGS nwc++
16:58 FROGGS hmmm, I should try v5 on moar these days...
17:05 jnthn ooh, yes :)
17:05 * jnthn is looking at the other two nwc10++ patches too
17:07 * jnthn wonders if some of these will get us able to build on the roast machine
17:07 jnthn Assumiung that ain't already happening.
17:08 dalek MoarVM: 6cb9a3a | nicholas++ | src/6model/sc.c:
17:08 dalek MoarVM: MVM_sc_get_sc() was missing a write barrier.
17:08 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/6cb9a3a9a1
17:08 FROGGS ohh, hi jnthn :o)
17:10 FROGGS v5 has a build system since about 30 hours... so it is the right time to try moar (and jvm)
17:15 colomon joined #moarvm
17:25 jnap joined #moarvm
17:33 dalek MoarVM: 9ef1890 | nicholas++ | src/io/fileops.c:
17:33 dalek MoarVM: MVM_file_set_encoding() needs to root oshandle
17:33 dalek MoarVM:
17:33 dalek MoarVM: MVM_string_find_encoding() can allocate, and hence can cause a GC run.
17:33 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/9ef18901da
17:33 dalek MoarVM: 8be359e | jonathan++ | src/strings/ops.c:
17:33 dalek MoarVM: Missing MVMROOT, avoid GC-able-on-stack bugs.
17:33 dalek MoarVM:
17:33 dalek MoarVM: Discovered thanks to bug report by nwc10++.
17:33 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/8be359e584
17:35 jnthn nwc10: What size are we down to by now? :)
17:39 FROGGS the -O3 && BOOTSTRAP.pm error is still there fwiw
17:39 jnthn ugh :(
17:40 FROGGS -O1 still works on my box
17:41 jnthn FROGGS: Is that error still tehre with all the nwc10++ patches I just applied?
17:41 FROGGS I pulled and tried just before telling it
17:42 jnthn ok
17:42 jnthn I dunno if the nursery size thing is being done with Rakudo and NQP builds or just NQP at the moment...
17:42 diakopter .
17:42 diakopter .
17:43 jnthn FROGGS: What opt level do we default to?
17:43 FROGGS to 3 since a few hours
17:44 jnthn Should we not default to something that works? :)
17:46 FROGGS :o)
17:47 dalek MoarVM: 81c749c | (Tobias Leich)++ | Configure.pl:
17:47 dalek MoarVM: default to -O1
17:47 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/81c749c8e6
17:49 jnthn If I configure with --debug I get:
17:49 jnthn Option debug requires an argument
17:49 jnthn See --help for further information
17:49 jnthn But --help tells me...
17:49 FROGGS :(
17:49 jnthn --debug
17:49 jnthn --no-debug
17:49 jnthn Toggle debugging flags during compile and link. Debugging is off by
17:49 jnthn default.
17:50 timotimo yay moarvm commits
17:54 diakopter [Coke]: I guess I won't look at those tonight.. :)
17:55 FROGGS nwc10: do you need to be able to pass a string to --debug too?
17:59 diakopter has moar-support been merged?
17:59 jnthn no
18:12 timotimo there's still a segfault when trying to build Test.pm (but possibly after finishing the build ...)
18:14 timotimo (and again: --stagestats fixes it)
18:14 timotimo but i can make- m-install completely when i add --stagestats to all of the steps
18:14 timotimo `~j
18:15 timotimo make m-spectest tries to rebuild Test.pm, though ... so unless i edit the Makefile, it won't do the spectest run at all
18:15 svitich joined #moarvm
18:16 jnthn Time for dinner :)
18:16 jnthn maybe bbl &
18:16 timotimo bon appetit :)
18:16 woolfy left #moarvm
18:17 woolfy joined #moarvm
18:18 timotimo whoops, more than one --stagestats is deadly
18:26 badlena joined #moarvm
18:27 timotimo i do get a bunch of succeeding tests!
18:34 timotimo nand some hanging ones of course)
18:38 FROGGS you could fudge them while you're at it
18:39 timotimo oof
18:39 timotimo i'll try to look into a null pointer use in radix.t instead
18:39 FROGGS good luck :o)
18:39 timotimo actually, it would be good if i took a typing break
18:39 timotimo my wrists have had to endure some pretty bad posture in the last two weeks
18:42 FROGGS yeah, I had that too recently
19:08 arnsholt joined #moarvm
19:16 FROGGS jnthn: we only have one lib_path which get prepended to .moarvm file lookups... but we need two :o(
19:18 nwc10 jnthn: NQP built with a 3K nursery in about 4 hours
19:18 nwc10 the builds for 2K and 1K are still running
19:18 nwc10 was not building Rakudo due to that nagging handle heisen-SEGV
19:18 nwc10 but the second build passed
19:19 nwc10 and SEGVs in the next step (Test.pm) with what looks like the side effects of a missing write barrier
19:19 nwc10 (this is for a 64K nursery)
19:21 nwc10 may not get a chance to look at that for 48 hours
19:44 colomon joined #moarvm
20:19 arnsholt_ joined #moarvm
20:41 nwc10 2K took 8h25
20:41 nwc10 1K only started 6h20 ago so probably has a while to run.
20:44 FROGGS nwc10: do you need to be able to pass a string to --debug too?
20:48 nwc10 oh, sorry, no, not aware of any debug flags that are strings
20:48 nwc10 just -g -g1 and -g3 IIRC
20:50 FROGGS k
20:50 FROGGS then I will have a fix for -O defaults..
21:01 colomon joined #moarvm
21:10 [Coke] recent changes have more-borked things on the daily run box, now it's failing in nqp again.
21:10 [Coke] (for some time it was failing on loading Test.pm)
21:11 FROGGS [Coke]: that might be duie to the optimize level... I am about to push a fix
21:18 dalek MoarVM: ab5dc6c | (Tobias Leich)++ | Configure.pl:
21:18 dalek MoarVM: make --optimize=1 and --debug off the default
21:18 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/ab5dc6cd23
21:49 dalek MoarVM/moar_libpaths: 8f0eef8 | (Tobias Leich)++ | src/ (4 files):
21:49 dalek MoarVM/moar_libpaths: allow several --libpath options
21:49 dalek MoarVM/moar_libpaths:
21:49 dalek MoarVM/moar_libpaths: And also searh for libperl6_ops_moar.so in these paths.
21:49 dalek MoarVM/moar_libpaths: review: https://github.com/MoarVM/MoarVM/commit/8f0eef8ada
21:50 FROGGS /dev/MoarVM$ perl6-m -e 'say "yay"'
21:50 FROGGS yay
21:51 FROGGS jnthn: one can invoke it fromm other directories now... please review the moar_libpath branches in moar and rakudo
21:55 grondilu joined #moarvm
22:02 dalek MoarVM/moar_libpaths: 4f0df2e | (Tobias Leich)++ | src/core/loadbytecode.c:
22:02 dalek MoarVM/moar_libpaths: forgot this file in "several libpaths" commit
22:02 dalek MoarVM/moar_libpaths: review: https://github.com/MoarVM/MoarVM/commit/4f0df2ec9b
22:34 * jnthn back
22:35 jnthn FROGGS: ooh, you did a "make install" thing?
22:35 FROGGS yes
22:36 FROGGS btw, for parrot we install stuff like Perl6::Grammar to install/nqp/lib, but for jvm and moar in install/perl6/lib... shouldn't it go into nqp/lib because it is a nqp module?
22:38 FROGGS I have trouble using Perl6::Pod and Perl6::Grammar in v5 because nqp-m does not find it :o(
22:39 jnthn FROGGS: Seems reasonable to me...they're to be loaded by the NQP module loader
22:40 FROGGS k
22:43 lue FROGGS++ (must recompile r-m now ☺)
22:43 FROGGS lue: I hope it works out
22:48 lue The only other issue I remember having was that the install directory structure didn't totally respect UNIX conventions (i.e. the <installdir>/languages directory), but I'll have to see what's changed first.
22:52 lue FROGGS: I need to switch from to moar_libpaths in MoarVM and rakudo it seems, right?
22:52 lue s/from//
22:53 FROGGS lue: only if you want to execute perl6-m outside of the rakudo directory
22:53 FROGGS so, no, not now
22:54 lue FROGGS: actually, I do :) Additionally, I should probably update my perl6-p by now, which requires outside-install...
23:11 jnthn Got a fix for the latest nwc10++ bug report on perl6-compiler coming up :)
23:20 dalek MoarVM: 80a60fc | jonathan++ | / (3 files):
23:20 dalek MoarVM: Fix op signature of SC WB ops.
23:20 dalek MoarVM:
23:20 dalek MoarVM: They were declared as handing back obj, but actually gave int64. This
23:20 dalek MoarVM: could leave invalid pointers around in registers.
23:20 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/80a60fc095
23:20 jnthn To build with that, you must also get the latest NQP I just pushed.
23:33 dalek MoarVM/moar_libpaths: 48814c4 | (Tobias Leich)++ | src/core/loadbytecode.c:
23:33 dalek MoarVM/moar_libpaths: protect orig/result from movement
23:33 dalek MoarVM/moar_libpaths: review: https://github.com/MoarVM/MoarVM/commit/48814c4aad
23:57 jnthn FROGGS: If you're going to make something non-static, it needs to get a MVM_foo_ prefix
23:57 jnthn FROGGS: And a better name than figure_filename, I suspect... :)
23:58 FROGGS kk

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary