Skip to Content.
Sympa Menu

charm - [charm] Some commands during build fail, but build succeeds

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Some commands during build fail, but build succeeds


Chronological Thread 
  • From: Yuri <yuri AT rawbw.com>
  • To: charm AT cs.illinois.edu
  • Subject: [charm] Some commands during build fail, but build succeeds
  • Date: Wed, 5 Sep 2018 17:15:58 -0700
  • Authentication-results: illinois.edu; spf=none smtp.mailfrom=yuri AT rawbw.com; dmarc=none

I am trying to build on FreeBSD 11.2 amd64.


Build printed a lot of errors, like these:

libmemory-hooks-charmdebug.c:213:3: note: expanded from macro 'BEFORE_MALLOC_CALL'
  __malloc_hook = old_malloc_hook; \
  ^
libmemory-hooks-charmdebug.c:230:16: note: 'old_malloc_hook' declared here
static void *(*old_malloc_hook) (size_t, const void*);
               ^
In file included from libmemory-hooks-charmdebug.c:265:
./memory-charmdebug.c:587:3: error: use of undeclared identifier '__realloc_hook'; did you mean 'old_realloc_hook'?
  BEFORE_MALLOC_CALL;
  ^
libmemory-hooks-charmdebug.c:214:3: note: expanded from macro 'BEFORE_MALLOC_CALL'
  __realloc_hook = old_realloc_hook; \
  ^
libmemory-hooks-charmdebug.c:231:16: note: 'old_realloc_hook' declared here
static void *(*old_realloc_hook) (void*,size_t, const void*);
               ^
In file included from libmemory-hooks-charmdebug.c:265:
./memory-charmdebug.c:587:3: error: use of undeclared identifier '__memalign_hook'; did you mean 'old_memalign_hook'?
  BEFORE_MALLOC_CALL;
  ^


Yet, in the end it printed:

charm++ built successfully.


How to fix these errors?

Could you please fix build so that failed individual commands would fail the overall build.


Version 6.8.2


Thanks,

Yuri





Archive powered by MHonArc 2.6.19.

Top of Page