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  ([EMAIL PROTECTED])
          GNU is Not Unix / Linux Is Not UniX


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to