Patch: FYI: gcj3.1 status update

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Wed Mar 27 15:52:00 GMT 2002


Tom Tromey writes:
> >>>>> "Rainer" == Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:
>> Rainer> Bootstraps on alpha-dec-osf5.1, sparc-sun-solaris2.8 and
> Rainer> i386-pc-solaris2.8 with -fcheck-references enabled are now in
> Rainer> progress.
>> Thanks. If this results in improvements, we should make this change.
> I think Irix needs it too.

Indeed, but my IRIX 6.5 host is dead slow (full bootstrap and N32/N64 make
check takes about 4 days). Perhaps someone else can try a bootstrap on
mips-sgi-irix6.[25] with my patch (included below for reference)?
> Rainer> While this has since been fixed, the status for
> Rainer> alpha-dec-osf4.0f is incorrect: it is in good shape as well,
> Rainer> as can be seen from
> Rainer> 	http://gcc.gnu.org/ml/gcc-testresults/2002-03/msg00490.html
>> I've marked this `ok'

Fine, thanks.
> Rainer> Thus my proposed patch to enable libgcj on alpha*-dec-osf* by
> Rainer> default.
>> Awesome.

It's in now.
	Rainer
Mon Mar 18 19:18:14 2002 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
	* configure.host: Introduce host_cpu and host_os switches, moving
	cpu- or os-only sections here.
	Sort host switch.
	(solaris2*, alpha*-dec-osf*, mips-sgi-irix6*): Use
	-fcheck-references for CHECKREFSPEC. 
	(i?86-*-solaris2*): Keep default DIVIDESPEC.
Index: libjava/configure.host
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.host,v
retrieving revision 1.23.2.4
diff -u -p -r1.23.2.4 configure.host
--- configure.host	2002年03月27日 16:40:25	1.23.2.4
+++ configure.host	2002年03月27日 19:29:25
@@ -1,7 +1,7 @@
 # configure.host
 
 # This shell script handles all host based configuration for libgcj.
-# It sets various shell variables based on the the host and the
+# It sets various shell variables based on the host and the
 # configuration options. You can modify this shell script without
 # needing to rerun autoconf.
 
@@ -12,6 +12,7 @@
 # It uses the following shell variables:
 # host		The configuration host
 # host_cpu		The configuration host CPU
+# host_os The configuration host OS
 # target_optspace	--enable-target-optspace ("yes", "no", "")
 
 # It sets the following shell variables:
@@ -51,27 +52,21 @@ esac
 
 AM_RUNTESTFLAGS= 
 
-# Set any host dependent compiler flags.
-# THIS TABLE IS SORTED. KEEP IT THAT WAY.
-
 echo "$target"
 
 DIVIDESPEC=-fuse-divide-subroutine
 EXCEPTIONSPEC=-fnon-call-exceptions
 CHECKREFSPEC=
 
-case "${host}" in
- mips-tx39-*|mipstx39-unknown-*)
-	libgcj_flags="${libgcj_flags} -G 0"
-	LDFLAGS="$LDFLAGS -Tjmr3904dram.ld"
-	AM_RUNTESTFLAGS="--target_board=jmr3904-sim"	
-	# Use "Ecos" processes since they are a no-op.
-	PROCESS=Ecos
-	FILE=Posix
- 	enable_java_net_default=no
- 	enable_getenv_properties_default=no
+# Set any CPU dependent comphost# THIS TABLE IS SORTED. KEEP IT THAT WAY.
+case "${host_cpu}" in
+ alpha*)
+	sysdeps_dir=alpha
+	libgcj_flags="${libgcj_flags} -mieee"
+	libgcj_interpreter=yes
+	enable_hash_synchronization_default=yes
 	;;
- i686-*|i586-*|i486-*|i386-*)
+ i[3456]6)
 	sysdeps_dir=i386
 	libgcj_flags="${libgcj_flags} -ffloat-store"
 	libgcj_interpreter=yes
@@ -81,29 +76,54 @@ case "${host}" in
 	enable_hash_synchronization_default=yes
 	slow_pthread_self=yes
 	;;
- alpha*-*)
-	sysdeps_dir=alpha
-	libgcj_flags="${libgcj_flags} -mieee"
+ ia64)
+	sysdeps_dir=ia64
+ libgcj_flags="${libgcj_flags} -funwind-tables"
 	libgcj_interpreter=yes
 	enable_hash_synchronization_default=yes
 	;;
- powerpc*-linux*)
-	sysdeps_dir=powerpc
-	libgcj_interpreter=yes
-	enable_hash_synchronization_default=yes
-	slow_pthread_self=yes
+esac
+
+# Set any OS dependent compiler flags.
+# THIS TABLE IS SORTED. KEEP IT THAT WAY.
+case "${host_os}" in
+ solaris2*)
+	CHECKREFSPEC=-fcheck-references
 	;;
+esac
+
+# Set any flags dependent on the full host triplet.
+# THIS TABLE IS SORTED. KEEP IT THAT WAY.
+case "${host}" in
+ alpha*-dec-osf*)
+	CHECKREFSPEC=-fcheck-references
+	;;
+ i?86-*-solaris2*)
+	# override i?86 default
+	DIVIDESPEC=-fuse-divide-subroutine
+	;;
+ mips-sgi-irix6*)
+	CHECKREFSPEC=-fcheck-references
+	;;
+ mips-tx39-*|mipstx39-unknown-*)
+	libgcj_flags="${libgcj_flags} -G 0"
+	LDFLAGS="$LDFLAGS -Tjmr3904dram.ld"
+	AM_RUNTESTFLAGS="--target_board=jmr3904-sim"	
+	# Use "Ecos" processes since they are a no-op.
+	PROCESS=Ecos
+	FILE=Posix
+ 	enable_java_net_default=no
+ 	enable_getenv_properties_default=no
+	;;
 powerpc*-darwin*)
 	sysdeps_dir=powerpc
 libgcj_interpreter=yes
 	;;
- sparc-*)
- ;;
- ia64-*)
-	sysdeps_dir=ia64
- libgcj_flags="${libgcj_flags} -funwind-tables"
+ powerpc*-linux*)
+	sysdeps_dir=powerpc
 	libgcj_interpreter=yes
 	enable_hash_synchronization_default=yes
+	slow_pthread_self=yes
 	;;
 xscale*-elf)
 	with_libffi_default=no


More information about the Java mailing list

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