SPECS (TEST): ruby.spec - try `-O0' for ruby at th-ppc `--with-phtreads'

twittner twittner at pld-linux.org
Mon Jan 1 12:57:28 CET 2007


Author: twittner                     Date: Mon Jan  1 11:57:28 2007 GMT
Module: SPECS                         Tag: TEST
---- Log message:
- try `-O0' for ruby at th-ppc `--with-phtreads'

---- Files affected:
SPECS:
   ruby.spec (1.148 -> 1.148.4.1) 

---- Diffs:

================================================================
Index: SPECS/ruby.spec
diff -u SPECS/ruby.spec:1.148 SPECS/ruby.spec:1.148.4.1
--- SPECS/ruby.spec:1.148	Mon Dec 25 19:51:28 2006
+++ SPECS/ruby.spec	Mon Jan  1 12:57:23 2007
@@ -25,7 +25,7 @@
 Summary(zh_CN):	ruby - ŇťÖÖżěËٸßЧľÄĂćĎňśÔĎó˝ĹąžąŕłĚÓďŃÔ
 Name:		ruby
 Version:	1.8.5p2
-Release:	4.2
+Release:	4.3
 Epoch:		1
 License:	The Ruby License
 Group:		Development/Languages
@@ -78,9 +78,13 @@
 # (SEGV or "unexpected break" on miniruby run during build)
 %define		specflags_ia64	-O0
 
+# Segmentation fault, when ruby is built `--wth-phreads' - try `-O0'
+%define		specflags_ppc	-O0
+
 # ruby needs frame pointers for correct exception handling
 %define		specflags_ia32	-fno-omit-frame-pointer
 
+
 %description
 Ruby is the interpreted scripting language for quick and easy
 object-oriented programming. It has many features to process text
@@ -242,11 +246,12 @@
 %{__autoconf}
 %configure \
 	--enable-shared \
-%ifnarch powerpc ppc ppc64
-	--enable-pthread
-%else
-	--disable-pthread
-%endif
+
+#%%ifnarch powerpc ppc ppc64
+#	--enable-pthread
+#%%else
+#	--disable-pthread
+#%%endif
 
 %{__make}
 %{__make} clean -C %{name}-texi-1.4-en
@@ -453,6 +458,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.148.4.1  2007/01/01 11:57:23  twittner
+- try `-O0' for ruby at th-ppc `--with-phtreads'
+
 Revision 1.148  2006/12/25 18:51:28  twittner
 - restored `--without-pthreads' for PPCs after producing buildlog with
   compilation error msg.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ruby.spec?r1=1.148&r2=1.148.4.1&f=u



More information about the pld-cvs-commit mailing list