Re: -CURRENT/RELENG_5 library issues

From: Ruslan Ermilov (ru_at_freebsd.org)
Date: 08/20/04

  • Next message: David Wolfskill: "Re: kqueued make(1): can someone try it for me please?"
    Date: Fri, 20 Aug 2004 22:01:54 +0300
    To: Jon Noack <noackjr@alumni.rice.edu>
    
    
    

    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@FreeBSD.org
    FreeBSD committer
    
    



  • Next message: David Wolfskill: "Re: kqueued make(1): can someone try it for me please?"

    Relevant Pages

    • Re: -CURRENT/RELENG_5 library issues
      ... > When trying to recompile it, ... System compiler has been upgraded to GCC 3.4.2-pre. ... You could try just forcing the update of gaim and all of it's ...
      (freebsd-current)
    • Re: gcc updates
      ... I tried to upgrade from the devel repository, but that failed due to missing dependencies. ... I think that once the gcc was updated, almost everything else that links to the library was included by yum. ... you can install a commercial compiler ... Major version changes are not as simple, as they require upgrades to libraries and other tools. ...
      (Fedora)
    • Re: RedHat 10 wishlist
      ... It's not enough just recompile ... As to GCC my understanding is that it is very good at optimizations ... I knew the intel compiler was a long way from being 100% compatable with ... I'm not sure if it will compile the kernel ...
      (alt.os.linux.redhat)
    • Recompiling?
      ... every time I upgrade the compiler I have to recompile (or possibly ...
      (comp.lang.ada)
    • gcc 3.3.3 in RH 7.2 __thread and TLS required
      ... I tried to install it from rpm's but that would force me to upgrade from glibc 2.2 to 2.3 which in turn requires to have nearly everything to be updated. ... but executeables generated with the newly compiled compiler crash with a illegal-instruction. ... i think __thread was introduced to gcc with V 3.3. ...
      (alt.os.linux.redhat)