From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 24 15:37:49 2010 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5863B106564A for ; Wed, 24 Nov 2010 15:37:49 +0000 (UTC) (envelope-from hanche+bounces@math.ntnu.no) Received: from anne.math.ntnu.no (anne.math.ntnu.no [129.241.15.150]) by mx1.freebsd.org (Postfix) with SMTP id 916418FC1B for ; Wed, 24 Nov 2010 15:37:47 +0000 (UTC) Received: (qmail 28589 invoked from network); 24 Nov 2010 15:37:46 -0000 Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.102) by anne.math.ntnu.no with ESMTPA; 24 Nov 2010 15:37:46 -0000 Date: Wed, 24 Nov 2010 16:37:46 +0100 (CET) Message-Id: <20101124.163746.749301332968390730.hanche@math.ntnu.no> To: pav@FreeBSD.org From: Harald Hanche-Olsen In-Reply-To: <4CEBDB55.2010407@FreeBSD.org> References: <201011231326.oANDQWxv034019@freefall.freebsd.org> <20101123.154942.2128064273763517342.hanche@math.ntnu.no> <4CEBDB55.2010407@FreeBSD.org> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.3.50 on Emacs 24.0.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-ports-bugs@FreeBSD.org, ljrittle@acm.org Subject: Re: ports/152499: Redirections in es may take effect in the shell itself X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 15:37:49 -0000 I figured this one out: It seems to be a gcc optimization bug. The problem goes away if I do cd /usr/ports/shells/es make build cd work/es-0.9-beta1 rm prim-io.o make 'CFLAGS=-I. -pipe -fno-strict-aliasing' cd ../.. make deinstall make reinstall The CLAGS above are the usual CFLAGS for the build but without -O2. Changing -O2 to -O1 is not sufficient. What to do next? Report it to the gcc folks? What to do about the shells/es port? - Harald