Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 22:02:06 -0500
From:      David Schultz <das@FreeBSD.ORG>
To:        Sean McNeil <sean@mcneil.com>
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: palm/pilot-link needs to be fixed for matherr change (was Re: matherr disappeared?)
Message-ID:  <20050214030206.GB47695@VARK.MIT.EDU>
In-Reply-To: <1108348247.26515.17.camel@server.mcneil.com>
References:  <1108344209.2954.2.camel@server.mcneil.com> <20050214020127.GA44039@troutmask.apl.washington.edu> <1108348247.26515.17.camel@server.mcneil.com>

index | next in thread | previous in thread | raw e-mail

On Sun, Feb 13, 2005, Sean McNeil wrote:
> On Sun, 2005-02-13 at 18:01 -0800, Steve Kargl wrote:
> > On Sun, Feb 13, 2005 at 05:23:29PM -0800, Sean McNeil wrote:
> > > I was refreshing my system and do not know when this happened, but this
> > > same port use to work:
> > > 
> > > /usr/ports/palm/pilot-link/work/pilot-link-0.11.8/bindings/Tcl/tclAppInit.c:53: undefined reference to `matherr'
> > > *** Error code 1
> > > 
> > 
> > See the thread and you should read freebsd-current list.
> 
> First of all, I do read current as I am subscribed.
> 
> > http://lists.freebsd.org/pipermail/freebsd-current/2005-February/046426.html
> 
> Finally, that thread is related to tcl 8.0.5 for i386.  I had no reason
> to suspect it had anything to do with my situation as I have an amd64
> system with tcl-8.4.7 which compiled without any issue.  Perhaps I
> simply deleted it since I am not using i386.
> 
> So, the answer to my question is yes and matherr has disappeared.
> However, it would appear that this is related to the previous thread so
> I have changed the subject line and I'm CCing das.  He had asked to be
> notified if anything else breaks.

Yeah, as I understand it, versions of Tcl released between 1993
and 2002 had a kludge to force old versions of SunOS to
dynamically link against the right version of libm; however, they
don't actually *use* matherr() in any meaningful way.
Unfortunately, N different ports have copied the hack.  I'll try
to fix all the ones that are reported to me next weekend.

> P.S.  Aren't changes like that suppose to go in UPDATING?

Well, I didn't think I would be breaking POLA too badly.
matherr() was deprecated some time in the mid-1980's when the
third edition of the System V Interface Definition was published.
Moreover, FreeBSD never actually supported it; we just had a stub
there in libm.  If it causes too much trouble, I'll have to put it
back so applications can continue to pretend that it works.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050214030206.GB47695>