Skip to content

Instantly share code, notes, and snippets.

@tundal45
Created November 30, 2011 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tundal45/1410874 to your computer and use it in GitHub Desktop.
Save tundal45/1410874 to your computer and use it in GitHub Desktop.
RVM & REE, why won't you just sit under the fucking tree?
echo $CC
/usr/bin/gcc
➜ cs git:(master) rvm reinstall --force ree-1.8.7-2010.02
Removing /Users/ashish/.rvm/src/ree-1.8.7-2010.02...
Removing /Users/ashish/.rvm/rubies/ree-1.8.7-2010.02...
Removing ree-1.8.7-2010.02 aliases...
Removing ree-1.8.7-2010.02 wrappers...
Removing ree-1.8.7-2010.02 environments...
Removing ree-1.8.7-2010.02 binaries...
Installing Ruby Enterprise Edition from source to: /Users/ashish/.rvm/rubies/ree-1.8.7-2010.02
ree-1.8.7-2010.02 - #fetching (ruby-enterprise-1.8.7-2010.02)
ree-1.8.7-2010.02 - #extracting ruby-enterprise-1.8.7-2010.02 to /Users/ashish/.rvm/src/ree-1.8.7-2010.02
Applying patch 'tcmalloc' (located at /Users/ashish/.rvm/patches/ree/1.8.7/tcmalloc.patch)
ERROR: Error running 'patch -F 25 -p1 -N -f <"/Users/ashish/.rvm/patches/ree/1.8.7/tcmalloc.patch"', please read /Users/ashish/.rvm/log/ree-1.8.7-2010.02/patch.apply.tcmalloc.log
Applying patch 'stdout-rouge-fix' (located at /Users/ashish/.rvm/patches/ree/1.8.7/stdout-rouge-fix.patch)
Applying patch 'no_sslv2' (located at /Users/ashish/.rvm/patches/ree/1.8.7/no_sslv2.diff)
ree-1.8.7-2010.02 - #installing
ERROR: Error running './installer -a /Users/ashish/.rvm/rubies/ree-1.8.7-2010.02 --no-tcmalloc --dont-install-useful-gems ', please read /Users/ashish/.rvm/log/ree-1.8.7-2010.02/install.log
ERROR: There has been an error while trying to run the ree installer. Halting the installation.
[2011-11-30 15:10:54] patch -F 25 -p1 -N -f <"/Users/ashish/.rvm/patches/ree/1.8.7/tcmalloc.patch"
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/distro/google-perftools-1.7/src/tcmalloc.cc b/distro/google-perftools-1.7/src/tcmalloc.cc
|index 8d94d20..0769425 100644
|--- a/distro/google-perftools-1.7/src/tcmalloc.cc
|+++ b/distro/google-perftools-1.7/src/tcmalloc.cc
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
diff --git a/distro/google-perftools-1.7/src/tcmalloc.cc b/distro/google-perftools-1.7/src/tcmalloc.cc
index 8d94d20..0769425 100644
--- a/distro/google-perftools-1.7/src/tcmalloc.cc
+++ b/distro/google-perftools-1.7/src/tcmalloc.cc
@@ -137,6 +137,13 @@
# define WIN32_DO_PATCHING 1
#endif
+// GLibc 2.14+ requires the hook functions be declared volatile, based on the value of the
+// define __MALLOC_HOOK_VOLATILE. For compatibility with older/non-GLibc implementations,
+// provide an empty definition.
+#if !defined(__MALLOC_HOOK_VOLATILE)
+#define __MALLOC_HOOK_VOLATILE
+#endif
+
using STL_NAMESPACE::max;
using STL_NAMESPACE::numeric_limits;
using STL_NAMESPACE::vector;
@@ -1669,5 +1676,5 @@ static void *MemalignOverride(size_t align, size_t size, const void *caller)
MallocHook::InvokeNewHook(result, size);
return result;
}
-void *(*__memalign_hook)(size_t, size_t, const void *) = MemalignOverride;
+void *(*__MALLOC_HOOK_VOLATILE __memalign_hook)(size_t, size_t, const void *) = MemalignOverride;
#endif // #ifndef TCMALLOC_FOR_DEBUGALLOCATION
[2011-11-30 15:10:54] ./installer -a /Users/ashish/.rvm/rubies/ree-1.8.7-2010.02 --no-tcmalloc --dont-install-useful-gems
Welcome to the Ruby Enterprise Edition installer
This installer will help you install Ruby Enterprise Edition 1.8.7-2010.02.
Don't worry, none of your system files will be touched if you don't want them
to, so there is no risk that things will screw up.
You can expect this from the installation process:
1. Ruby Enterprise Edition will be compiled and optimized for speed for this
system.
2. Ruby on Rails will be installed for Ruby Enterprise Edition.
3. You will learn how to tell Phusion Passenger to use Ruby Enterprise
Edition instead of regular Ruby.
Press Enter to continue, or Ctrl-C to abort.
Checking for required software...
* C compiler... found at /usr/bin/gcc
* C++ compiler... found at /usr/bin/g++
* The 'make' tool... found at /usr/bin/make
* The 'patch' tool... found at /usr/bin/patch
* Zlib development headers... found
* OpenSSL development headers... found
* GNU Readline development headers... found
--------------------------------------------
Target directory
Auto-installing to: /Users/ashish/.rvm/rubies/ree-1.8.7-2010.02
--------------------------------------------
Compiling and optimizing Ruby Enterprise Edition
In the mean time, feel free to grab a cup of coffee.
./configure --prefix=/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02 --enable-mbari-api CFLAGS='-g -O2 '
checking build system type... i686-apple-darwin11.2.0
checking host system type... i686-apple-darwin11.2.0
checking target system type... i686-apple-darwin11.2.0
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether /usr/bin/gcc needs -traditional... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
no
checking whether the linker is GNU ld... no
checking whether /usr/bin/gcc -E accepts -o... rm: conftest.dSYM: is a directory
yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long... yes
checking for off_t... yes
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of off_t... 8
checking size of void*... 8
checking size of float... 4
checking size of double... 8
checking size of time_t... 8
checking for pid_t... yes
checking for gid_t... yes
checking for uid_t... yes
checking for prototypes... yes
checking token paste string... ansi
checking for variable length prototypes and stdarg.h... yes
checking for noreturn function attribute... __attribute__ ((noreturn)) x
checking for noinline function attribute... __attribute__ ((noinline)) x
checking for RUBY_EXTERN... no
checking whether sys_nerr is declared... yes
checking for crypt in -lcrypt... no
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for clock_gettime in -lrt... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syscall.h usability... no
checking syscall.h presence... no
checking for syscall.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking a.out.h usability... no
checking a.out.h presence... no
checking for a.out.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for memory.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking size of rlim_t... 8
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for broken erfc of glibc-2.3.6 on IA64... no
checking for dup2... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for strchr... yes
checking for strstr... yes
checking for strtoul... yes
checking for crypt... yes
checking for flock... yes
checking for vsnprintf... yes
checking for isnan... yes
checking for finite... yes
checking for isinf... yes
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for fmod... yes
checking for killpg... yes
checking for wait4... yes
checking for waitpid... yes
checking for syscall... yes
checking for chroot... yes
checking for fsync... yes
checking for getcwd... yes
checking for eaccess... no
checking for truncate... yes
checking for ftruncate... yes
checking for chsize... no
checking for times... yes
checking for utimes... yes
checking for fcntl... yes
checking for lockf... yes
checking for lstat... yes
checking for symlink... yes
checking for link... yes
checking for readlink... yes
checking for setitimer... yes
checking for setruid... yes
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... no
checking for setproctitle... no
checking for setrgid... yes
checking for setegid... yes
checking for setregid... yes
checking for setresgid... no
checking for issetugid... yes
checking for pause... yes
checking for lchown... yes
checking for lchmod... yes
checking for getpgrp... yes
checking for setpgrp... yes
checking for getpgid... yes
checking for setpgid... yes
checking for initgroups... yes
checking for getgroups... yes
checking for setgroups... yes
checking for getpriority... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for sysconf... yes
checking for group_member... no
checking for dlopen... yes
checking for sigprocmask... yes
checking for sigaction... yes
checking for sigsetjmp... yes
checking for _setjmp... yes
checking for _longjmp... yes
checking for setsid... yes
checking for telldir... yes
checking for seekdir... yes
checking for fchmod... yes
checking for mktime... yes
checking for timegm... yes
checking for gettimeofday... yes
checking for cosh... yes
checking for sinh... yes
checking for tanh... yes
checking for round... yes
checking for setuid... yes
checking for setgid... yes
checking for setenv... yes
checking for unsetenv... yes
checking for __builtin_setjmp... no
checking for setjmp type... _setjmp
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for external int daylight... yes
checking for external timezone... long
checking for external altzone... no
checking for negative time_t for gmtime(3)... yes
checking whether getpgrp requires zero arguments... yes
checking whether setpgrp takes no argument... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... no
checking for inline... inline
checking for working volatile... yes
checking whether right shift preserve sign bit... yes
checking read count field in FILE structures... _r
checking read buffer ptr field in FILE structures... _p
checking whether need to seek between R/W... yes
checking whether st_ino is huge... no
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction... (cached) -1
checking whether ELF binaries are produced... no
checking whether OS depend dynamic link works... yes
checking for nroff... /usr/bin/nroff
creating config.h
configure: creating ./config.status
config.status: creating Makefile
/usr/bin/gcc -dynamiclib system_allocator.c -install_name @rpath/libsystem_allocator.dylib -o libsystem_allocator.dylib
patch -p1 -R < ../fast-threading.patch
patching file eval.c
Hunk #34 succeeded at 9031 (offset 11 lines).
Hunk #35 succeeded at 10475 (offset 11 lines).
Hunk #36 succeeded at 10690 (offset 11 lines).
Hunk #37 succeeded at 10726 (offset 11 lines).
Hunk #38 succeeded at 10740 (offset 11 lines).
Hunk #39 succeeded at 10832 (offset 11 lines).
Hunk #40 succeeded at 10885 with fuzz 2 (offset 12 lines).
Hunk #41 succeeded at 10894 (offset 12 lines).
Hunk #42 succeeded at 11044 (offset 21 lines).
Hunk #43 succeeded at 11140 (offset 21 lines).
Hunk #44 succeeded at 11160 (offset 21 lines).
Hunk #45 succeeded at 12489 (offset 21 lines).
Hunk #46 succeeded at 12536 (offset 21 lines).
Hunk #47 succeeded at 12702 (offset 21 lines).
Hunk #48 succeeded at 12716 (offset 21 lines).
Hunk #49 succeeded at 12731 (offset 21 lines).
Hunk #50 succeeded at 12748 (offset 21 lines).
Hunk #51 succeeded at 13092 (offset 21 lines).
Hunk #52 succeeded at 13940 (offset 21 lines).
Hunk #53 succeeded at 13965 (offset 21 lines).
Hunk #54 succeeded at 13989 (offset 21 lines).
Hunk #55 succeeded at 14027 (offset 21 lines).
patching file gc.c
Hunk #2 succeeded at 1034 (offset 319 lines).
Hunk #3 succeeded at 1069 (offset 319 lines).
Hunk #4 succeeded at 1097 (offset 319 lines).
Hunk #5 succeeded at 1116 (offset 319 lines).
Hunk #6 succeeded at 2095 (offset 412 lines).
Hunk #7 succeeded at 2108 (offset 412 lines).
Hunk #8 succeeded at 2133 (offset 412 lines).
Hunk #9 succeeded at 2190 (offset 423 lines).
Hunk #10 succeeded at 3083 (offset 453 lines).
patching file node.h
patching file rubysig.h
patching file signal.c
mkdir -p .ext/common
make PRELIBS='-Wl,-rpath,/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02/lib -L/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02/lib -lsystem_allocator'
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c array.c
WARNING: While resolving call to function 'inspect_ary' arguments were dropped!
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c bignum.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c class.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c compar.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c dir.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c dln.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c enum.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c enumerator.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c error.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c eval.c
eval.c: In function ‘rb_eval_string_wrap’:
eval.c:1775: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_eval_cmd’:
eval.c:1916: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_trace_func’:
eval.c:2773: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_raise_jump’:
eval.c:4910: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘method_missing’:
eval.c:5866: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_call0’:
eval.c:6024: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_eval’:
eval.c:6829: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘exec_under’:
eval.c:6854: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_load’:
eval.c:7170: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_end_proc’:
eval.c:8201: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_END’:
eval.c:8214: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘mproc’:
eval.c:10007: warning: assignment discards qualifiers from pointer target type
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c file.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c gc.c
gc.c: In function ‘gc_sweep’:
gc.c:1844: warning: format ‘%.7d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
gc.c:1844: warning: format ‘%.7d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
gc.c:1845: warning: format ‘%.7d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
gc.c:1845: warning: format ‘%.7d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
gc.c:1846: warning: format ‘%.7d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
gc.c:1846: warning: format ‘%.7d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
gc.c:1847: warning: format ‘%.7d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
gc.c:1847: warning: format ‘%.7d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
gc.c: In function ‘garbage_collect_0’:
gc.c:2176: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long long int’
gc.c:2176: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long long int’
gc.c: In function ‘os_statistics’:
gc.c:2962: warning: format ‘%d’ expects type ‘int’, but argument 9 has type ‘long unsigned int’
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c hash.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c inits.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c io.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c marshal.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c math.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c numeric.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c object.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c pack.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c parse.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c pointerset.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c process.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c prec.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c random.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c range.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c re.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c regex.c
regex.c: In function ‘ruby_re_compile_pattern’:
regex.c:1366: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘long int’
regex.c:2030: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long int’
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c ruby.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c signal.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c sprintf.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c st.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c string.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c struct.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c time.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c util.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c variable.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c version.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c dmyext.c
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o pointerset.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c main.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c dmydln.c
/usr/bin/gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -L. main.o dmydln.o libruby-static.a -Wl,-rpath,/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02/lib -L/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02/lib -lsystem_allocator -ldl -lobjc -o miniruby
./ext/purelib.rb:2: [BUG] Segmentation fault
ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-darwin11.2.0], MBARI 0x6770, Ruby Enterprise Edition 2010.02
make: *** [.rbconfig.time] Abort trap: 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment