see my attached patch. The problem was, that the $CFLAGS from
make.conf was not used in make. To enforce it, you have to do:
emake CFLAGS="$CFLAGS"
then everything works fine and it is also a benefit for x86, since this way, we can use our CFLAGS. ;-)
Reproducible: Always
Steps to Reproduce:
This patch only works if you have -fPIC in your CFLAGS, I went into the work
directory and found a Makefile in a bit of a state. It was trying to use "-O6
-ffast-math -funroll-loops -Wall -march=$(ARCH) -mcpu=$(ARCH)", which is far
from ideal :)
Committed to CVS now.
Thanks very much for reporting!