Skip to Content.
Sympa Menu

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

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

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


Chronological Thread 
  • From: "White, Samuel T" <white67 AT illinois.edu>
  • To: Yuri <yuri AT rawbw.com>, "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: RE: [charm] Some commands during build fail, but build succeeds
  • Date: Fri, 7 Sep 2018 15:47:40 +0000
  • Accept-language: en-US
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=white67 AT illinois.edu; dmarc=pass header.from=illinois.edu

These particular failures are expected on some systems and are to
non-essential parts of the runtime, so you don't have to worry, Charm++ did
build successfully. For now, you can safely ignore these errors.

We are working on cleaning up the build system to properly identify things
that are not expected to compile at configure-time and to avoid compiling
them entirely.

Thanks,
Sam

________________________________________
From: Yuri
[yuri AT rawbw.com]
Sent: Wednesday, September 05, 2018 7:15 PM
To:
charm AT cs.illinois.edu
Subject: [charm] Some commands during build fail, but build succeeds

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