Skip to Content.
Sympa Menu

charm - [charm] build error charm-6.5.1

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] build error charm-6.5.1


Chronological Thread 
  • From: Nicolas Bock <nicolasbock AT gmail.com>
  • To: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: [charm] build error charm-6.5.1
  • Date: Wed, 3 Jul 2013 10:28:20 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi,

building charm++-6.5.1 with

./build charm++ net-linux-amd64 smp --build-shared --enable-charmdebug --enable-tracing --enable-tracing-commthread

results in this warning:

md/setjmp64.c: In function ‘qt_args_1’:
md/setjmp64.c:55:5: warning: incompatible implicit declaration of built-in function ‘alloca’ [enabled by default]
md/setjmp64.c:56:5: warning: passing argument 1 of ‘longjmp’ from incompatible pointer type [enabled by default]

I don't quite yet understand exactly the flow of the build process, but it appears as though the configure script correctly identifies that my system as alloca.h:

checking "whether has alloca.h "... "yes"

but defines the symbol CMK_HAS_ALLOCA_H, while src/QuickThreads/md/setjmp64.c uses #ifdef ALLOCA_H.

Explicitly added -DALLOCA_H to the compiler argument list removes the warning.

Thanks,

nick




  • [charm] build error charm-6.5.1, Nicolas Bock, 07/03/2013

Archive powered by MHonArc 2.6.16.

Top of Page