[前][次][番号順一覧][スレッド一覧]

ruby-changes:26626

From: yugui <ko1@a...>
Date: Thu, 3 Jan 2013 14:46:39 +0900 (JST)
Subject: [ruby-changes:26626] yugui:r38677 (trunk): * configure.in (OBJCOPY): Fixes build error for NativeClient.

yugui	2013-01-03 14:46:29 +0900 (Thu, 03 Jan 2013)

  New Revision: 38677

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38677

  Log:
    * configure.in (OBJCOPY):  Fixes build error for NativeClient.
      Avoid disabling OBJCOPY for NativeClient.
    
    * thread_pthread.c (rb_reserved_fd_p): USE_SLEEPY_TIMER_THREAD is
      always defined.  Fixes compilation error for NativeClient.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
    trunk/thread_pthread.c

Index: configure.in
===================================================================
--- configure.in	(revision 38676)
+++ configure.in	(revision 38677)
@@ -698,7 +698,7 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L698
     else
 	RUBY_TRY_LDFLAGS([-Wl,-unexported_symbol,_Init_*], [visibility_option=ld], [visibility_option=no])
     fi
-    test "$visibility_option" = no || OBJCOPY=:
+    test "$visibility_option" = no -o "$host_os" = nacl || OBJCOPY=:
 fi
 
 if test "$GCC" = yes; then
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38676)
+++ ChangeLog	(revision 38677)
@@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jan  3 14:32:47 2013  Yuki Yugui Sonoda  <yugui@y...>
+
+	* configure.in (OBJCOPY):  Fixes build error for NativeClient.
+	  Avoid disabling OBJCOPY for NativeClient.
+
+	* thread_pthread.c (rb_reserved_fd_p): USE_SLEEPY_TIMER_THREAD is
+	  always defined.  Fixes compilation error for NativeClient.
+
 Wed Jan 02 03:09:00 2012  Zachary Scott  <zachary@z...>
 
 	* ext/zlib/zlib.c (Zlib::GzipReader): Fix typo by zed_0xff
Index: thread_pthread.c
===================================================================
--- thread_pthread.c	(revision 38676)
+++ thread_pthread.c	(revision 38677)
@@ -1445,7 +1445,7 @@ ruby_stack_overflowed_p(const rb_thread_ https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L1445
 int
 rb_reserved_fd_p(int fd)
 {
-#ifdef USE_SLEEPY_TIMER_THREAD
+#if USE_SLEEPY_TIMER_THREAD
     if (fd == timer_thread_pipe[0] ||
 	fd == timer_thread_pipe[1]) {
 	return 1;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]