From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 24 15:48:50 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 EF026106566B for ; Wed, 24 Nov 2010 15:48:50 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id 7D7078FC08 for ; Wed, 24 Nov 2010 15:48:50 +0000 (UTC) Received: from pav.hide.vol.cz (nat-application.b1.lan.prg.vol.cz [195.122.204.152]) (authenticated bits=0) by raven.customer.vol.cz (8.14.3/8.14.3) with ESMTP id oAOFmiD9086510 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 24 Nov 2010 16:48:46 +0100 (CET) (envelope-from pav@FreeBSD.org) Message-ID: <4CED33DC.9040508@FreeBSD.org> Date: Wed, 24 Nov 2010 16:48:44 +0100 From: Pav Lucistnik User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20101124 Thunderbird/3.1.6 MIME-Version: 1.0 To: Harald Hanche-Olsen References: <201011231326.oANDQWxv034019@freefall.freebsd.org> <20101123.154942.2128064273763517342.hanche@math.ntnu.no> <4CEBDB55.2010407@FreeBSD.org> <20101124.163746.749301332968390730.hanche@math.ntnu.no> In-Reply-To: <20101124.163746.749301332968390730.hanche@math.ntnu.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 195.122.204.152; Sender-helo: pav.hide.vol.cz; ) 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:48:51 -0000 On 2010/11/24 16:37, Harald Hanche-Olsen wrote: > 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? Can you try adding this line to port Makefile and see if that works? CFLAGS:= ${CFLAGS:N-O*} -- Pav Lucistnik