Index

Show enters and exits. Hide enters and exits.

02:35:31ddubllvm makes my computer warm
16:04:09dbussinkis compiling rubinius on snow leopard which has gcc 4.2.1 by default
16:08:47dbussinkbrixen: you there?
16:09:57dbussinkbrixen: http://github.com/evanphx/rubinius/blob/a81968a4b6fee36582654ee3885819108c1fcffd/vm/instruments/pr ofiler.hpp#L22
16:10:21dbussinki needed to remove that stuff in order to compile it on snow leopard, is this stuff only needed on linux?
16:10:36dbussinkor also for the gcc 4.2.1 provided with 10.5?
16:39:18dbussinkhmm, it fails during the build with the following gist: http://gist.github.com/133541
20:00:19evanOMG
20:00:29evanit's sooo easy to setup internet tethering
20:00:39evanhttp://help.benm.at/help.php
20:00:44evanuse it! before it disappears!
20:01:55brixensweet!
20:02:00brixenif only I had a 3gs
20:02:29evandon't need a 3gs!
20:02:34evani just did it on my 3g!
20:02:54dbussinkevan: my gf also did it, was like 1 minute work :0
20:02:55dbussink:)
20:02:57dbussinktoo easy :)
20:03:10brixener, if only I had a 3g
20:03:22dbussinkbtw, did you guys see my messages on building rubinius on snow leopard?
20:03:24evanyeah, i wonder if apple is going to leave using unsigned profiles turned on now though
20:03:27evani guess we'll see!
20:03:35evannope, but i'm off to brunch
20:03:39brixendbussink: yeah, see github issue #12
20:03:46evansee ya guys!
20:03:47brixenit's a known issue with 4.2
20:03:51brixensee ya evan
20:04:23brixendbussink: the tr1 issue just needs the guard changed I believe
20:04:32dbussinkbrixen: yeah, i got passed that
20:04:35brixensomeone running 4.2 on os x should check it
20:04:36dbussinkbrixen: but hit another issue
20:04:44brixenyeah, that's in #12
20:04:56dbussinkah ok, let me check
20:05:58dbussinkhmm, nasty one probably then
20:07:04brixenit appears to be an issue where some opt invalidates an assumption the stack code makes, leading to an incorrect ordering on the stack
20:07:11brixenand the wrong object gets the message
20:34:08dbussinkbrixen: is there some way to tell the optimizer not to touch certain parts?
20:38:19brixenthe solution is to fix the code
20:38:34brixenshouldn't be hard to locate where it is happening based on the bytecode being run
20:39:58brixensupporting gcc 4.0, 4.2, 4.3 and 4.4 sucks
20:40:48brixenwe should just require llvm and standardize on a version of llvm-g++
20:41:06slavaor you could write portable C++ that doesn't depend on compiler optimizations :)
20:41:47brixenor that
20:42:32brixenhowever, in this case we're not depending on any opts
20:42:43slavaso why is the code wrong?
20:42:55brixenexcept that you'd be foolish to write any C/C++ and not run an optimized binary
20:43:10brixenI don't know, haven't looked at it
20:44:03brixenthe code works in 4.0, 4.3 and 4.4
20:44:10brixenso who is to say, 4.2 isn't wrong?
20:44:59dbussinktrue, but since it's apparently the default for snow leopard, it's hard to get around it :0
20:45:00dbussink:)
20:47:00brixendbussink: so, no gcc-4.0 installed?
20:48:53dbussinkbrixen: it's still available
20:48:59dbussinkbut not the default anymore
20:49:32brixentry GCC=gcc-4.0 rake build
20:49:52brixenI still don't know the proper way to change gcc on os x
20:50:00brixenI have no gcc_select command
20:50:13brixenbut anyway, setting GCC will work for building
20:50:36dbussinkbrixen: gcc_select also works with the default installed ones afaik
20:50:46dbussinkor only with the default maybe
20:51:23brixenwhere does this gcc_select command come from? I installed xcode defaults and I don't have it
20:51:55brixenI have gcc-4.0 and gcc-4.2
20:52:19dbussinkbrixen: it's in macports
20:52:29dbussinkyou can use it to switch between different macports gcc versions
20:52:29brixenah I see
20:52:40dbussinkbtw, i haven't seen the issue with macports gcc 4.2.4
20:52:42brixenI don't use gcc from macports
20:52:51dbussinkso it probably is a bug with 4.2.1
20:52:51brixenit's 4.2.1 afaik
20:52:55brixenyeah
20:52:58dbussinkthat is the apple one yeah
20:53:02dbussinkbut macports has 4.2.4
20:53:21dbussinkbut i've tried with macports' 4.1, 4.2, 4.3 and 4.4 and it works ok with all of them
20:53:37brixencool, good to know
20:53:57brixenworking on syck right now, but I'll poke at that later
20:54:03cheapRocapple provides the open source packages, can't you just copy the 4.0 one and upgrade the actual package yourself?
20:54:24cheapRochonestly i've only ever "thought" i could do that, never did yet
20:56:42cheapRocnm, never realized their gcc package contains a slew of other libraries