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

Harald Hanche-Olsen hanche at math.ntnu.no
Wed Nov 24 15:37:49 UTC 2010


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



More information about the freebsd-ports-bugs mailing list