Created
November 11, 2011 20:55
-
-
Save bronson/1359217 to your computer and use it in GitHub Desktop.
Compiling ree on Fedora 16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # How to compile ree-1.8.7-2011.03 on Fedora 16: | |
| rvm install ree --force --patch tcmalloc.patch --patch ~/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/distro/google-perftools-1.7/src/tcmalloc.cc 2011-02-24 02:09:12.000000000 -0800 | |
| +++ b/distro/google-perftools-1.7/src/tcmalloc.cc 2011-11-11 12:46:13.704738476 -0800 | |
| @@ -1669,5 +1669,5 @@ | |
| MallocHook::InvokeNewHook(result, size); | |
| return result; | |
| } | |
| -void *(*__memalign_hook)(size_t, size_t, const void *) = MemalignOverride; | |
| +void *(* volatile __memalign_hook)(size_t, size_t, const void *) = MemalignOverride; | |
| #endif // #ifndef TCMALLOC_FOR_DEBUGALLOCATION |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reason for tcmalloc.patch: http://code.google.com/p/rubyenterpriseedition/issues/detail?id=74
Reason for stdout-rogue-fix.patch: http://redmine.ruby-lang.org/issues/5108