[Lunar-commits] r15066 - moonbase/trunk/perl/perl

Moritz Heiber moe at lunar-linux.org
Thu May 26 10:32:16 UTC 2005


Author: moe
Date: 2005-05-26 10:32:15 +0000 (Thu, 26 May 2005)
New Revision: 15066

Modified:
   moonbase/trunk/perl/perl/BUILD
Log:
This fixes the strange segfaults. Tested by me on 2.6.x and 2.4.x
using gcc 3.3.3 and by sofar even using SMP.



Modified: moonbase/trunk/perl/perl/BUILD
===================================================================
--- moonbase/trunk/perl/perl/BUILD	2005-05-26 09:34:47 UTC (rev 15065)
+++ moonbase/trunk/perl/perl/BUILD	2005-05-26 10:32:15 UTC (rev 15066)
@@ -1,5 +1,16 @@
 (
 
+  # DO NOT TOUCH THESE SEDITS UNLESS YOU KNOW WHAT YOU'RE DOING!
+
+  # Really enable threads
+  sedit 's/libswanted=\"\$\*\"/libswanted=\"pthread\ \$\*\"/' hints/linux.sh
+  
+  # Work around the segfaults. Doesn't do any harm
+  sedit 's/\$(COMPILE)//' Makefile.SH &&
+
+  # Does harm if you run make test .. which we do not do
+  sedit 's/COMPILE/SOMETHING/' installperl &&
+
   if [ "$USE_SUIDPERL" == "y" ] ; then
 	OPTS="$OPTS -Dd_dosuid"
   fi
@@ -13,10 +24,15 @@
   else
         ./Configure  -Dprefix=/usr   \
 		     -Duseshrplib=true	\
+		     -Dccdlflags='-rdynamic' \
+		     -Doptimize="${CFLAGS}" \
+		     -Duselargefiles \
+		     -Ud_csh \
+		     -Dcf_by='Lunar' \
                      $OPTS \
 		     -Dman1dir=/usr/share/man/man1 \
 		     -Dusethreads	\
-                     -Dman3dir=/usr/share/man/man3 -ds -e 
+                     -Dman3dir=/usr/share/man/man3 -d -e 
   fi && 
  
   make	  		&&



More information about the Lunar-commits mailing list