libjava status on Solaris 8/Intel and IRIX 6.5

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Mon Mar 18 09:59:00 GMT 2002


Andrew Haley writes:
> > i386-pc-solaris2.8:

> SEGV and SIGFP handlers don't work: we need to use -fcheck-references
> -fuse-divide-subroutine in libgcj.spec.

Confirmed manually. -fuse-divide-subroutine can be handled like this, I
suppose?
--- configure.host	Wed Mar 13 12:54:58 2002
+++ configure.host.new	Mon Mar 18 18:47:37 2002
@@ -75,7 +75,14 @@ case "${host}" in
 	libgcj_interpreter=yes
 	libgcj_cxxflags="-D__NO_MATH_INLINES"
 	libgcj_cflags="-D__NO_MATH_INLINES"
-	DIVIDESPEC=-fno-use-divide-subroutine
+	case "${host}" in
+	i?86-*-solaris2*)
+		# keep default
+		;;
+	*)
+		DIVIDESPEC=-fno-use-divide-subroutine
+		;;
+	esac
 	enable_hash_synchronization_default=yes
 	slow_pthread_self=yes
 	;;
> SEGV handler doesn't work: -fcheck-references.

Indeed. Same on sparc-sun-solaris2.8, so this is a generic Solaris 2
problem. We probably need a new spec substitution for this (similar to
DIVIDESPEC and friends)? Any suggestions for a good name, and I'll provide
a patch and verify it.
	Rainer


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /