From owner-freebsd-ports Mon Mar 16 12:24:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12796 for freebsd-ports-outgoing; Mon, 16 Mar 1998 12:24:48 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from pc-21490.bc.rogers.wave.ca ([24.113.51.240]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12789 for ; Mon, 16 Mar 1998 12:24:46 -0800 (PST) (envelope-from jh@pc-21490.bc.rogers.wave.ca) Received: (from jh@localhost) by pc-21490.bc.rogers.wave.ca (8.8.8/8.8.7) id MAA01109; Mon, 16 Mar 1998 12:23:33 -0800 (PST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199803162004.RAA09587@gaia.coppe.ufrj.br> Date: Mon, 16 Mar 1998 12:23:32 -0800 (PST) Reply-To: Jonathan Hanna Organization: Pangolin Systems From: Jonathan Hanna To: Joao Carlos Mendes Luis Subject: RE: Urgent: problems with Tk81 ? Cc: freebsd-ports@FreeBSD.ORG Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message