Show enters and exits. Hide enters and exits.
| 14:21:14 | qz | is rubinius suitable for embedding in C/C++ program, and does it compile on windows with visual studio? |
| 14:22:04 | scoopr | I don't think it compiles on windows quite yet |
| 14:25:40 | cremes | qz: and no one knows if it is suitable for embedding because (AFAICT) no one has done it yet; you could be the first! |
| 14:27:36 | qz | cremes, nice. i'll try if i'll be able to build it on linux ;) |
| 14:27:58 | cremes | excellent.... |
| 14:28:03 | qz | are rubinius developers visiting this channel so i can ask questions if something goes wrong? |
| 14:28:10 | qz | *build on windows ofc |
| 14:29:11 | cremes | yeah, they are on here all the time; wait about 3 more hours and they'll all start popping in... |
| 14:30:16 | cremes | i think a bunch of them live at the GMT - 7:00 timezone |
| 14:30:25 | cremes | s/at/in/g |
| 15:26:37 | dbussink | qz: building on windows won't succeed atm, maybe you'd be succesful with cygwin |
| 15:27:10 | dbussink | qz: if you get it to build on windows that would be great though of course |
| 15:27:19 | qz | heh, i'll try to.. |
| 16:53:31 | jer | anyone here on osx 10.5 having build problems with latest git? keep getting an error on redefinition of struct std::tr1::hash<long long unsigned int> ... it happens in a ifdef check for GNUC <= 4 && GNUC_MINOR <= 3 |
| 16:53:37 | jer | using gcc 4.2.1 |
| 16:58:00 | brixen | jer: yeah that check needs to account for 4.2.1 |
| 16:58:43 | jer | ok, how? |
| 16:59:05 | jer | i mean, do i just need to exclude 4.2.1 from the check, or is there something else that needs to be done? |
| 17:00:30 | brixen | should be able to change it to GNUC_MINOR <= 2 |
| 17:00:45 | jer | err wait, it is < 3 not <= 3 |
| 17:00:56 | brixen | hm |
| 17:02:28 | brixen | right, < 2 |
| 17:02:32 | brixen | try that |
| 17:02:40 | jer | just did |
| 17:02:44 | jer | moved past it now |
| 17:02:47 | jer | hopefully that's the end of it |
| 17:02:49 | brixen | k |
| 17:03:05 | brixen | did you use gcc_select to get 4.2.1 on os x? |
| 17:03:34 | brixen | here's the issue, 4.2.1 has an issue compiling with -O2, so once it builds, rbx won't run |
| 17:03:55 | brixen | evan is looking into that, but you should build with 4.0 for now |
| 17:04:12 | jer | brixen, hrmm ok |
| 17:04:24 | jer | well, new stuff: http://pastebin.com/m25753866 |
| 17:04:53 | jer | looks like a missing include |
| 17:06:29 | brixen | jer: how are you configuring it to use 4.2? |
| 17:08:19 | jer | yes |
| 17:08:38 | jer | i'll switch to 4.0 |
| 17:27:37 | jer | brixen, same thing |
| 17:27:42 | jer | as in the pastebin link |
| 17:28:09 | brixen | jer: ok, let me try to build head |
| 17:29:00 | jer | fixed by including sys/types.h, sys/time.h and sys/resource.h |
| 17:29:04 | jer | in vm/vm.cpp |
| 17:29:08 | brixen | k |
| 17:29:20 | brixen | I'm not seeing the error, which is odd |
| 17:29:43 | jer | hrmm |
| 17:29:43 | brixen | you're on os x 10.5.7? |
| 17:29:45 | jer | interesting |
| 17:29:51 | jer | 10.5.6, haven't upgraded yet |
| 17:29:56 | brixen | hm |
| 17:30:09 | jer | oh shoot, i was building on a freebsd box |
| 17:30:10 | jer | sorry |
| 17:30:36 | jer | vm/builtin/compilemethod.cpp line 95 also needed a return NULL; fall-through or errors occur |
| 17:30:44 | jer | (after the assert) |
| 17:30:55 | brixen | ahh, ok |
| 17:31:01 | brixen | well that makes more sense then :) |
| 17:31:22 | brixen | could you put together a patch for these issues? |
| 17:31:42 | brixen | also, go ahead and build with 4.2.1 and see if rbx runs |
| 17:31:49 | brixen | maybe it's just gcc on os x |
| 17:32:14 | jer | oh man, a lot of errors after that one |
| 17:32:23 | jer | brixen, yeah i can make a patch, should just fix them all first =] |
| 17:32:29 | brixen | ok |
| 17:32:43 | brixen | I don't think anyone has tried to build on freebsd in a long while |
| 17:32:47 | jer | http://pastebin.com/m53a076cc |
| 17:32:48 | jer | good times |
| 17:33:46 | brixen | probably just clashing on std::tr1 again |
| 17:33:46 | jer | oh wait, g++ was still 4.2.1 and gcc was 4.3.4 hrmm, let's fix that and try |
| 17:34:02 | jer | cleans |
| 17:34:25 | brixen | folks are building on linux ok with 4.3.[234] |
| 17:35:53 | jer | yeah i think it was a problem with the mixed gcc version, that was my mistake |
| 17:36:40 | jer | freebsd is more strict on missing includes than any other platform i know about |
| 17:36:53 | brixen | yeah, those you'll need I'm sure |
| 17:37:12 | brixen | os x adds a bunch by default so we miss them |
| 17:41:08 | jer | getting better |
| 17:41:09 | jer | http://pastebin.com/m933f06c |
| 17:41:17 | jer | just a missing -pthread |
| 17:42:16 | brixen | cool |
| 17:42:37 | jer | aha, adding a -lpthread in vm.make's ex_libs method under PLATFORM =~ /bsd/ |
| 17:42:39 | jer | fixed that |
| 17:42:55 | jer | slowly getting there, now compiling all the .rb files |
| 17:50:14 | jer | hrmm looks like another missing include in one of the tests |
| 17:50:58 | jer | nope, expects the compiler to define __WORDSIZE methinks, which freebsd's gcc apparently doesn't |
| 17:51:08 | brixen | erg |
| 17:51:20 | brixen | I thought that was standard gcc :( |
| 17:51:46 | jer | well i'm just working around it for the moment |
| 17:51:51 | jer | i'll investigate more later |
| 17:52:05 | jer | neato, 724 tests run, no errors |
| 17:52:11 | brixen | sweet |
| 17:52:35 | jer | just need to figure out why __WORDSIZE isn't defined, and then i'll have a nice little patchset |
| 17:52:45 | jer | oh i spoke too soon, it started running more tests, see a few F's |
| 17:53:09 | brixen | that should be the specs |
| 17:56:00 | dbussink | few F's could also point at platform differences on freebsd, dunno how regular rubyspec is ran on freebs |
| 17:56:03 | dbussink | freebsd |
| 17:56:37 | brixen | yeah, possibly |
| 17:56:55 | brixen | just distinguishing the vm tests from the specs |
| 18:00:58 | jer | that was fun, one of the tests killed the box heh |
| 18:01:17 | brixen | heh, oops |
| 18:03:22 | yakischloba | tiger does not have __WORDSIZE either iirc that was a problem for me a little hwile back |
| 18:03:39 | brixen | yakischloba: what did you use? |
| 18:03:54 | yakischloba | mmm WORD BIT somethin or other? i assumed that was equiv |
| 18:04:10 | brixen | ok |
| 18:04:23 | yakischloba | ya |
| 18:04:23 | yakischloba | ./i386/limits.h:#define WORD_BIT 32 |
| 18:06:02 | jer | this crash for anyone else: def x(y) puts y if y == 2**10; x(y + 1); end; x(1) #=> 1024 then core dump |
| 18:06:46 | jer | just wants to know if it is potentially related to some change i made (while not definitive any answer you give me, it might help point me into the slap myself on the wrist mode, or continue scratching my head, as the backtrace is very hard to interpret =]) |
| 18:06:57 | brixen | jer: I get a StackError |
| 18:07:05 | brixen | exception backtrace |
| 18:07:42 | jer | ah ok |
| 18:24:21 | evan | morning. |
| 18:24:37 | brixen | morning |
| 18:24:51 | evan | got my parents back off to Montana |
| 18:25:07 | brixen | cool, did they have a fun time? |
| 18:25:12 | evan | yep |
| 18:25:17 | brixen | nice |
| 18:25:17 | evan | went to a Dodgers game |
| 18:25:30 | evan | sunned at the pool yesterday (I managed to get my first minor sunburn of the summer) |
| 18:26:31 | brixen | heh |
| 18:26:45 | brixen | it's sunny there almost all the time! |
| 18:27:27 | evan | hah |
| 18:27:29 | evan | yeah, funny enough |
| 18:27:31 | evan | it's been overcast |
| 18:27:37 | evan | we've got some june gloom going on |
| 18:27:53 | brixen | here too |
| 18:28:07 | brixen | dark clouds for 2 days but no rain |
| 18:31:13 | evan | how was your weekend? |
| 18:31:33 | brixen | pretty good |
| 18:31:40 | brixen | got jenny some more seat time |
| 18:31:51 | brixen | she's going for try 5 to get her endorsement |
| 18:31:54 | brixen | heh |
| 18:31:56 | evan | seat time == motorcycle? |
| 18:31:58 | brixen | yeah |
| 18:32:03 | evan | hehe |
| 18:32:15 | evan | practice makes... frusteration! |
| 18:32:19 | brixen | indeed |
| 18:32:27 | brixen | she does really good until test time |
| 18:33:02 | evan | nerves I guess. |
| 18:33:06 | brixen | yeah |
| 18:35:39 | brixen | evan: so I'm trying to track this down http://gist.github.com/125952 |
| 18:36:11 | brixen | but I'm not following why @method is a Compiler::Node::Script in ZSuper#bytecode |
| 18:36:25 | evan | lets see... |
| 18:36:26 | brixen | at least I think that's where I was on sat |
| 18:36:45 | evan | ah |
| 18:36:50 | evan | it's a script because there is no def |
| 18:36:53 | evan | for it to track |
| 18:37:04 | brixen | ok |
| 18:37:27 | evan | this is a tricky one |
| 18:37:38 | evan | because zsuper is supposed to inject the args |
| 18:37:59 | brixen | yeah |
| 18:38:10 | evan | so what probably needs to happen is that the block args from the define_method need to be presented to zsuper |
| 18:38:20 | evan | and it will look at those to figure out what to push on the stack to call super with |
| 18:39:21 | evan | likely needs to be a special case |
| 18:39:35 | evan | hm. |
| 18:39:42 | evan | i see a problem with doing that though.... |
| 18:39:56 | evan | def blah(a) |
| 18:40:07 | evan | 1.times { |b| super } |
| 18:40:08 | evan | end |
| 18:40:16 | evan | super should send a up, not b. |
| 18:43:01 | brixen | I wonder how jruby does it, they added this spec |
| 18:43:20 | evan | I suspect their zsuper is done in the VM |
| 18:43:29 | evan | thats what MRI does |
| 18:43:32 | brixen | it seems like super can't know what to send until the method is defined |
| 18:43:35 | brixen | ah ok |
| 18:44:01 | evan | if we have to move it into the VM |
| 18:44:03 | evan | thats fine |
| 19:20:05 | brixen | win 22 |
| 19:20:11 | brixen | um |
| 20:13:03 | evan | yay kirk! |
| 20:13:09 | evan | he's doing 1.8.6 commits |
| 20:21:16 | brixen | yep, and specs too |
| 21:11:41 | jarib | evan, brixen: the patch attached to #774 should be good to go |
| 21:12:12 | jarib | i'm not sure what's the best way to implement #call though |
| 21:12:47 | jarib | i.e. class Foo; attr_reader :foo; end; Foo.new.method(:foo).call |
| 21:15:50 | brixen | jarib: ok, I was hoping to get to committing it this weekend but didn't finish the rubyspec stuff I was doing |
| 21:16:01 | brixen | jarib: I'm heading to lunch, but I'll take a look when I return |
| 21:16:48 | jarib | ok, no hurry :) |
| 21:17:05 | brixen | heh, I'll hurry, promise :) |
| 21:17:25 | jarib | hehe |
| 23:18:15 | evan | stupid Array#[]= specs |
| 23:18:22 | evan | they test like 20 cases in one it block |
| 23:19:14 | brixen | :( |
| 23:21:49 | brixen | evan: I was just about to merge the specs |
| 23:21:58 | evan | go for it. |
| 23:21:58 | brixen | which ones are causing issues? |
| 23:22:04 | brixen | I can fix them first |
| 23:22:18 | evan | i'm splitting them out |
| 23:22:25 | brixen | ok, I'll wait |
| 23:22:27 | evan | the last one tests the lhs being a Range |
| 23:22:32 | evan | but with every kind of rhs in one it block |
| 23:22:46 | evan | there needs to be one it block per kind of rhs |
| 23:22:57 | brixen | definitely |
| 23:23:39 | evan | you can merge |
| 23:23:39 | evan | thats fine |
| 23:23:50 | evan | i'm a big boy, i can fix conflicts if need be |
| 23:23:51 | evan | :D |
| 23:24:04 | brixen | sure, n/p |
| 23:24:15 | brixen | I'm releasing a gem and bumping the rubyspec version too |
| 23:24:49 | evan | sounds good. |