Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 1998 12:23:32 -0800 (PST)
From:      Jonathan Hanna <pangolin@rogers.wave.ca>
To:        Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   RE: Urgent: problems with Tk81 ?
Message-ID:  <XFMail.980316122332.pangolin@rogers.wave.ca>
In-Reply-To: <199803162004.RAA09587@gaia.coppe.ufrj.br>

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

On 16-Mar-98 Joao Carlos Mendes Luis wrote:
> Hi,
> 
>   Since I have installed tk81 port in my machine, some thinks stopped
> working:
> 
>   - ical stops with a Bus Error during startup.
> 
>   - vic dies with Segmentation Fault when I call the menu.
> 
>   I don't know enough about tk to find the problem, but I located a
> problem in tcl81 running it's tests:  It fails in stringObj.test
> with a Bus Error.
> 
>   Didn't anybody else see this ?  My current make.conf CFLAGS is:
> 
> CFLAGS= -O2 -pipe -fexpensive-optimizations -m486 -malign-functions=2 -malign-ju
> mps=2 -malign-loops=2
> 
>   But I also tried with just -pipe, and it still breaks.
> 
>   If tk81 is not reliable enough, maybe the ports needing tk should
> be backed out to use tk80 before 2.2.6 release.
> 
>                                       Jonny
> 
> PS: The xcd and tksol, both with tk81, work ok.  But they are just scripts,
> and not C programs with libtk linked.

Perhaps it is not related, but recently I installed tix and it gave me a bus
error. It turned out that tcl8.1 in tclParse.c modifies an otherwise readonly
string to play the old "let's insert a temporary terminator" trick. Recompiling
tix with -fwritable-strings fixed it. I have not tested much.
 
Jonathan Hanna <pangolin@rogers.wave.ca>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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