delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/08/04:50:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <038a01c1b085$e8ac4ef0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Andreas Damm" <andreas-sourceforge AT radab DOT org>, <cygwin AT cygwin DOT com>
References: <Pine DOT LNX DOT 4 DOT 33 DOT 0202080940190 DOT 1281-100000 AT gate DOT rad-ab DOT u-net DOT com>
Subject: Re: libgcc exception handling not thread safe
Date: Fri, 8 Feb 2002 20:49:31 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 08 Feb 2002 09:49:04.0985 (UTC) FILETIME=[D857B490:01C1B085]

===
----- Original Message -----
From: "Andreas Damm" <andreas-sourceforge AT radab DOT org>
To: <cygwin AT cygwin DOT com>
Sent: Friday, February 08, 2002 8:47 PM
Subject: libgcc exception handling not thread safe


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> libgcc.a in the gcc package does not seem to be thread safe with
regards
> to c++ exception handling. Doing a nm libgcc.a does not show any
> dependencies on Windows synchronisation and thread functions (e.g.
> InterlockedIncrement and TlsAlloc).
>
> When compiling a c++ program with -mno-cygwin which runs multiple
threads
> it will eventually crash.
>
> Should this be fixed?

No. Libgcc.a is a cygwin application, and is not meant to be linked in
with -mno-cygwin compiles. A mingw libgcc.a is needed for that scenario.

Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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