From owner-freebsd-amd64@FreeBSD.ORG Sun Dec 12 02:30:31 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 ADA9216A4CE for ; Sun, 12 Dec 2004 02:30:31 +0000 (GMT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84B4C43D3F for ; Sun, 12 Dec 2004 02:30:31 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.13.1/8.13.1) with ESMTP id iBC2UDFh077862; Sat, 11 Dec 2004 18:30:13 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.13.1/8.13.1/Submit) id iBC2UCDK077861; Sat, 11 Dec 2004 18:30:12 -0800 (PST) (envelope-from obrien) Date: Sat, 11 Dec 2004 18:30:12 -0800 From: "David O'Brien" To: Doug White Message-ID: <20041212023012.GB77070@dragon.nuxi.com> References: <200412081205.39354.mi+mx@aldan.algebra.com> <20041208171947.GA46271@xor.obsecurity.org> <20041210161650.I63382@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041210161650.I63382@carver.gumbysoft.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Mikhail Teterin cc: freebsd-amd64@FreeBSD.org Subject: Re: new TCL vs. current-6 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-amd64@FreeBSD.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 02:30:31 -0000 [ Mikhail, please don't double post to both freebsd-amd64 and freebsd-current ] On Fri, Dec 10, 2004 at 04:23:57PM -0800, Doug White wrote: > 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. Is this '-O2' or '-O2 -fno-strict-aliasing' ? -- -- David (obrien@FreeBSD.org)