Alan Hourihane wrote:
One of the easiest things to do is add -fno-strict-aliasing and see if that helps. If that does it should be pretty easy to track down.
Exactly.And if this not enough, all the -O options have to be removed. Most compiler issues disappear when all the optimizations are turned off.
But the real cause is usually a hidden bug in the sources of the problematic software. We can't exclude a compiler bug, too, but it is more rare.
-- Vincent Rivière