-CURRENT/RELENG_5 library issues

Ruslan Ermilov ru at freebsd.org
Fri Aug 20 12:02:08 PDT 2004


On Fri, Aug 20, 2004 at 01:42:10PM -0500, Jon Noack wrote:
> Eric Anderson wrote:
> > One - net/gaim no longer runs.  It gives me this error:
> > /libexec/ld-elf.so.1: /usr/local/lib/libaspell.so.15: Undefined symbol
> > "_ZNSs20_S_empty_rep_storageE"
> >
> > When trying to recompile it, I get:
> > /X11R6/lib -lpthread
> > /usr/local/lib/libaspell.so: undefined reference to
> > `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
> > /usr/local/lib/libaspell.so: undefined reference to
> > `std::string::_S_empty_rep_storage'
> > /usr/local/lib/libaspell.so: undefined reference to
> > `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
> > gmake[3]: *** [gaim] Error 1
> > gmake[3]: Leaving directory `/usr/ports/net/gaim/work/gaim-0.81/src'
> > gmake[2]: *** [all-recursive] Error 1
> > gmake[2]: Leaving directory `/usr/ports/net/gaim/work/gaim-0.81/src'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/usr/ports/net/gaim/work/gaim-0.81'
> > gmake: *** [all] Error 2
> > *** Error code 2
> >
> > Stop in /usr/ports/net/gaim.
> 
> Thisn looks like ABI breakage leftover from the update of gcc (from
> UPDATING):
> 20040728:
>     System compiler has been upgraded to GCC 3.4.2-pre. As with any major
>     compiler upgrade, there are several issues to be aware of. GCC 3.4.x
>     has broken C++ ABI compatibility with previous releases yet again
>     and users will have to rebuild all their C++ programs with the new
>     compiler.
> 
> Unless you know every port that uses C++, the sure way to avoid issues
> like this is to recompile everything:
> portupgrade -af
> 
I had a similar issue after upgrading a June 2004 -CURRENT machine to
post GCC 3.4 world, and ended up recompiling all of the installed ports.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040820/005df83b/attachment-0001.bin


More information about the freebsd-current mailing list