This is the mail archive of the java@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]

Cygwin and hash synchronization?


So, does hash synchronization work on cygwin or not? I seem to remember 
someone saying the cygwin binutils doesn't support alignment of static 
data correctly, which would be consistent with this report:

http://gcc.gnu.org/ml/gcc/2002-05/msg02665.html

And what about mingw? Does the linker for mingw not suffer from this 
problem?

Basically I just want to know if this patch should be applied, although 
Hans has said he might be able to work around the alignment dependency 
in the synchronization code so it might not be a problem for 3.2.

regards

Bryce.


2002-05-29  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* configure.host: Disable hash synchronization and slow_pthread_self
	for cygwin.

Index: configure.host
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.host,v
retrieving revision 1.32
diff -u -r1.32 configure.host
--- configure.host	21 Apr 2002 09:37:48 -0000	1.32
+++ configure.host	29 May 2002 01:39:12 -0000
@@ -136,6 +136,10 @@
   *-*-freebsd*)
 	slow_pthread_self=
 	;;
+  *-cygwin*)
+	enable_hash_synchronization_default=no
+	slow_pthread_self=
+	;;
 esac
 
 libgcj_cflags="${libgcj_cflags} ${libgcj_flags}"

------------------------------------------------------------------------



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