develooper Front page | perl.perl5.changes | Postings from April 2008

Change 33754: Integrate:

From:
Nicholas Clark
Date:
April 27, 2008 01:30
Subject:
Change 33754: Integrate:
Change 33754 by nicholas@mouse-mill on 2008/04/27 08:29:44

	Integrate:
	[ 33647]
	Subject: [PATCH] Tru64: align fp policies of gcc and cc
	From: Jarkko Hietaniemi <jhi@cc.hut.fi>
	Date: Sat, 5 Apr 2008 04:16:17 +0300 (EEST)
	Message-Id: <200804050116.m351GH5P042062@kosh.hut.fi>
	
	[ 33737]
	On Darwin, -Uuse64bitall shouldn't mean -Duse64bitall  :-/
	Plus fix a pair of typos in a diagnostic output.
	
	[ 33738]
	Looks like we can do System V IPC 64 bit on Leopard. Lets see whether
	the magic smoke escapes from other testers.

Affected files ...

... //depot/maint-5.10/perl/hints/darwin.sh#3 integrate
... //depot/maint-5.10/perl/hints/dec_osf.sh#3 integrate

Differences ...

==== //depot/maint-5.10/perl/hints/darwin.sh#3 (text) ====
Index: perl/hints/darwin.sh
--- perl/hints/darwin.sh#2~33464~	2008-03-10 13:35:11.000000000 -0700
+++ perl/hints/darwin.sh	2008-04-27 01:29:44.000000000 -0700
@@ -196,8 +196,8 @@
 EOCBU
 
 # 64-bit addressing support. Currently strictly experimental. DFD 2005-06-06
-if [ "$use64bitall" ]
-then
+case "$use64bitall" in
+$define|true|[yY]*)
 case "$osvers" in
 [1-7].*)
      cat <<EOM >&4
@@ -206,13 +206,15 @@
 
 *** 64-bit addressing is not supported for Mac OS X versions
 *** below 10.4 ("Tiger") or Darwin versions below 8. Please try
-*** again without -D64bitall. (-D64bitint will work, however.)
+*** again without -Duse64bitall. (-Duse64bitint will work, however.)
 
 EOM
      exit 1
   ;;
 *)
-    cat <<EOM >&4
+    case "$osvers" in
+    8.*)
+        cat <<EOM >&4
 
 
 
@@ -224,6 +226,13 @@
 ***    ext/threads/shared/t/wait (threaded builds only)
 
 EOM
+
+        [ "$d_msgctl" ] || d_msgctl='undef'
+        [ "$d_semctl" ] || d_semctl='undef'
+        [ "$d_shmctl" ] || d_shmctl='undef'
+    ;;
+    esac
+
     case `uname -p` in 
     powerpc) arch=ppc64 ;;
     i386) arch=x86_64 ;;
@@ -239,12 +248,10 @@
        eval $var="\$${var}\ -arch\ $arch"
     done
 
-    [ "$d_msgctl" ] || d_msgctl='undef'
-    [ "$d_semctl" ] || d_semctl='undef'
-    [ "$d_shmctl" ] || d_shmctl='undef'
     ;;
 esac
-fi
+;;
+esac
 
 ##
 # System libraries

==== //depot/maint-5.10/perl/hints/dec_osf.sh#3 (text) ====
Index: perl/hints/dec_osf.sh
--- perl/hints/dec_osf.sh#2~33464~	2008-03-10 13:35:11.000000000 -0700
+++ perl/hints/dec_osf.sh	2008-04-27 01:29:44.000000000 -0700
@@ -290,7 +290,7 @@
 
 # we want dynamic fp rounding mode, and we want ieee exception semantics
 case "$isgcc" in
-gcc)	;;
+gcc)	ccflags="$ccflags -mfp-rounding-mode=d -mieee" ;;
 *)	case "$_DEC_cc_style" in
 	new)	ccflags="$ccflags -fprm d -ieee"	;;
 	esac
End of Patch.



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About