ports/152499: Redirections in es may take effect in the shell itself

Pav Lucistnik pav at FreeBSD.org
Wed Nov 24 15:48:51 UTC 2010


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 at oook.cz>
               <pav at FreeBSD.org>



More information about the freebsd-ports-bugs mailing list