ParMETIS and gcc-4.4
does anybody is having issue withParMETIS and gcc-4.4 / I'm getting this when
trying to compile the lib :
node_refine.c: In function 'KWayNodeRefine__':
node_refine.c:355: warning: implicit declaration of function 'GKfree__'
cc1(36085) malloc: *** error for object 0x140d52750: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
node_refine.c:114: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
I know that some fixes were pushed to 1.6.x in order to use gcc-4.4 / I'm just not sure if the problem is with the compiler or the lib
This looks like a problem in your compiler. I do not see any problems compiling with either 4.4 or 4.3. (the 'implicit declaration' warning I do get though)
Could also have been a problem with the downloaded ThirdParty package or bad unpacking... it tends to happen often enough :(
By the way, Mattijs can you (or someone else at OpenCFD) add the md5sum instructions to the download page, just prior to the tar instructions? It could help reduce some of these false positives!
Thanks for your suggestions / I checked and my package is fine.
Well, for some reason, my gcc 4.4 and 4.5 don't build the lib properly while 4.3 does not complaint about it. I guess I will stick to 4.3 for now.
Uhm... now that I've re-read the first post, it reminded me that I also have had one of those issues. The two solutions I've used are:
The script I use for building the gcc-4.4.2 (and gcc-4.5.0), modified from the makeGcc that comes with the ThirdParty package, is this:
Good luck! Hope it works.
|All times are GMT -4. The time now is 00:47.|