remove the aggressive compiler optimisation flags. The really bite you in some cases.