Date: Wed, 24 Nov 2010 16:48:44 +0100 From: Pav Lucistnik <pav@FreeBSD.org> To: Harald Hanche-Olsen <hanche@math.ntnu.no> Cc: freebsd-ports-bugs@FreeBSD.org, ljrittle@acm.org Subject: Re: ports/152499: Redirections in es may take effect in the shell itself Message-ID: <4CED33DC.9040508@FreeBSD.org> In-Reply-To: <20101124.163746.749301332968390730.hanche@math.ntnu.no> References: <201011231326.oANDQWxv034019@freefall.freebsd.org> <20101123.154942.2128064273763517342.hanche@math.ntnu.no> <4CEBDB55.2010407@FreeBSD.org> <20101124.163746.749301332968390730.hanche@math.ntnu.no>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <pav@oook.cz> <pav@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CED33DC.9040508>