Date: Wed, 6 Dec 2000 20:06:04 +0600 (NS) From: Max Khon <fjoe@iclub.nsu.ru> To: stable@FreeBSD.ORG Cc: jdp@polstra.com, eischen@vigrid.com, osa@freebsd.org.ru Subject: Re: Mysql segfaults; is the culprit libstdc++, pthread, regex ...? Message-ID: <Pine.BSF.4.21.0012061848340.45150-200000@iclub.nsu.ru> In-Reply-To: <Pine.BSF.4.21.0012061352580.34735-100000@iclub.nsu.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
hi, there!
On Wed, 6 Dec 2000, Max Khon wrote:
> Now I am rebuilding world with Dan Eischen libc_r fixes to see if they
> would not break anything (they should not -- Dan confirmed that he tested
> his fixes with ACE wrappers tests on -current)
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.
sorry, no workaround so far except backing out that changes
(patch for testing attached) and have no time to find more correct
solution.
and yes, seems that anything using C++ and threads is broken in
4.2-RELEASE :(
I think that changes to compiler and binutils should be tested
in -current for much longer period of time before MFC and should be MFC'ed
long before release date.
thanks for help, Dan
/fjoe
[-- Attachment #2 --]
--- gnu/usr.bin/cc/cc_tools/freebsd-native.h.orig Sun Nov 12 03:52:40 2000
+++ gnu/usr.bin/cc/cc_tools/freebsd-native.h Wed Dec 6 14:54:29 2000
@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/cc/cc_tools/freebsd-native.h,v 1.5.2.1 2000/11/11 21:52:40 obrien Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/cc/cc_tools/freebsd-native.h,v 1.4 1999/12/22 05:00:27 obrien Exp $ */
/* FREEBSD_NATIVE is defined when gcc is integrated into the FreeBSD
source tree so it can be configured appropriately without using
@@ -50,9 +50,4 @@
/* Tell gcc to locate libgcc.a for us according to the -m rules. */
#undef LIBGCC_SPEC
#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}}"
+ "%{!shared:%{!pthread:%{!kthread:libgcc.a%s}}%{pthread|kthread:libgcc_r.a%s}}"
--- Makefile.inc1.orig Sat Dec 2 03:58:09 2000
+++ Makefile.inc1 Wed Dec 6 15:01:03 2000
@@ -682,7 +682,7 @@
#
# The following dependencies exist between the libraries:
#
-# lib*: csu libgcc_pic
+# lib*: csu
# libatm: libmd
# libcrypt: libmd
# libdialog: libncurses
@@ -690,7 +690,7 @@
# libg++: libm
# libkrb: libcrypt
# libopie: libmd
-# libpam: libcom_err libcrypt libcrypto libkrb libopie libradius \
+# libpam: libcom_err libcrypt libcrypto libgcc_pic libkrb libopie libradius \
# libskey libtacplus libutil libz libssh
# libradius: libmd
# libreadline: libncurses
@@ -703,7 +703,7 @@
#
# gnu/lib: lib/libm lib/libncurses
# kerberosIV/lib kerberos5/lib: lib/libcrypt
-# lib/libpam: secure/lib/libcrypto kerberosIV/lib/libkrb \
+# lib/libpam: secure/lib/libcrypto kerberosIV/lib/libkrb gnu/lib/libgcc \
# secure/lib/libssh lib/libz
# secure/lib: lib/libmd
#
@@ -742,9 +742,8 @@
.endif
libraries:
-.for _lib in ${_csu} gnu/lib/csu gnu/lib/libgcc lib/libmd lib/libcrypt \
- ${_secure_lib} ${_kerberosIV_lib} \
- ${_kerberos5_lib} lib/libcom_err ${_libm} lib/libncurses \
+.for _lib in ${_csu} gnu/lib/csu lib/libmd lib/libcrypt ${_secure_lib} ${_kerberosIV_lib} \
+ ${_kerberos5_lib} gnu/lib/libgcc lib/libcom_err ${_libm} lib/libncurses \
lib/libopie lib/libradius lib/libskey lib/libtacplus lib/libutil \
lib/libz lib gnu/lib \
${_libperl} usr.bin/lex/lib ${_libkeycap}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012061848340.45150-200000>
