From owner-freebsd-stable Wed Jan 3 15:19:47 2001 From owner-freebsd-stable@FreeBSD.ORG Wed Jan 3 15:19:42 2001 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from moon.harmonic.co.il (moon.harmonic.co.il [192.116.140.65]) by hub.freebsd.org (Postfix) with ESMTP id 163C437B69E for ; Wed, 3 Jan 2001 15:19:41 -0800 (PST) Received: (from nobody@localhost) by moon.harmonic.co.il (8.9.3/8.9.3) id BAA01335; Thu, 4 Jan 2001 01:16:49 +0200 To: stable@FreeBSD.ORG, "David O'Brien" Subject: Re: C++ threaded programs Message-ID: <978563809.3a53b2e186ca1@webmail.harmonic.co.il> Date: Thu, 04 Jan 2001 01:16:49 +0200 (IST) From: Roman Shterenzon References: <20010103103755.A62189@dragon.nuxi.com> In-Reply-To: <20010103103755.A62189@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.2 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quoting David O'Brien : > On Thu, Jan 04, 2001 at 12:29:17AM +0600, Max Khon wrote: > > Can you tell me what do you plan on "C++ threaded programs > > segfault" issue? > > Still fixing issues. > Compiling -static is broken with my latest patch. > Dan and I have a 2nd patch we are reviewing and testing. > > > At this time I give people the same patch that I sent you about two > weeks > > ago (you can get it at http://iclub.nsu.ru/~fjoe) -- only one libgcc.a > > (with threads support, -fpic) is built with it and it is linked into > > shared objects. > > I had to tweat that some (based on what I had at the time). I guess I > should just post my patch. > > I have been unable to get anyone I've directly asked to actually test it > (that emailed me saying they have a problem with the current state of > the world). Yes, you asked me to test it, and I'll be glad to assist you. The problem is that I don't have time for the following couple of days, but I'll try it as soon as possible. On the other side, I tested Daniel's patch - i.e. -nostdlib in libstdc++ and it works fine for everything I've tested it with - the only downside that native 4.2 binaries that were compiled from C++ sources fail to work, but, older, e.g. 4.1-STABLE work fine. > -- > -- David (obrien@FreeBSD.org) --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message