[Fwd: Re: warning GMP -fexception message on configure]

-------- Original Message -------- Subject: Re: [PPL-devel] warning GMP -fexception message on configure Date: Wed, 14 Oct 2009 08:15:30 -0700 From: Reimundo Heluani rheluani@gmail.com To: Roberto Bagnara bagnara@cs.unipr.it References: 1255460135.18699.37.camel@campari.homeip.net 4AD596A2.4090800@cs.unipr.it
On Wed, 2009-10-14 at 11:15 +0200, Roberto Bagnara wrote:
Reimundo Heluani wrote:
Hi there, trying to compile PPL-0.10.2 I get the message
WARNING: CANNOT PROPAGATE EXCEPTIONS BACK FROM GMP: *** MEMORY EXHAUSTION MAY RESULT IN ABRUPT TERMINATION *** This is OK, if you do not plan to use the bounded memory capabilities *** offered by the PPL. Otherwise, if you are using GCC or the Intel; C/C++ compiler, please make sure you use a version of GMP compiled with the -fexceptions compiler option. ... ....
And the end of the configure round.
I just compiled (twice to make sure) GMP 4.3.1 with CPPFLAGS=-fexceptions --enable-cxx
I'm trying to compile this on a CFLS x86_64 system. Is is normal?
Hi Reimundo,
from your message I gather you used, for GMP 4.3.1, a configuration command of the form
./configure CPPFLAGS=-fexceptions --enable-cxx
I would use a configuration command of this form instead
CPPFLAGS=-fexceptions ./configure --enable-cxx
Indeed the command I have used is of this form. I'm following CLFS and in that list someone told me that the compilation of GMP goes fine, just that the test on PPL is failing. Indeed in the final version of the system I do not get that warning. Just in the cross compiled one.
Cheers,
R.
Please let us know how it goes. All the best,
Roberto
participants (1)
-
Roberto Bagnara