[cgma-dev] build issues, libtool

Jed Brown jed at 59A2.org
Fri Sep 18 10:39:47 CDT 2009


Thanks Steve and lead developer.  Here is the Lasso/gcc-4.4.1 patch I
forgot to mention in my last message, but recently notified lead
developer of.

commit 0415db8b79220e260e552555e33c4fbb65c60e9b
Author: Jed Brown <jed at 59A2.org>
Date:   Fri Sep 18 10:36:02 2009 -0500

    Include stdio.h required for sprintf with stricter gcc-4.4.1

diff --git a/AssocPairC.cpp b/AssocPairC.cpp
index f980cce..01005c4 100644
--- a/AssocPairC.cpp
+++ b/AssocPairC.cpp
@@ -5,6 +5,7 @@
 #include "iRel.h"
 
 #include <string.h>
+#include <stdio.h>
 
 #define RETURN(a) {iRel_LAST_ERROR.error_type = a; return a;}
 #define iRel_processError(a, b) {sprintf(iRel_LAST_ERROR.description, b); iRel_LAST_ERROR.error_type = a;}
diff --git a/iRel_Lasso.cpp b/iRel_Lasso.cpp
index 8a3f6ff..b5d6c3f 100644
--- a/iRel_Lasso.cpp
+++ b/iRel_Lasso.cpp
@@ -19,6 +19,7 @@
 #include <map>
 #include <algorithm>
 #include <math.h>
+#include <stdio.h>^M
 
 const bool debug = false;
 


Jed

tautges at mcs.anl.gov wrote:
> Jed is about to get on a long flight (said lead developer just dropped
> him off...). :)
> 
> 
> 
> - tim
> 
> On Sep 18, 2009, at 11:00 AM, Steve Jackson <sjackson at cae.wisc.edu> wrote:
> 
>> Hi Jed,
>>
>> On Thu, Sep 17, 2009 at 11:35:41PM -0500, Jed Brown wrote:
>>> After working around the broken libtool, CGM seems to be built, but I
>>> had to kill the test suite after it was demanding more than 5GB of
>>> memory.  Make check gives the output below (I killed it from elsewhere).
>>> Is this a memory leak, or is it actually doing a stress test that I just
>>> don't have enough memory for?  I'll get you a stack trace if that would
>>> be helpful.
>>
>> An iGeom test that was recently added to the test suite throws
>> testgeom_occ
>> into infinite recursion, causing the enormous memory demand you observed.
>> I've alerted one of the lead developers of the issue.
>> ~S
>>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20090918/c08bc33d/attachment.pgp>


More information about the cgma-dev mailing list