From owner-freebsd-stable@FreeBSD.ORG Wed Jan 26 10:48:02 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E319916A4CE for ; Wed, 26 Jan 2005 10:48:02 +0000 (GMT) Received: from web54008.mail.yahoo.com (web54008.mail.yahoo.com [206.190.36.232]) by mx1.FreeBSD.org (Postfix) with SMTP id 3E06143D46 for ; Wed, 26 Jan 2005 10:48:02 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 30645 invoked by uid 60001); 26 Jan 2005 10:48:01 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=fXk002vaABGK9wdiGfLOIUhhvS4m8JdjvzM0uBbnu/9hAmQKk/RysArpFJIbMJJj9HE1KMbYECcr/QNpIh2emIDBMc6U6AAnd62OdTDtXTxrC8YY3TJNx7BfBY+61rZLiSNwIacjz+OpknfNQE3llR1xKoozPzD5kxFLTEOX6QM= ; Message-ID: <20050126104801.30643.qmail@web54008.mail.yahoo.com> Received: from [147.46.44.181] by web54008.mail.yahoo.com via HTTP; Wed, 26 Jan 2005 02:48:01 PST Date: Wed, 26 Jan 2005 02:48:01 -0800 (PST) From: Rob To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Linking problems with gcc 3.4.2 and glibc on 5.3-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 10:48:03 -0000 Hi, There seems to be a bug with the gcc version of 5.3 STABLE (gcc 3.4.2), when using: #define _GLIBCXX_DEBUG #define _GLIBCXX_DEBUG_PEDANTIC I discovered this when compiling the LyX sources, and the LyX mailing list pointed out that this is gcc/OS FreeBSD issue. The linking ends with errors that complain about "__gnu_norm::....", for example: BranchList.o(.gnu.linkonce.t._ZN10__gnu_norm4listI6BranchSaIS1_EE9_M_insertENS_14_List_iteratorIS1_EERKS1_+0x19): In function `__gnu_norm::list>>::_M_insert(__gnu_norm::_List_iterator, Branch const&)': /usr/include/c++/3.4/bits/locale_facets.tcc:2443: undefined reference to `__gnu_norm::_List_node_base::hook(__gnu_norm::_List_node_base*)' BranchList.o(.gnu.linkonce.t._ZN10__gnu_norm4listI6BranchSaIS1_EE8_M_eraseENS_14_List_iteratorIS1_EE+0xd): In function `__gnu_norm::list>>::_M_erase(__gnu_norm::_List_iterator)': /usr/include/c++/3.4/debug/list:122: undefined reference to `__gnu_norm::_List_node_base::unhook()' [...cut...] /usr/include/c++/3.4/bits/stl_algobase.h:155: undefined reference to `__gnu_norm::_List_node_base::transfer(__gnu_norm::_List_node_base*, __gnu_norm::_List_node_base*)' ../boost/libs/signals/src/.libs/libboost_signals.a(trackable.o)(.gnu.linkonce.t._ZN10__gnu_norm4listIN5boost7signals10connectionESaIS3_EE9_M_insertENS_14_List_iteratorIS3_EERKS3_+0x28): In function `__gnu_norm::list>>::_M_insert(__gnu_norm::_List_iterator, boost::signals::connection const&)': /usr/include/c++/3.4/debug/formatter.h:359: undefined reference to `__gnu_norm::_List_node_base::hook(__gnu_norm::_List_node_base*)' Is this a known issue? Rob. __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com