Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 09:58:24 -0800
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Max Khon <fjoe@iclub.nsu.ru>
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>
In-Reply-To: <Pine.BSF.4.21.0012061848340.45150-200000@iclub.nsu.ru>; from fjoe@iclub.nsu.ru on Wed, Dec 06, 2000 at 08:06:04PM %2B0600
References:  <Pine.BSF.4.21.0012061352580.34735-100000@iclub.nsu.ru> <Pine.BSF.4.21.0012061848340.45150-200000@iclub.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001206095824.D2367>