From owner-freebsd-amd64@FreeBSD.ORG Sat Dec 11 00:23:58 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2248716A4CE; Sat, 11 Dec 2004 00:23:58 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A8F143D46; Sat, 11 Dec 2004 00:23:58 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id EB17372DD4; Fri, 10 Dec 2004 16:23:57 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id E6B1C72DCB; Fri, 10 Dec 2004 16:23:57 -0800 (PST) Date: Fri, 10 Dec 2004 16:23:57 -0800 (PST) From: Doug White To: Kris Kennaway In-Reply-To: <20041208171947.GA46271@xor.obsecurity.org> Message-ID: <20041210161650.I63382@carver.gumbysoft.com> References: <200412081205.39354.mi+mx@aldan.algebra.com> <20041208171947.GA46271@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Mikhail Teterin cc: freebsd-current@FreeBSD.org cc: freebsd-amd64@FreeBSD.org cc: ade@FreeBSD.org Subject: Re: new TCL vs. current-6 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2004 00:23:58 -0000 On Wed, 8 Dec 2004, Kris Kennaway wrote: > On Wed, Dec 08, 2004 at 12:05:38PM -0500, Mikhail Teterin wrote: > > Three of my TCL-based ports fail now on amd64 running current-6. All failures > > occur, when an attempt is made to use the TCL-interpreter -- either to run > > the port's self-tests, or to generate the manual pages. The failures are > > either "Floating point exceptions" or "Segmentation faults" and appear to > > only happen on amd64 (may be, on ia64 as well): > > > > http://people.freebsd.org/~fenner/errorlogs/mi%40aldan.algebra.com.html > > > > Can anyone confirm being able to use freshly built TCL on amd64 _at all_? > > > > My ports did not change in months -- what could be wrong with TCL and/or > > amd64? > > Peter speculated a problem when the world is built with -O2 (with or > without -fno-strict-aliasing). I haven't been able to confirm this by > testing with a world built with -O, because I only have one working > amd64 package builder. A quick Makefile look and gdb run finds it taking SIGFPE in strtod(). The tcl build is also very odd since it seems to apply CFLAGS twice like: cc $CFLAGS -O $CFLAGS ... I haven't gone looking for why, just noticed it during the build. This is on a machine built with -O2. I'll kick off an -O build now and see what happens. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org