From: "Janis Johnson" <janis...@us.ibm.com>

Same behavior with openSUSE 11.1 (glibc 2.9, gcc 4.3.2, gmp 4.2.3, mpfr 2.3.2).

Note that I build with -D_FORTIFY_SOURCE=2 -fstack-protector.

I get the failure Richard mentioned when I use -D_FORTIFY_SOURCE=2
-fstack-protector but no failures without those options.  This is on
powerpc64-linux (but defaulting to -m32) with:

RHEL 5.3
GCC 4.3.2
GMP 4.2.4
MPFR 2.4.1
MPC 0.6

I don't normally use those options.
Janis

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.

--Kaveh

Reply via email to