Show enters and exits. Hide enters and exits.
| 02:35:31 | ddub | llvm makes my computer warm |
| 16:04:09 | dbussink | is compiling rubinius on snow leopard which has gcc 4.2.1 by default |
| 16:08:47 | dbussink | brixen: you there? |
| 16:09:57 | dbussink | brixen: http://github.com/evanphx/rubinius/blob/a81968a4b6fee36582654ee3885819108c1fcffd/vm/instruments/pr ofiler.hpp#L22 |
| 16:10:21 | dbussink | i needed to remove that stuff in order to compile it on snow leopard, is this stuff only needed on linux? |
| 16:10:36 | dbussink | or also for the gcc 4.2.1 provided with 10.5? |
| 16:39:18 | dbussink | hmm, it fails during the build with the following gist: http://gist.github.com/133541 |
| 20:00:19 | evan | OMG |
| 20:00:29 | evan | it's sooo easy to setup internet tethering |
| 20:00:39 | evan | http://help.benm.at/help.php |
| 20:00:44 | evan | use it! before it disappears! |
| 20:01:55 | brixen | sweet! |
| 20:02:00 | brixen | if only I had a 3gs |
| 20:02:29 | evan | don't need a 3gs! |
| 20:02:34 | evan | i just did it on my 3g! |
| 20:02:54 | dbussink | evan: my gf also did it, was like 1 minute work :0 |
| 20:02:55 | dbussink | :) |
| 20:02:57 | dbussink | too easy :) |
| 20:03:10 | brixen | er, if only I had a 3g |
| 20:03:22 | dbussink | btw, did you guys see my messages on building rubinius on snow leopard? |
| 20:03:24 | evan | yeah, i wonder if apple is going to leave using unsigned profiles turned on now though |
| 20:03:27 | evan | i guess we'll see! |
| 20:03:35 | evan | nope, but i'm off to brunch |
| 20:03:39 | brixen | dbussink: yeah, see github issue #12 |
| 20:03:46 | evan | see ya guys! |
| 20:03:47 | brixen | it's a known issue with 4.2 |
| 20:03:51 | brixen | see ya evan |
| 20:04:23 | brixen | dbussink: the tr1 issue just needs the guard changed I believe |
| 20:04:32 | dbussink | brixen: yeah, i got passed that |
| 20:04:35 | brixen | someone running 4.2 on os x should check it |
| 20:04:36 | dbussink | brixen: but hit another issue |
| 20:04:44 | brixen | yeah, that's in #12 |
| 20:04:56 | dbussink | ah ok, let me check |
| 20:05:58 | dbussink | hmm, nasty one probably then |
| 20:07:04 | brixen | it 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:11 | brixen | and the wrong object gets the message |
| 20:34:08 | dbussink | brixen: is there some way to tell the optimizer not to touch certain parts? |
| 20:38:19 | brixen | the solution is to fix the code |
| 20:38:34 | brixen | shouldn't be hard to locate where it is happening based on the bytecode being run |
| 20:39:58 | brixen | supporting gcc 4.0, 4.2, 4.3 and 4.4 sucks |
| 20:40:48 | brixen | we should just require llvm and standardize on a version of llvm-g++ |
| 20:41:06 | slava | or you could write portable C++ that doesn't depend on compiler optimizations :) |
| 20:41:47 | brixen | or that |
| 20:42:32 | brixen | however, in this case we're not depending on any opts |
| 20:42:43 | slava | so why is the code wrong? |
| 20:42:55 | brixen | except that you'd be foolish to write any C/C++ and not run an optimized binary |
| 20:43:10 | brixen | I don't know, haven't looked at it |
| 20:44:03 | brixen | the code works in 4.0, 4.3 and 4.4 |
| 20:44:10 | brixen | so who is to say, 4.2 isn't wrong? |
| 20:44:59 | dbussink | true, but since it's apparently the default for snow leopard, it's hard to get around it :0 |
| 20:45:00 | dbussink | :) |
| 20:47:00 | brixen | dbussink: so, no gcc-4.0 installed? |
| 20:48:53 | dbussink | brixen: it's still available |
| 20:48:59 | dbussink | but not the default anymore |
| 20:49:32 | brixen | try GCC=gcc-4.0 rake build |
| 20:49:52 | brixen | I still don't know the proper way to change gcc on os x |
| 20:50:00 | brixen | I have no gcc_select command |
| 20:50:13 | brixen | but anyway, setting GCC will work for building |
| 20:50:36 | dbussink | brixen: gcc_select also works with the default installed ones afaik |
| 20:50:46 | dbussink | or only with the default maybe |
| 20:51:23 | brixen | where does this gcc_select command come from? I installed xcode defaults and I don't have it |
| 20:51:55 | brixen | I have gcc-4.0 and gcc-4.2 |
| 20:52:19 | dbussink | brixen: it's in macports |
| 20:52:29 | dbussink | you can use it to switch between different macports gcc versions |
| 20:52:29 | brixen | ah I see |
| 20:52:40 | dbussink | btw, i haven't seen the issue with macports gcc 4.2.4 |
| 20:52:42 | brixen | I don't use gcc from macports |
| 20:52:51 | dbussink | so it probably is a bug with 4.2.1 |
| 20:52:51 | brixen | it's 4.2.1 afaik |
| 20:52:55 | brixen | yeah |
| 20:52:58 | dbussink | that is the apple one yeah |
| 20:53:02 | dbussink | but macports has 4.2.4 |
| 20:53:21 | dbussink | but i've tried with macports' 4.1, 4.2, 4.3 and 4.4 and it works ok with all of them |
| 20:53:37 | brixen | cool, good to know |
| 20:53:57 | brixen | working on syck right now, but I'll poke at that later |
| 20:54:03 | cheapRoc | apple provides the open source packages, can't you just copy the 4.0 one and upgrade the actual package yourself? |
| 20:54:24 | cheapRoc | honestly i've only ever "thought" i could do that, never did yet |
| 20:56:42 | cheapRoc | nm, never realized their gcc package contains a slew of other libraries |