This looks like a compiler bug - am not ready to debug gcc though. Fix: disable compiler optimisation on amd64 Fix: Include workaround for amd64 in ports Makefile (is this the right location?) Should probably include a helpful comment as well...
State Changed From-To: open->closed Committed, thanks! But I'm not sure if it's a good idea to reset CFLAGS.