delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/24/13:44:35

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_40
X-Spam-Check-By: sourceware.org
Date: Wed, 24 Jun 2009 12:44:14 -0500
From: Brian Ford <Brian DOT Ford AT FlightSafety DOT com>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: 1.7 winbase.h (ilockcmpexch) compile error
Message-ID: <Pine.CYG.4.58.0906241239470.2248@PC1163-8460-XP.flightsafety.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I'm trying to build Cygwin 1.7 from CVS to debug an ImageMagick problem on
server 2008 that causes an access violation in cygwin1.dll.  Doe anyone
know the work around for this issue?

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'

I presume it is related to this change:

http://cygwin.com/ml/cygwin-patches/2009-q2/msg00072.html

but I haven't had time to dig into the full problem.  Thanks for any help
available.

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019