This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Small example of livelock regression in garbage collector forGCJ 3.3 under Win32


>  > >>You need -fuse-divide-subroutine and -fcheck-references.  Ranjit ahd a
>  > >>look at using Windows' structured exception handling to cope with
>  > >>these problems, but I don't think that it's done yet.
>  >
>  > Andrew, if I understand this correctly, you are suggesting that
>  > we use these options for the time being till such a time
>  > that we can fix the SEH stuff.
>  >
>  > These will make things a bit slower, but keep it correct:
>  >
>  > http://gcc.gnu.org/onlinedocs/gcj/Configure-time-Options.html
>  >
>  > Right?
> 
> Indeed.  It looks to me like mingw picks up the configure options from
> i686-*.  We need to make this a little more finely grained with a
> separate entry for Linux and mingw.

[...]

> Please also submit a patch for configure.host that does the right thing.
> 
> Andrew.

How does the following look (tested only on Win98 so far)? It's
against 3.3 sources:

Index: ChangeLog
from  Ranjit Mathew  <rmathew@hotmail.com>

	* configure.host: Use -fcheck-references and 
	-fuse-divide-subroutine for MinGW until we fix
	win32_exception_handler( ) in win32.cc w.r.t. Win32 
	Structured Exception Handling (SEH).

Index: configure.host
===================================================================
--- configure.host	2003-05-21 19:52:07.000000000 +0530
+++ configure.host	2003-05-21 22:39:40.000000000 +0530
@@ -175,4 +175,11 @@
 	slow_pthread_self=
 	;;
+  *-mingw*)
+  	# FIXME: win32_exception_handler( ) in win32.cc does not do the
+	# right stuff yet w.r.t. SEH. Live with the following for now.
+	can_unwind_signal=no
+	CHECKREFSPEC=-fcheck-references
+	DIVIDESPEC=-fuse-divide-subroutine
+	;;
   *-cygwin*)
   	# The cygwin linker doesn't do 8-byte alignment by default, so


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]