[cygwin gcc-3.1] Patch to libjava/configure.host

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Sat Jun 8 19:57:00 GMT 2002


Patch to cygwin gcc-3.1 branch.  The hash synchronization code
uses the lower three bits of some pointers, and requires that 
those objects are eight byte aligned.  cygwin binutils only
provides four byte alignments, so need to turn it off.

2002-06-09  David Billinghurst <David.Billinghurst@riotinto.com>

	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.23.2.7
diff -u -r1.23.2.7 configure.host
--- configure.host      21 Apr 2002 09:35:59 -0000      1.23.2.7
+++ configure.host      9 Jun 2002 02:49: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}"



More information about the Cygwin-apps mailing list