Index

Show enters and exits. Hide enters and exits.

11:21:51danlucrafttest
11:25:08danlucraftjust checking logging is in order
11:25:18danlucraftwasn't sure if the slicehost downtime had affected us, but all seems ok
16:53:33evanmorning.
16:56:52danlucraftgood morning!
16:57:57rueHi hi
17:45:33boyscoutRevert varint changes to .rbc format. See below. - e59317e - Brian Ford
17:45:33boyscoutImport SDC to c-ng dir. - 1c725e1 - Brian Ford
17:45:33boyscoutUse 64bit method to get a 64bit value. - 73d1fcd - Brian Ford
17:45:33boyscoutDisable find_lost_souls (segfaults iterating eden). - 457062e - Brian Ford
17:45:33boyscoutAdded pseudo profiler methods for GC runs. - 5599aa0 - Brian Ford
17:52:06boyscoutCI: Build 5599aa0 failed. http://ci.rubini.us/rubinius/builds/5599aa007ca1ed2859b4a93707c9a1772979246a
17:52:26evanARG
17:52:29evanwhy is that crashing?!
17:53:00brixenI think we need a crash reporter
17:53:16evanthere actually is one on linux
17:53:16brixenwant me to see how the jvm does it and add that?
17:53:18evancatchsegv
17:53:33evannah, I know how to do it
17:53:33brixenthe jvm outputs a file on segfaults
17:53:35evani'll add it now
17:53:40brixenok
17:54:34evanwhy is exitstatus nil?
17:55:23brixensomeone forgot the exitstatus.decloak call?
17:55:39evanheh
17:55:59evanat this point, knowing if it stopped because of a signal or segfault would be useful.
17:56:06brixenyeah indeed
17:56:48brixenI'm thinking it's related to the handle segv I showed you
17:57:07brixenI get it much earlier under c-ng, but most of the specs that cause handle creation come late in the run
18:02:56ddubsegfaults are good
18:03:00ddubwhen they are hit by you two :)
18:28:06evanooh
18:28:15evangoogle has a BSD licensed crash reporter
18:28:21evanworks on linux, darwin, solaris and windows
18:28:29evangoing to see how hard to integrate it is
18:32:27brixensweet
18:38:44evanheh
18:38:51evani'm trying to figure out how you USE breakpad
18:38:53evanmaybe you just link with it
18:39:03evanand it's initialization code sets up the signal handlers...
18:40:56brixenyou send it notes "ohai ur cute, want to protect my segvs <wink>"
18:41:51rueCreate an ExceptionHandler, RAII?
18:42:07evan?
18:44:56rue'S what the Client doc said
18:45:08evanwhere?
18:45:44ruehttp://code.google.com/p/google-breakpad/w/list
18:46:02evanwhere in there?
18:46:03evanwhat page?
18:46:07evani looked through those
18:47:00evanoh, i see
18:47:05evani missed it in ClientDesign
18:55:53rueThey completely forgot DocumentationDesign
19:10:36evanman
19:10:50evanthe linking story for this library o/~ suuuuucks! o/~
20:04:13boyscoutalias Module#name to Module#__name__ to make amqp work - e26aa1a - Ezra Zygmuntowicz
20:04:13boyscoutExpect SIGTERM, so we don't output the term message - 654194a - Evan Phoenix
20:04:13boyscoutAdd signal handlers for segv and quit signals - a2298ac - Evan Phoenix
20:04:25evanok, that should help.
20:04:50evan"QUIT" signals (TERM, HUP, USR1, USR2) now output a message and then quit
20:04:59evanunless there is a Signal.trap handler for them
20:06:54boyscoutCI: Build a2298ac failed. http://ci.rubini.us/rubinius/builds/a2298acea70f34b7aeeff75beaca5e8fc5f34c29
20:07:36ddubhmm, it would be interesting if the build bot used gist :)
20:08:35evandamnit!
20:08:40evanwhy did it get truncated...
20:16:10boyscoutTry and improve error output flushing - f13e28d - Evan Phoenix
20:19:14ddubhalloween I listened to rob zombie/white zombie, powerman 5000, marilyn manson, etc.
20:19:35ddubtotally wrecked my electronica music trends
20:19:56boyscoutCI: Build f13e28d failed. http://ci.rubini.us/rubinius/builds/f13e28d9939cf2c70d01074b9512bb24c0a8d5bc
20:23:02boyscoutCI: f13e28d success. 3003 files, 11767 examples, 35776 expectations, 0 failures, 0 errors
20:23:07ddubyay
20:24:07evanok, lunch.
20:41:16brixenbuilding C exts is so much fun
20:41:27brixenmushrooms and golden spades and simple flowers all around
20:41:40brixengrasses and trees and wind and sunshine
20:41:47brixensuch beauty
20:42:03brixenit's under-appreciated surely
21:00:46brianmariolol
22:16:49brixenSymbol not found: ___gxx_personality_v0
22:16:56evanoh noes.
22:16:56brixenmy C ext has no personality
22:16:57evanin what?
22:17:10brixentrying to get melbourne loading in MRI
22:17:20evandid you recompile it?
22:17:25brixenyeah
22:17:26evanwait, course you did.
22:17:31evanthats a C++ symbol
22:17:38evanthere shouldn't really be any C++ symbols in your extension
22:18:06brixenI didn't really request any
22:18:07scooprdisable extensions or link stdc++ ?
22:18:27scooprextensions -> exceptions
22:18:48evanbrixen: h.m
22:18:55evanmaybe sure you cleaned out all related .o's
22:19:15evanoh wait, does any of the parser stuff use C++
22:19:18brixenI do make clean in the ext dir before building for MRI
22:19:21brixenyeah
22:19:26evanoh
22:19:27evanthats it.
22:19:29evanumm
22:19:39evanyeah, i guess try adding -lstdc++ in there
22:19:41brixenI have extern C around it
22:19:45tmm1em does a bunch of stuff to link libstdc++
22:19:46evandoesn't matter
22:19:50evanit doesn't work like that
22:20:04evanextern C just controls the names that the symbols are exported as
22:20:07tmm1 CONFIG['LDSHARED'] = "$(CXX) -shared"
22:20:07evanthe bodies are still C++
22:20:12evanand still need the C++ runtime.
22:20:35brixentmm1: do you use extconf.rb?
22:20:36brixenevan: ok
22:20:53tmm1yea, http://github.com/eventmachine/eventmachine/blob/master/ext/extconf.rb#L40-106
22:21:09brixentmm1: sweet, thanks
22:25:27tmm1np
22:26:11brixentmm1: I might borrow that whole case expr
22:26:14brixen:)
22:27:46tmm1yea i would recommend it, lot of pain went into making it work on those platforms
23:27:48brixenevan: ok, I've got it building and linking against the eg vm/external_libs/libbstring/libbstring.a and the other libs
23:27:58evank
23:27:59brixenand it loads fine, so all those symbols are resolved
23:28:05brixenbut ld is giving me a warning
23:28:13brixenfile is not of required architecture
23:28:37evan:/
23:29:41evangist the output?
23:31:14brixenhttp://gist.github.com/225579
23:32:38brixenI should say, it loads and runs
23:32:53rueWhat if you leave out PPC?
23:33:13brixenmight as well build with -arch ppc for the other libs then
23:33:21brixenso this works on ppc
23:34:00brixenshould just remove all these libs
23:34:39rueThe whole thing needs PPC (or not) if you plan on linking those
23:36:16evanbrixen: get rid of all that
23:36:20evandelete all arch lines
23:36:31evanyou don't specify the arch
23:36:33evanthats bad form.
23:36:41evanand likely the source of your troubles
23:37:06evanbrixen: no no no
23:37:08rue(Unless you want to create a Universal)
23:37:09evandon't specify multiple archs
23:37:16evanyou're not making universal stuff
23:37:47brixenevan: that's just mkmf, I didn't add it
23:37:53evansomething did
23:37:54brixenbut I'll figure out how to remove it
23:37:56brixenyeah yeah
23:38:08evanno really
23:38:09evanthats bad bad
23:38:13evanif mkmf is adding it
23:38:16brixenI got it
23:38:21brixenmkmf is really bad
23:39:00evan:/
23:39:03evanjust trying to help.
23:39:08brixenappreciated
23:40:28evangoes back into his grumpy fort
23:43:50evani thought you didn't have to do
23:43:54evangem "whatever"
23:43:55evananymore
23:44:27brixen-arch is in rbconfig's CFLAGS
23:45:49rueYou never have to do that, do you? Still need rrubygems
23:47:03evan*shrug*
23:47:14evanbrixen: oh wait.
23:47:23evanwhat ruby are you using?
23:47:25evanthe apple one?
23:47:32brixenyep
23:47:36evanah thats why.
23:47:41brixenthat's the point of what I'm building here
23:47:44evancan you just ignore those ld warnings
23:47:47evanright right
23:47:52evani'd gotten confused.
23:47:53brixenok
23:48:10evanyou didn't build those other libs as universal probably
23:48:21evanbut it's tried to build a universal .bundle anyway
23:48:36brixenwell, I can build the libs as universal I suppose
23:48:42brixenif I could decode the damn makefiles
23:49:19brixenthis is why one-offs never ever pay off in the end
23:49:22rueIt is fine either way, so long as it is consistent
23:49:29brixenbecause someone has to fix the shit someday
23:50:00evanone off what?
23:50:09slavahi guys
23:50:09brixenthese libs
23:50:12evanah.
23:50:15brixenhi slava
23:50:24evanare those ld errors or warnings?
23:50:27evancan you just ignoret hem?
23:50:34brixenyeah, they are just warnings
23:50:37brixenthe ext loads and runs
23:50:38evanjust ignore them.
23:50:39evango on
23:50:44evandon't go back.
23:51:03brixenyou can never go back :)