|
17:43
_ilbot joined
18:56
japhb_ joined
19:00
TimToady joined
19:12
jnthn joined,
pmichaud joined
|
|||
| pmichaud joins the channel | 19:12 | ||
| omg, so many people here already! | |||
|
19:12
masak joined
|
|||
| jnthn | And plenty of ops, to kick me if I do something crazy :) | 19:12 | |
| japhb_ | Mostly just the people coming from the dark side of the moon | ||
| japhb_ watched Iron Sky last night, so it's on his brane | 19:13 | ||
| Wow, did I just manage to make the fastest Godwin's Law reference ever? | |||
| TimToady | so, what's this channel about, anyway? | ||
| diakopter | btw it's logged already | ||
| masak | moritz++ | 19:14 | |
| diakopter | hee | ||
| hm, now how do I undo that | |||
| pmichaud | "first kick!" .oO( is that like "first post!"? ) | ||
|
19:15
masak joined
|
|||
| masak | I'll try to behave better from now on... | 19:15 | |
| jnthn | 6guts.wordpress.com/2013/05/31/moar...nd-rakudo/ | ||
| moderator | 6guts.wordpress.com/2013/05/31/moar...nd-rakudo/ | 19:16 | |
| masak goes into publishing mode too | 19:16 | ||
| jnthn | So, the post looks right? :) | 19:17 | |
| moderator | is github.com/jnthn/moarvm | 19:17 | |
|
kbenson1 joined
|
|||
| moderator | github.com/jnthn/moarvm | ||
| jnthn | diakopter: wrong url :P | 19:17 | |
| moderator | github.com/moarvm/moarvm | 19:18 | |
|
19:24
[Coke] joined
|
|||
| TimToady | jnthn's post has made planetsix | 19:25 | |
| japhb_ | Posted on HN too now, I hear | 19:26 | |
|
19:26
FROGGS joined
|
|||
| FROGGS | \\o/ | 19:26 | |
| japhb_ | See, now *that's* a proper first comment. :-) | 19:27 | |
|
19:31
nwc10 joined
|
|||
| FROGGS | I hereby officially request a commit bit :o) | 19:33 | |
| diakopter | NEVER | ||
| oh wait.. | |||
| japhb_ | heh | ||
| jnthn | .oO( I'm so glad we have diakopter here to encourage contributors... ) |
||
| FROGGS stopped in the middle of starting to cry | |||
| jnthn | FROGGS: Hm, what's your github id? | 19:34 | |
| FROGGS | my nick | ||
| <--- | |||
| jnthn | oh, duh | ||
| I was typing a username into the repo name box | |||
| And wondering why it didn't autocomplete... | |||
| FROGGS, [Coke]: you now have commit bits | 19:35 | ||
| [Coke] | ... or you could do that. :P | ||
| nwc10 | whatever generates the Makefile, it needs to use a tab and not 4 spaces for the "test" target | ||
|
19:36
dukeleto joined
|
|||
| dukeleto | o/ | 19:36 | |
| TimToady | \\o | ||
| dukeleto | TimToady: fancy seeing you here :) | ||
| pmichaud | o/ | ||
| [Coke] | nwc10: was just fixing that. | ||
| dukeleto is on a plane headed to YAPC::NA | |||
| dukeleto is happy to hear about MoarVM | 19:37 | ||
| FROGGS | jnthn: thanks! | ||
| [Coke] | too slow. | ||
| nwc10: jonathan just fixed it. | 19:38 | ||
| jnthn | oops, sorry :) | ||
| [Coke] | jnthn: you want commit updates to come to this channel? | ||
| jnthn | [Coke]: I was just about to task if anyone knew how to do that. | ||
| [Coke] | I can do it on the github side. need dalek to join here. | ||
| er, you can do it on the github side (i'm a member, not an admin) | 19:39 | ||
| jnthn | [Coke]: What do I need to do? | 19:40 | |
| FROGGS | it is an irc service hook | ||
| maybe steal the post url from rakudo | 19:41 | ||
| [Coke] | not irc, but aye. | ||
| one moment. | |||
| FROGGS | ohh, so not irc :o) | ||
| [Coke] | go to moarvm project. click on settings. service hooks . webhook urls | 19:42 | |
| add something like feather3.perl6.nl:5000/dalek?t=freenode,moarvm | |||
| jnthn | Added | 19:45 | |
| [Coke] | working on getting it to build on darwin. (cheating and assuming it's basically linux. :) | 19:47 | |
| FROGGS | failed to build ubuntu: gist.github.com/FROGGS/60d9fab7bc21d6c18d12 | 19:48 | |
| just wanted to say, no need for an instant fix :o) | |||
| (since I really have to write the slides now) | |||
|
19:49
eternaleye joined
|
|||
| jnthn | FROGGS: That looks like something APR related | 19:50 | |
| nwc10 | ho ho ho, APR loves me: | ||
| typedef off64_t apr_off_t; | |||
| not found the *fix* to that bug on Google yet | |||
| FROGGS | jnthn: is there something I can try? | ||
| $ apr-config --version | 19:51 | ||
| 1.4.6 | |||
|
19:51
PerlJam joined
|
|||
| dukeleto | is moar on Travis yet? | 19:51 | |
| PerlJam: hola | |||
| PerlJam | I just joined to tell you guys are *crazy* ... but in a good way :-) | ||
| FROGGS | indeed, they are | 19:52 | |
| minutes ago I had to explain the history of perl 6 just to explain my excitement :o) | |||
| to my wife * | |||
| eternaleye | A very good way indeed - looking forward to a future with moar p6 :P | ||
| nwc10 | Ah, OK, why is it picking clang? | 19:53 | |
| diakopter | it is? | 19:54 | |
| jnthn | Good question. It looks like it's picking up clang ahead of gcc. | ||
| diakopter | oh yeah. | ||
| jnthn wonders how deliberate that is | |||
| diakopter | cuz it's faster | ||
| masak | "a future with moar p6" \\o/ | ||
| nwc10 | this isn't a great idea, as I'm pretty sure I don't trust the clang I've got installed on Wheezy | ||
| jnthn | diakopter: It's not faster for those it doesn't work out for... :) | ||
| diakopter | heh. | ||
| jnthn | Any objection to defaulting to gcc? | ||
| diakopter | yes, it should check version >3 | ||
| 3.2 | |||
| no | |||
| nwc10 tries removing clang and trying again | 19:55 | ||
| diakopter | updated my talk to reflect it: www.yapcna.org/yn2013/talk/4734 | ||
| FROGGS | nwc10: a week ago some guy had a Perl 5 XS problem where it picked up clang too instead of gcc, maybe there is some ENV var of Perl 5 Config item? | ||
| dukeleto | oy | ||
| the problem is pervasive | 19:56 | ||
| Parrot thought it was smart by using the $Config values of Perl 5 to figure various things out | |||
| THIS IS A HORRIBLE IDEA | |||
| nwc10 | perl 5's config will tell you about the compiler used to build Perl 5. So if that was clang, it will think it wants clang | ||
| dukeleto | Please MoarVM, don't do that. | ||
| jnthn | dukeleto: We're not doing that, afaik. | 19:57 | |
| dukeleto | jnthn: yay! | ||
| :) | |||
| jnthn | Certainly, the thing I'm currently looking at doesn't attempt to do that. | ||
| dukeleto | I see that the build system for moar is "interesting" :) | ||
| jnthn | It's "boring" :) | ||
| diakopter | :) | ||
| masak .oO( It's "moaring" ) | 19:58 | ||
| dukeleto | jnthn: ah. I guess it is interesting to me because I haven't ever used some of those "boring" things :) | ||
| jnthn | I don't want it to become too clever if we can avoid it, 'cus I'm not sure we want it to depend on Perl 5 forever. But for now that's the pragmatic option. | ||
| nwc10 | I sure don't want anything to depend on Perl 5 forever | ||
| dukeleto | jnthn: awesome. Great to see all this. | ||
| [Coke] nearly has things working on OS X. | |||
| jnthn is greatly relieved at the initial positive reaction :) | 19:59 | ||
| FROGGS | of course, that is what I dreamed of | ||
| [Coke] | tryign to run in nqp-cc . it requires a parrot nqp. I duplicate the one I have lying around, put it in nqp-cc/nqp, then run Configure.pl --gen-nqp . it attempt to talk to the github server and then says: | 20:00 | |
| error: pathspec '2013.05-148-g76f3e34' did not match any file(s) known to git. | |||
| eternaleye | jnthn: Considering how much work you've been putting in, and how cool your posts about the JVM have been, I think the initial response is the only one that makes sense. "Hey, the guy who's been doing lots of awesome VM work for months is making a VM!" | ||
| jnthn: If it had been announced in another blog it may have actually gotten a different response, but I suspect it would still be positive. | 20:02 | ||
| jnthn | [Coke]: That's odd. I took the output straight form "nqp --version" of one I knew worked... | ||
| [Coke] | doing a --fetch tags, jic. | ||
| eternaleye | But a large part of it is that you've built up significant credit as a cool guy with cool ideas. | ||
| dukeleto | git tags are fetched by default | 20:03 | |
| [Coke]: but yes, if you haven't fetch recently, you won't have that tag | |||
| PerlJam | eternaleye: not just cool ideas but *working code* | ||
| dukeleto | jnthn: i am interested to help with FFI/NCI/etc in Moar. Let me know when the time is right for that. | 20:04 | |
| [Coke] | I don't often fetch. normall I pull --rebase | ||
| moritz | [Coke]: that fetches too | ||
| dukeleto | [Coke]: "git pull --rebase" = "git fetch && git rebase" | ||
| [Coke]: but thanks for playing! | |||
| jnthn | dukeleto: The stuff I started and arnsholt++ has been carrying on is the right direction... | ||
| dukeleto: That is, for NQP on Parrot | |||
| dukeleto: Most notably, the fact that it uses 6model reprs. | 20:05 | ||
| dukeleto | jnthn: ok, i will look at that when my priority stack looks less like a mountain | ||
| jnthn | The choice of dyncall vs. libffi is off to the side of that, really. It's the 6model integration that really matters. | ||
| dukeleto | jnthn: yep | 20:06 | |
| jnthn: the library that we do ffi with is somewhat arbitrary and not that important | |||
| libffi seems to have a lot more platforms supported and gets many pull requests per week. That is what makes it attractive to me. | |||
| jnthn | dukeleto: Yeah. I've been very happy with dyncall so far. | ||
| Well, at the time I looked, dyncall seemed the more active one and to support plenty. | 20:07 | ||
| But I don't feel strongly. If whoever works on it does it with libffi, provided it works out fine on our key platforms, I'm fine. | |||
| [Coke] | jnthn: in 2013.05-148-g76f3e34, it's tag dash number of commits dash a commit hash ? | ||
| jnthn | yes | 20:08 | |
| oh...I just wonder if... | |||
| [Coke] | so github.com/perl6/nqp/commit/g76f3e34 should go somewhere? | ||
| jnthn | ...my NQP is from the rak-jvm-support branch. | ||
| Sure should... | |||
| [Coke] | 404. | ||
| jnthn | oh, maybe you need fully qualified | ||
| oh, without the g too | 20:09 | ||
| moritz | [Coke]: without the leading g, maybe | ||
| anyway, I get the same error | |||
| [Coke] | moritz: 404 | ||
| jnthn | Does git show 76f3e34 work? | ||
| moritz | no | ||
| [Coke] | fatal: ambiguous argument '76f3e34': unknown revision or path not in the working tree. | ||
| moritz | jnthn: is that an unpushed commit? | ||
| [Coke] | Use '--' to separate paths from revisions | ||
| masak | the 'g' in 'git describe' output means 'Git'. | ||
| jnthn | moritz: d'oh d'oh d'oh | ||
| Sorry all | 20:10 | ||
| masak | it's not part of the commit SHA1. | ||
| moritz | masak: I thought it meant "go away" :-) | ||
| masak | haha | ||
| jnthn | I've now pushed. | 20:11 | |
| [Coke], moritz: give it another try | |||
| moritz | jnthn: it's cloning again | ||
| [Coke] | that seems better. | 20:12 | |
| er, you pushed to nqp or moar? ;) | 20:13 | ||
| nqp, aye? | |||
| dukeleto | the "g" seperates the number of commits (to the left) and the sha1 (to the right) | ||
| Also, it is the next letter after "f" | |||
| jnthn | [Coke]: nqp | ||
| dukeleto | and "g" is not in hexadecimal. Also it stands for "Git" and "good $deity are you freaking kidding me?" | 20:14 | |
| nwc10 | OK, with gcc, the Raspberry Pi can build MoarVM | ||
| however, it will now take a few hours to build a native Parrot and NQP for the cross compiler... | 20:15 | ||
| diakopter | wat. | ||
| dukeleto | nwc10: that is awesome to hear | ||
| diakopter | nwc10: meanwhile, try ./moarvm --dump foo.moarvm | 20:16 | |
| oh wait, there's no .moarvm out there | |||
| jnthn, want to upload a few? | |||
| nwc10 | how *new* a parrot do I need? | ||
| diakopter | it does it for you | ||
| masak | the RASPBERRY PI builds MoarVM? | ||
| \\o/ | |||
| diakopter | ./Configure.pl --gen-nqp | ||
| nwc10 | diakopter: I have one from Nov 2012. | ||
| it will take 2 hours to build fresh current | |||
| diakopter | scrap it | ||
| [Coke] | ok. in nqp-cc, I configured. next step: "run nqp"... there was no install, aye? I have to run it in situ in the build dir? | ||
| jnthn | [Coke]: Ah, yes. | 20:17 | |
| nwc10 | the Raspberry Pi builds most things. Albeit slowly :-) | ||
| jnthn | [Coke]: Feel free to update the README to include the path where it puts it | ||
| [Coke] | ok. sadly: | ||
| PerlJam | so ... when I 'perl Configure.pl && make' on my ubuntu box, it says "undefined reference to `uuid_generate'" | ||
| [Coke] | ???? ./nqp/nqp nqp-moar-cc.nqp -e "say('Hello, MoarVM')" | ||
| ... no output. | |||
| nwc10 | oh, hangon, how portable is the moarvm byetcode? | 20:18 | |
| jnthn | nwc10: Portable. | ||
| nwc10: Nothing machine specific. | |||
| I hope. :) | |||
| diakopter | I think we made it detect endian-ness, right? | ||
| jnthn | diakopter: Well, it detects it, but the spec has it one way. | ||
| diakopter: That is, it decodes it. | 20:19 | ||
| diakopter | yeah | ||
| nwc10 | jnthn: OK, let us test that... | ||
| jnthn | [Coke]: Aww | 20:20 | |
| [Coke] | (cd nqp && ./nqp -e 'say(3)') -> segfault | 20:21 | |
| [Coke] does a git clean and tries again. | |||
| jnthn wonders where it's failing | 20:22 | ||
| You can also try: nqp nqp-moar-cc.nqp --stagestats -e "say('hello')" | 20:23 | ||
| The final line should be soemthing like "Stage moar : 0.000" | |||
| diakopter | you're a millisecond | 20:24 | |
| jnthn | At least we know Moar's startup time isn't too bad yet :P | 20:25 | |
| I'm not sure what the timer resolution is, though. | |||
| [Coke] | that version segfaults on a fresh build. | ||
| jnthn | [Coke]: Segfaults at which point? | 20:26 | |
| [Coke] | just dies if invoked from outside the build dir, cd to build dir, ./nqp ... segf | ||
| simply "./nqp" in nqp-cc/nqp causes a segfault. | |||
| jnthn | eek | ||
| Wonder if it's finding other pieces in the path? | |||
| But shouldn't do that really... | 20:27 | ||
| diakopter | I had it do that | ||
| had to wipe out c:\\Parrot\\ | |||
| [Coke] | Pretty sure it used a pre-installed parrot to build. | ||
| diakopter | not good | 20:28 | |
|
20:28
tgt joined
20:29
`patch` joined
|
|||
| [Coke] | should be fine, though, unless this branch is requiring a specific version of parrot. | 20:30 | |
| diakopter | `patch`: howdy | ||
| [Coke] | but probably not worth fixing. | ||
| `patch` | diakopter: hi! | 20:31 | |
|
20:32
tadzik joined
|
|||
| tadzik | hello hello | 20:32 | |
|
20:33
colomon joined
|
|||
| tadzik | #perl6 is suprisingly calm, so I suspect this may be the excited channel :) | 20:33 | |
| colomon | \\o/ | ||
| no clogging here yet? | |||
| diakopter | yes clogs | ||
| PerlJam | irclog.perlgeek.de/moarvm | 20:34 | |
| colomon | PerlJam++ | ||
| [Coke] | colomon: you should be able to build on darwin now. haven't made gotten nqp-cc to work yet, but close. | ||
| PerlJam | moritz++ (that was like the first thing I checked too :) | ||
| colomon | [Coke]: trying now | ||
| (backlogging) FROGGS, I also had to explain the history of the VMs to my wife. It's just that kind of day... | 20:35 | ||
| FROGGS | colomon: a good day as it turns out | 20:36 | |
| moderator | github.com/moarvm/moarvm irclog.perlgeek.de/moarvm/today | 20:37 | |
| tadzik | NQP revision 2013.05-148-g76f3e34 required (currently 2013.05-3-g0255fc8) | 20:37 | |
| moderator | github.com/moarvm/moarvm | IRC logs at irclog.perlgeek.de/moarvm/today | 20:37 | |
| tadzik | that sounds weird | 20:37 | |
| moritz | tadzik: different branches | ||
| tadzik | oh! | 20:38 | |
| so what branch do I need, rak-jvm-support? | |||
| jnthn | yeah, I thought it wouldn't matter since you end up on the sha-1 | ||
| [Coke] | I would just do --gen-nqp --gen-parrot for now | ||
| jnthn | But anyways, those branches get merged soon. :) | ||
| I got some flying to do before that, though... | 20:39 | ||
| [Coke] | (no point in making the "get nqp & parrot" step awesome if it's going away. | ||
| tadzik | I fly tomorrow to | ||
| * too | |||
| and will have power on the plane, probably :) | |||
| FROGGS | [Coke]: I'm a bit confused, do I need to pass --gen-nqp/--gen-parrot to MoarVM's Configure.pl? | 20:40 | |
| jnthn | FROGGS: No, to the one in the nqp-cc directory | 20:41 | |
| FROGGS | ahh | ||
| does that now | 20:42 | ||
| tadzik | heh, nqp just segfaulted for me in parallel build :) | ||
| pmichaud | twitter.com/MoarVM/status/340569306553274368 | 20:44 | |
| (retweetable) | 20:45 | ||
| tadzik | retweeted | ||
| does MoarVM has a mascot? | |||
| jnthn | Not yet :) | ||
| tadzik | like www.reactionimage.org/img/gallery/5816489306.jpg | ||
| nwc10 | Yep. Portable | 20:46 | |
| nick@raspberrypi ~/Perl/MoarVM $ ./moarvm temp.moarvm Hello, MoarVM | |||
| naughty terminal | |||
| jnthn | \\o/ | ||
| nwc10 | at least, I can build all the *.moarvm files on x86_64 and ship them to a 32 bit ARM | ||
| still all little endian | |||
| Why is it ModuleLoader.class ? | 20:47 | ||
| anyway, win | |||
| the Raspberry Pi is still building parrot | |||
| jnthn | nwc10: Um. | ||
| diakopter | jnthn: I told you about that artifact :P | ||
| jnthn | nwc10: So the story is that I was trying to make things work on Moar without revealing its existence ;) | ||
| And I was too lazy to actually make an nqp fork :) | 20:48 | ||
| I'll clear that up at some point soon. | |||
| It really is a MoarVM bytecode file | |||
| nwc10 | If I can find a big endian machine that I have access to "tomorrow" I'll try a bit more "portabiltly" | ||
| yes, I figured that after looking at it in les | |||
| jnthn | tadzik: Isn't that a bit boaring? :P | ||
| nwc10 | I think that your "magic number" could be more exciting: | 20:49 | |
| en.wikipedia.org/wiki/Portable_Netw...ile_header | |||
| jnthn | Well, it gets the \\r\\n trick at least | ||
| pmichaud | .mbc ? .mvm ? | 20:50 | |
| jnthn | pmichaud: At the moment they come out as .moarvm. | ||
| pmichaud | right. | ||
| [Coke] | 3 test failures on darwin. | ||
| pmichaud | that's just too long for me :) | ||
| jnthn | pmichaud: OK, let's make it something you like :) | 20:51 | |
| [Coke]: Paste welcome :) | |||
| diakopter | pmichaud.metamodelonaruntimevirtualmachine | ||
| PerlJam | mvm | ||
| [Coke] | gist.github.com/coke/5687886 | ||
| jnthn | [Coke]: Was that on make test or make nqptest? | ||
| [Coke] | make test. | ||
| pmichaud | I'm just tossing out ideas, none of them strike me as "right". .mvm seems to be not used except for some obscure movie format | ||
| [Coke] | (in nqp-cc) | ||
| jnthn | ah, make test | ||
| jnthn wonders if the socket ones fail due to some proxy thing | 20:52 | ||
| The float one is worth looking into | |||
| [Coke] | (proxy) could be. | ||
| nwc10 | do the socket tests try to connect to the world? | 20:53 | |
| [Coke] | updated, one failure in nqptest also | ||
| nwc10 | something "more exiting" would be invalid UTF-8, to see if it gets mangled as a replacement character. Or suchlike | 20:54 | |
| jnthn | nwc10: yes | ||
| nwc10 | one octet in the range 128-255 ought to be good enough to mess with things | 20:55 | |
| jnthn | [Coke]: What happens if you run that test in isolation? | ||
| [Coke] | gist.github.com/coke/5687886 | ||
| jnthn | Weird | 20:56 | |
| FROGGS | jnthn: I think I know what is wrong on my box: "checking uuid.h presence... no" | 20:57 | |
| err, no | |||
| jnthn | FROGGS: Hm, so I wonder why it then complains about it... | ||
| FROGGS | checking uuid/uuid.h presence... y | ||
| [Coke] | jnthn: even better. if I print out $x.bar before the test, it prints "BARBAR" and then test 2 passes (t/nqp/57-construction.t) | 20:59 | |
| FROGGS | "checking for library containing uuid_generate... -luuid" -> "3rdparty/apr/misc/unix/rand.c:75: undefined reference to `uuid_generate'" | ||
| this happens in 3rdparty/apr/.libs/libapr-1.a | 21:00 | ||
| do uuid needs to be statically linked? | |||
| jnthn | FROGGS: Hm, perhaps so. I'm wondering why it works on other systems if that's missing, though... | 21:01 | |
| [Coke] wishes someone would give chromatic a hug. | 21:04 | ||
| jnthn | [Coke]: Very odd. Platform is...OSX, 32-bit or 64-bit? | ||
|
21:04
cognominal joined
|
|||
| tadzik | heh. Seeing "t/moar/6model.t" made me think of Test::Moar | 21:11 | |
| oh joy. I jave t/nqp/16-ternary.t segfaulting... unless ran under gdb | 21:14 | ||
| I managed to get gist.github.com/tadzik/5688065 from valgrind | 21:15 | ||
| jnthn | eek, it crashed in the bytecode assembler. | 21:16 | |
| tadzik | I'll try to get a debugging nqp build | 21:17 | |
| if that'd help | |||
| maybe a moar debug would be more appropriate | |||
| but it's already -g, apparently | |||
|
21:18
bronco_creek joined
|
|||
| jnthn | tadzik: Well, it lacks line numbers, but there's only one place it makes the call in question anyway | 21:19 | |
| tadzik | ah, ok | ||
| jnthn | hm, though it could be handy to have the exact line in the top frame | ||
| tadzik | jnthn: gist.github.com/tadzik/5688096 nqp-cc compiled with -ggdb | 21:20 | |
| has some line numbers | |||
| jnthn | Thanks | ||
| tadzik | thank _you_ | 21:21 | |
| jnthn | Hm. Unfortunately, it explodes *inside* the ResizableStringArray code | ||
| FROGGS | jnthn: using the dynamic lib of apr works btw | ||
| jnthn | oh, I wonder... | 21:22 | |
| FROGGS | All tests successful. | ||
| \\o/ | |||
| jnthn | FROGGS: for make test and make nqptest? | ||
| FROGGS | and the speed feels almost perl5ish | ||
| tadzik | jnthn: so, nqp debugging build? | ||
| FROGGS | make test | ||
| jnthn | tadzik: moment | ||
| FROGGS | make nqptest is running right now | ||
| cognominal | reading about libiuv in jnthn blog. Is there an intended convergence between v8/node and moarvm/rakudo-star or is it just an evolutionary thing? | 21:23 | |
| I wish I could use npm modules from rakudo | |||
| jnthn | cognominal: Mostly just that libuv seems to do a lot of stuff right. | 21:24 | |
| cognominal: Not a connection with node, just making use of libuv :) | 21:25 | ||
| FROGGS | jnthn: make nqptest passes too | 21:27 | |
| jnthn | tadzik: Try the commit I just pash | 21:28 | |
| FROGGS: yay | |||
| FROGGS: What did you have to do to get it to work? | |||
|
21:28
labster joined
|
|||
| FROGGS | jnthn: gist.github.com/FROGGS/60d9fab7bc2...ent-838539 | 21:30 | |
| jnthn | Hm, ok | ||
| Wonder if that can be folded into the configure system somehow | 21:31 | ||
| FROGGS | jnthn: I see the line where it wants the .a in the config | ||
| jnthn: is the static lib preferable? | |||
| I mean, dlls are always a bit icky when you have another version installed system wide | 21:32 | ||
| jnthn | FROGGS: I *think* the history may be that I did it the static way to get soemthing working on Windows, and then we ended up with the same on Linux. | 21:33 | |
| tadzik | jnthn: yep, seems to have helped :) | 21:35 | |
| jnthn | \\o/ | ||
| FROGGS | jnthn: should I patch it to use the dll for: [ ] gcc only [ ] clang only [ ] both ? | 21:38 | |
| jnthn | FROGGS: imho, which you can verify that it works on | ||
| FROGGS | can't test clang I suppose, so I leave that as it is | 21:39 | |
|
21:46
dukeleto joined
|
|||
| FROGGS | ahhh, hold on | 21:54 | |
| jnthn: the apr-1.lib on windows is just an importlib, right? | 21:55 | ||
| [Coke] | x86_64 | ||
| colomon | [Coke]: having difficulty building on darwin? | 22:00 | |
| [Coke]: let me try that again. I am having difficultly building on darwin... | |||
| [Coke]: first level works, but nqp-cc build fails. | 22:03 | ||
| [Coke] | colomon: use a fresh nqp & parrot. | ||
| perl Configure --gen-nqp --gen-parrot | |||
| colomon | [Coke]: I did ... both --gen-nqp and --gen-parrot? | 22:04 | |
| [Coke] | if you pick up an old parrot or nqp, it seems to be very unhappy | ||
| colomon | I only did --gen-nqp, I think. | ||
| hmmm... | |||
| [Coke] | both, yes, assuming you have parrot available in your path. | ||
| Yes, that failed for me as well, using an existing parrot. | |||
| colomon | trying again... | 22:05 | |
| [Coke] | and see the backlog for a gist with things that fail for me | 22:06 | |
| (in make test & nqptest) | |||
| eternaleye | jnthn: If you want good debuginfo, I'd recommend -ggdb3 -gdwarf-4 and then use objcopy/strip to split the debuginfo into a separate file. | 22:08 | |
| jnthn: Especially since using objcopy to split it out lets you compress said debug info with zlib. | |||
| jnthn: Even with -O2 I get damn good backtraces. | |||
| colomon | [Coke]: configure failed for me this time. may turn off perlbrew, I get troubles in Rakudo with it as well. | 22:11 | |
|
22:12
raiph joined
|
|||
| colomon | hmmm, it's doing a lot of something.... | 22:16 | |
| FROGGS | in absence of dalek, I push two commits (build on linux/gcc) | ||
| jnthn | eternaleye: Thanks, good to know. | 22:17 | |
|
22:18
japhb joined
|
|||
| eternaleye | jnthn: Yeah. -gdwarf-4 sets it to use version 4 of the DWARF format, but because of the way commandlines are parsed you can't set the debug *level* in the same option. So you then use -ggdb3 to set it to maximum detail. | 22:18 | |
|
22:20
tomyan joined
|
|||
| colomon | [Coke]: I get near total failures on make test | 22:22 | |
| Reason: Incompatible library version: moarvm requires version 5.0.0 or later, but libapr-1.0.dylib provides version 4.0.0 | |||
| japhb_ | And ... there's the flip side of the dylib/static debate | 22:24 | |
| jnthn | grmbl | 22:25 | |
| masak | hm. maybe there should be a build FAQ somewhere, with collected learnings from people who discover stuff while building. | ||
| jnthn | I love how a -1.0 provies 4.0 :) | ||
| colomon appears to have three difference versions of libapr on his system... apr-1, apr-1.0, apr-1.0.3.8 | 22:26 | ||
| FROGGS | colomon: that is the same library | ||
| and same version | |||
| colomon | ah | ||
| FROGGS | like perl5.10.1 is a perl5.10 is a perl5 | 22:27 | |
| colomon | none of which is really 5.0.0, I suppose | ||
| FROGGS | you have 1.3.8 | ||
| I have 1.4.6 or so | |||
| colomon | I'm still on OS X 10.6.8 or so | 22:28 | |
| FROGGS | if it says that it requires 5.0.0 then I guess it was compiled against the 5.0.0 headers, but was linked then against the system lib with the lower version | ||
| colomon finally realizes he can build MoarVM on his Linux box | |||
| or not. | 22:29 | ||
| 3rdparty/apr/include/apr_general.h:28:17: fatal error: apr.h: No such file or directory | |||
| curse you, apr! | |||
| FROGGS | :/ | ||
| that is pretty weird | |||
| but you dont have a space in path? | 22:30 | ||
| colomon | FROGGS: nope | ||
| FROGGS | hmmm | ||
| colomon | think I just don't have APR on that box | ||
| FROGGS | hmm, that apr.h gets created | 22:31 | |
| there is a 3rdparty/apr/include/apr.h.in (and an apr.h on my box now) | |||
| japhb_ | colomon, did you remember to configure before making? | 22:32 | |
| jnthn | APR gets bundled in the repo, so it should be using that one | ||
| FROGGS | there should be noe | ||
| *no makefile before configuring | |||
| japhb_ | Yeah, that's why I'm confused how he got that. | ||
| FROGGS, Yeah, I thought of that just after I pressed enter. | |||
| FROGGS | must be an error before that step | ||
| colomon | I must just be special | 22:33 | |
| FROGGS | *g* | ||
| colomon | starting over from the git clone | ||
| FROGGS | looks like the debuggathons won't be boring :P | ||
| colomon | perl Configure.pl --gen-parrot --gen-nqp | ||
| Unknown option: gen-parrot | |||
| Unknown option: gen-nqp | |||
| Welcome to MoarVM! | |||
| FROGGS | wrong directory | 22:34 | |
| colomon | so that is correct? | ||
| FROGGS | these option need to go to nqp-cc/ | ||
| japhb_ | colomon, The top level Configure.pl is just for MoarVM itself. | ||
| FROGGS | and dont need args | ||
| japhb_ | After building MoarVM, go into the cross-compiler directory (under tools/) and do the line you did above. | ||
| FROGGS | I'm going to bed now, will get to the airport in about 8 hours :/ | 22:35 | |
| gnight | |||
| diakopter | oh boy, another high-volume irc channel I won't have time to backlog | ||
| colomon has 18 hours to the airport | |||
| okay, after I do perl Configure.pl, when I do make is when I get the | 22:36 | ||
| 3rdparty/apr/include/apr_general.h:28:17: fatal error: apr.h: No such file or directory | |||
| message | |||
| diakopter | what dir are you in after that error | 22:37 | |
| colomon | root MoarVN | ||
| VM | |||
| diakopter | wee-uhd. | ||
| colomon | do you guys have an apr.h 3rdparty? | 22:39 | |
| *in your | |||
| diakopter | it bundles apr source right now | ||
| there must've been a problem configuring/building apr during the moar configure | 22:40 | ||
| colomon | there's no report of it.. | ||
| Configuring APR ....................................... OK | |||
| but yeah, it kind of seems like that, doesn't it? | |||
| diakopter | yeah, we need to test how that turns out. | 22:41 | |
| colomon | tell me what to do | ||
| diakopter | sounds like you're up to the challenge :P | ||
| colomon will have to help put his son to bed in a few minutes, mind you... | |||
| when I go in 3rdparty/apr and run ./ocnfigure by hand, I get | 22:45 | ||
| rm: cannot remove `libtoolT': No such file or directory | 22:46 | ||
| not sure if that was a failure or not. | |||
| still no apr.h | |||
| diakopter | wtf | ||
| are you in cygwin? | 22:47 | ||
| colomon | nope, Ubuntu | ||
| 12.10, even | |||
| diakopter | sorry, we don't support linux older than 1 week | 22:49 | |
| colomon | afk # bedtime | 22:50 | |
| diakopter | that was a joke.. :p | 22:56 | |
|
22:59
bronco_creek joined
23:03
BrowserUk joined
|
|||
| BrowserUk | Is there a description of the MoarVM anywhere? (eg. stack or register based? Reentrant? CRT memory management or custom? Runloop: table-driven gotos or calls? Size of the builtin opcode list? Etc.) | 23:31 | |
| eternaleye | BrowserUk: If it exists, it's probably in github.com/MoarVM/MoarVM/tree/master/docs | ||
|
23:32
dukeleto joined
|
|||
| jnthn | Also the full op list is in src/core/oplist | 23:33 | |
| eternaleye | jnthn: One thing I wonder is whether VCGC/MCGC would work as a future direction regarding GC | 23:34 | |
| jnthn | Largely driven by what nqp:: wnats | ||
| eternaleye | jnthn: Those have the benefit of not requiring pauses in order to do collection | ||
| jnthn | Yeah. They have drawbacks too, so the current one is parallel rather than concurrent. | 23:35 | |
| (One drawback being implementation complexity.) | 23:36 | ||
| eternaleye | jnthn: Mm, true. | ||
| jnthn | As a huge generalization, pause time and throughput are trade-offs. | ||
| dukeleto | testing | ||
| eternaleye | jnthn: And thinking back to Parrot, pluggable GC seems... unlikely :P | ||
| jnthn | Pluggable GC has JIT as a pre-requisite. | 23:37 | |
| eternaleye | dukeleto: Looks like it's working. | ||
| jnthn | At least, if you don't want to hose performance. | ||
| dukeleto | eternaleye: thanks :) | 23:38 | |
| jnthn | I mean, you can use the JIT to emit the correct write barriers for the active GC, to the switching overhead vanishes on any hot path code. | ||
| *so | |||
| colomon | diakopter: not my bedtime, Henry's | ||
| diakopter: so we have two bugs? apr's configure fails (maybe?) and MoarVM's Configure.pl doesn't notice? | 23:39 | ||
| jnthn | For now, though, I'd rather focus on getting one GC that works nicely. It's already generational, which helps make most pauses shorter. | ||
| OK, I really should sleep...flight for YAPC::NA tomorrow | 23:40 | ||
| colomon | o/ | ||
| jnthn | 'night | 23:41 | |
| colomon | see you tomorrow, maybe? | ||
| jnthn | colomon: Maybe. masak and I land at 7pm or so. | ||
| colomon | 90 minutes after me. | ||
| jnthn | colomon: Sunday is perhaps more likely. Will see. | ||
| :) | |||
| colomon | Sunday for sure, I hope! | ||
|
23:41
tomyan joined
|
|||
| BrowserUk | What is your reaction if I say that your VM opcode list is completely wrong? | 23:41 | |
| jnthn | BrowserUk: "fine, but then the nqp:: opcode list is completley wrong too" :) | 23:42 | |
| diakopter | BrowserUk: it's not meant to be optimizable at that level, if that's what you're thinking | ||
| jnthn | Well, it's meant to not lose the 6model-meaningful operations. | 23:43 | |
| masak | I think "completely wrong" needs to be qualified somehow. :) | ||
| if it runs stuff, surely it does something right. | 23:44 | ||
| eternaleye | jnthn: You know, since the AST is called "MAST" I can't help but think the appropriate name for a parsing function is "Chew" | ||
| diakopter | BrowserUk: wrong for what purpose/goal/priorities? | ||
| dukeleto | BrowserUk: completely wrong implies there is a completely right, which there isn't :) | ||
| eternaleye | Because it MASTicates the input. | ||
| jnthn | ;) | ||
| masak | *groan* | 23:45 | |
| BrowserUk | Hm. Better reaction than I expected. | 23:46 | |
| diakopter | this isn't perlmonks :P | ||
| dukeleto | BrowserUk: we are immune to trolling here, so you will have to get by on technical prowess :) | 23:47 | |
| TimToady | do we have a hugbot here yet? | ||
| masak | we totally should. | 23:48 | |
| dukeleto waxes his trolling trophies | |||
| TimToady: we surely need one | |||
| BrowserUk | Okay. Its gone midnight here, so I'll write up what I mean and come back tomorrow. (And I ain't rolling ;) | 23:50 | |
| masak | BrowserUk++ | ||
| BrowserUk | Night all. | ||
| masak | o/ | ||
| jnthn | 'night | ||
|
23:51
BrowserUk left
|
|||
| jnthn | OK, really sleep... :) | 23:51 | |
| & | |||
| colomon | huh. I just built the apr included with MoarVM, despite not having an apr.h. | 23:59 | |
| diakopter | yes, it's supposed to build that | ||