X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Wed, 24 Jun 2009 16:37:56 -0500
From: Brian Ford <Brian.Ford@FlightSafety.com>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: 1.7 winbase.h (ilockcmpexch) compile error
In-Reply-To: <20090624193721.GD1472@ednor.casa.cgf.cx>
Message-ID: <Pine.CYG.4.58.0906241634210.2248@PC1163-8460-XP.flightsafety.com>
References: <20090624193721.GD1472@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, 24 Jun 2009, Christopher Faylor wrote:

> On Wed, Jun 24, 2009 at 07:40:39PM +0100, Dave Korn wrote:
> >Brian Ford wrote:
> >> g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> >>
> >> winsup/cygwin/winbase.h: In
> >> member function `int pthread_mutex::_trylock(pthread*)':
> >> winsup/cygwin/winbase.h:59:
> >> warning: volatile register variables don't work as you might wish
> >> winsup/cygwin/winbase.h:63:
> >> error: can't find a register in class `AREG' while reloading `asm'
> >>
> >> http://cygwin.com/ml/cygwin-patches/2009-q2/msg00072.html
> >
> >(Haven't used 3.x to build the DLL in ages myself.)
>
> I'm comfortable making gcc 4.x a requirement for building Cygwin and its
> utilities.

I'm prepared to work the problem as my time permits, but I assume you are
going to get far less help with Cygwin debugging/development if you
require a compiler that is not yet in the distribution.  (I know you think
you get next to no help now, and that this isn't a big issue for those
that do contribute, but it still doesn't seem like a very good idea.)

-- 
Brian Ford
Staff Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

