This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Call for testers: MPC-0.6 released


From: "Janis Johnson" <janis187@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]