From owner-freebsd-bugs Tue Oct 24 14:10: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9686937B479 for ; Tue, 24 Oct 2000 14:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA76805; Tue, 24 Oct 2000 14:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 24 Oct 2000 14:10:03 -0700 (PDT) Message-Id: <200010242110.OAA76805@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jason Evans Subject: Re: gnu/22274: /usr/lib/libgcc.a is not thread safe Reply-To: Jason Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR gnu/22274; it has been noted by GNATS. From: Jason Evans To: lampa@fee.vutbr.cz Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: gnu/22274: /usr/lib/libgcc.a is not thread safe Date: 24 Oct 2000 14:05:56 -0700 On Tue, Oct 24, 2000 at 10:48:59AM -0700, lampa@fee.vutbr.cz wrote: > >Description: > Installed gcc library /usr/lib/libgcc.a is not compiled using > --enable-threads. The description of this configure argument > in gcc-2.95.2 is wrong, it should be on not only for Objective C, > but also for C++ to enable thread safe stack unwinding during exception > processing. > > >Fix: > Ship /usr/lib/libgcc.a compiled with --enable-threads! The correct solution is to use the -pthread gcc flag so that libgcc_r.a is used. If that still doesn't work, then please open a new PR. Jason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message