[CLN-list] CLN on OS X, linking problem

Richard B. Kreckel kreckel at ginac.de
Thu Mar 17 23:59:58 CET 2005


On Thu, 17 Mar 2005, Ralf Wildenhues wrote:
> BTW: which one is the official list address?  @thep or @zino?

Please try to avoid @zino.

> Which other aliases exist, so I don't have to second-guess my
> MUA settings -- thanks.

The one I'm sending this email to.

> > It wasn't meant to be a bugreport.  It was an attempt to avoid work.  :-)
>
> On a bad-mooded day I'd be calling it FUD.. never mind.  :)
>
> > > - `configure' output, esp.
> > > | checking the maximum length of command line arguments...
> >
> > Huh, why's that of interest?  Anyway, it's 32768.  But you know already.
>
> Well, that's quite important.  It's deducible from the system, sure
> (unless there is a bug in the macro that calculates the length).
>
> If your link line turns out to be longer than that maximum length
> estimate, libtool _will_ split the link by using `ld -r', possibly more
> than once.  It's one portable way around that restriction.  On some
> systems, convenience archives could help, too.

Ralf, "possibly more than once" is not exactly hinting at 855 times, which
is what happened to me then.  But anyway, I realize it's not happening any
more, so there is nothing to fix and I'm happy to do the upgrade...

...which I just did!  :-)

[...]
> > And as to the modifications in CLN's libtool, there appears to be only one
> > patch for the Comeau compiler:
> >
> > --- libtool-1.5.6/libtool.m4    2004-04-02 05:46:14.000000000 +0200
> > +++ /home/rbk/projects/cln/m4/libtool.m4        2004-08-25
> > 14:13:10.000000000 +0200
> > @@ -4901,6 +4901,9 @@
> >          # All Alpha code is PIC.
> >          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
> >          ;;
> > +      como)
> > +        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-lopt='
> > +        ;;
> >        esac
> >        ;;
> >
> > Why not include it upstream?
>
> Sure.  Do you have a ChangeLog entry for it as well?

Well, here's the old one from CLN's ChangeLog:

2004-08-25  Bruno Haible  <bruno at clisp.org>

        * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
        * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
        2004-08-22  Bruno Haible  <bruno at clisp.org>
                * m4/libtool.m4: Add support for Comeau C++ on Linux.
                Reported by Prof. Roberto Bagnara <bagnara at cs.unipr.it>.
        * autoconf/aclocal.m4: Regenerate.

> Weird enough, I have not found this option to be described in Comeau's
> online documentation.  For whoever has Comeau: it'd be really nice if
> they ran the whole Libtool testsuite (preferably branch-2-0) on it, I'm
> sure there are more issues to sort out.  Libtool supporting more
> compilers better is always a good thing.

Maybe you want to contact Roberto Bagnara?

  -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>





More information about the CLN-list mailing list