On Wed, 1 Apr 2009, Kaveh R. Ghazi wrote:

Ah, that helps. I was able to reproduce the failure using just -D_FORTIFY_SOURCE=2. However when I used both -D_FORTIFY_SOURCE=2 *and* -fstack-protector the error went away again.

I'm using gcc-4.1.2 if that matters, perhaps there's a bug in -fstack-protector in that version that masks this.

Anyway, thanks both of you for helping to track it down. I'll forward this along to the MPC maintainers.

This could be related to a call to sprintf(str,...,str,...), which according to the doc is undefined behaviour.

--
Marc Glisse

Reply via email to