Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Subject: [cygwin gcc-3.1] Patch to libjava/configure.host Date: Sun, 9 Jun 2002 12:55:30 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-ID: content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Billinghurst, David (CRTS)" To: X-OriginalArrivalTime: 09 Jun 2002 02:56:43.0053 (UTC) FILETIME=[48FC3DD0:01C20F61] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g592vOG29188 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 2002-05-29 Bryce McKinlay * 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}"