Project

General

Profile

Bug #357

v6.6.0-rc1 fails to build with --with-numa option

Added by Nicolas Bock over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11/19/2013
Due date:
% Done:

0%


Description

When building with

./build charm++ net-linux-amd64 --build-shared --enable-charmdebug --enable-tracing --enable-tracing-commthread --with-numa -j1 -O0 -g -pipe

The build fails at:

../bin/charmc  -O0 -g -pipe -build-shared -c -I. memoryaffinity.c
memoryaffinity.c: In function ‘CmiInitMemAffinity’:
memoryaffinity.c:205:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
cc1: some warnings being treated as errors
Fatal Error by charmc in directory /var/tmp/portage/sys-cluster/charm-6.6.0_rc1/work/charm-6.6.0_rc1/net-linux-amd64/tmp
   Command x86_64-pc-linux-gnu-gcc -Werror=declaration-after-statement -m64 -DCMK_GFORTRAN -I../bin/../include -D__CHARMC__=1 -I. -O0 -g -pipe -fno-stack-protector -fPIC -c memoryaffinity.c -o memoryaffinity.o returned error code 1
charmc exiting...
gmake: *** [memoryaffinity.o] Error 1
-------------------------------------------------
Charm++ NOT BUILT. Either cd into net-linux-amd64/tmp and try
to resolve the problems yourself, visit
http://charm.cs.illinois.edu/
for more information. Otherwise, email the developers at charm@cs.illinois.edu

Without the --with-numa option, it works.

History

#1 Updated by Phil Miller over 5 years ago

  • Description updated (diff)

#2 Updated by Phil Miller over 5 years ago

  • Assignee set to Phil Miller

#3 Updated by Jonathan Lifflander over 5 years ago

  • Status changed from New to Resolved

Reviewed, looks good. Merged into charm.

#4 Updated by Nicolas Bock over 5 years ago

Thanks! That was fast! The patch works for me as well.

#5 Updated by Phil Miller over 5 years ago

  • Status changed from Resolved to Closed
  • Target version set to 6.6.0

Also available in: Atom PDF