Date: Wed, 26 Jan 2005 12:03:28 +0000 From: Chris <chrcoluk@gmail.com> To: Rob <spamrefuse@yahoo.com> Cc: freebsd-stable@freebsd.org Subject: Re: Linking problems with gcc 3.4.2 and glibc on 5.3-stable Message-ID: <3aaaa3a0501260403611abe49@mail.gmail.com> In-Reply-To: <20050126104801.30643.qmail@web54008.mail.yahoo.com> References: <20050126104801.30643.qmail@web54008.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
there is also a bug which prevents compiling of ezbounce and psybnc, I wonder how much testing went into the new gcc compiler or was it just bundled into the release, considering this is the reccommended release for production server's now this is a bad oversight, I think the gcc should be changed in the next patch level back to 3.3.6. Chris On Wed, 26 Jan 2005 02:48:01 -0800 (PST), Rob <spamrefuse@yahoo.com> wrote: > > 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<Branch, > std::allocator<Branch>>>::_M_insert(__gnu_norm::_List_iterator<Branch>, > 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<Branch, > std::allocator<Branch>>>::_M_erase(__gnu_norm::_List_iterator<Branch>)': > > /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<boost::signals::connection, > std::allocator<boost::signals::connection>>>::_M_insert(__gnu_norm::_List_iterator<boost::signals::connection>, > > 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 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3aaaa3a0501260403611abe49>