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 <[EMAIL PROTECTED]>

        2002-05-29  Bryce McKinlay  <[EMAIL PROTECTED]>
        * 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}"

Reply via email to