[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: __eprintf undefined

From: Gary V. Vaughan
Subject: Re: address@hidden: __eprintf undefined
Date: Tue, 11 Sep 2001 01:16:17 +0100
User-agent: Mutt/1.3.21i

On Tue, Sep 11, 2001 at 12:26:44AM +0200, Hubert Feyrer wrote:
> On Mon, 10 Sep 2001, Gary V. Vaughan wrote:
> > It is a long standing bug with gcc using native ld on solaris,
> > revealed in this release because I have started using assert() in
> > ltdl.c (which requires __eprintf from libgcc.a).
> > 
> > Here are a couple of options:
> > 
> >   * upgrade to gcc 3.0.1 from which doesn't have the bug
> >   * recompile gcc-2.95.x to use binutils rather than native ld
> Um, I wasted some time on gcc 3.x, and decided to stay at 2.95.3 for now.
> I'm running the following lines after running configure, and libtool
> works fine now:
> sed \
> '/^LIBADD_DL/s,$,-L/soft/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 
> -lgcc,' 
>       libltdl/Makefile >libltdl/Makefile.fixed
> mv libltdl/Makefile.fixed libltdl/Makefile

Using `$CC --print-libgcc-file-name` would be more portable.

> Thanks for that tip! :-)
> Now to teach zlib to use libtool next...

Watch out for zfstream with libtool < 1.4b.  It doesn't work (due to
broke C++ linking from non-multi-language libtool).

> > I'm about to release 1.4.2, which will diagnose the bug if you have a
> > setup that is susceptible, but will still link for you (with a
> > warning) until you have time to upgrade...
> cool, thanks for that in advance!

No probs.  Any minute now....

> Let me add a work of thanks for all the libtool developers for providing a
> nice tool that gives a uniform interface to shlib creation on many
> platforms. (I use libtool in the NetBSD packages collection which works on
> quite a number of a.out and ELF platforms, besides Solaris ;-)

Much appreciated (from all of us).  Libtool is a peculiar project in
that it is driven mainly by patches from users with access to many
platforms we would not individually have time to maintain.  So thanks
to you guys for keeping the fixes rolling in :-)

  ())_. Gary V. Vaughan     gary@(|
  ( '/  Research Scientist       ,_())____
  / )=  GNU Hacker  \'      `&
`(_~)_  Tech' Author   =`---d__/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]