From owner-freebsd-stable Wed Dec 6 9:58:36 2000 From owner-freebsd-stable@FreeBSD.ORG Wed Dec 6 09:58:34 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 1008837B400 for ; Wed, 6 Dec 2000 09:58:34 -0800 (PST) Received: from dragon.nuxi.com (Ipittythefoolthattrustsident@trang.nuxi.com [209.152.133.57]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id JAA24696; Wed, 6 Dec 2000 09:58:29 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.1/8.11.1) id eB6HwPX29770; Wed, 6 Dec 2000 09:58:25 -0800 (PST) (envelope-from obrien) Date: Wed, 6 Dec 2000 09:58:24 -0800 From: "David O'Brien" To: Max Khon Cc: stable@FreeBSD.ORG, jdp@polstra.com, eischen@vigrid.com Subject: Re: Mysql segfaults; is the culprit libstdc++, pthread, regex ...? Message-ID: <20001206095824.D2367@dragon.nuxi.com> Reply-To: stable@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from fjoe@iclub.nsu.ru on Wed, Dec 06, 2000 at 08:06:04PM +0600 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: obrien@NUXI.com Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Dec 06, 2000 at 08:06:04PM +0600, Max Khon wrote: > now I can confirm that on latest -stable without "linking shared objects > with libgcc_[r]_pic" changes ACE wrappers tests run correctly without > segfaults. test program ("bad" one) from PR/23252 also does not segfault > anymore. Since I have no idea how to reproduce this, can you get it down to the minimal chagne? I don't see why the Makefile back out is needed. Here is the minimal patch that reverts the 4.2 change: Index: freebsd-native.h =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h,v retrieving revision 1.5.2.1 diff -u -r1.5.2.1 freebsd-native.h --- freebsd-native.h 2000/11/11 21:52:40 1.5.2.1 +++ freebsd-native.h 2000/12/06 17:56:06 @@ -52,7 +52,4 @@ #define LIBGCC_SPEC \ "%{!shared: \ %{!pthread:libgcc.a%s} \ - %{pthread:libgcc_r.a%s}} \ - %{shared: \ - %{!pthread:libgcc_pic.a%s} \ - %{pthread:libgcc_r_pic.a%s}}" + %{pthread:libgcc_r.a%s}}" -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message