Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: [hwloc-devel] 0.9.1rc2 failures
From: Pavan Balaji (balaji_at_[hidden])
Date: 2009-10-21 21:31:17


Tried building 0.9.1rc2 with gcc, icc, suncc and pgcc. Builds fine with
gcc. Lots of warnings with icc (as Jeff pointed out). Does not build
with suncc and pgcc.

With suncc (sunstudio 12):
==================================================================
source='topology-linux.c' object='topology-linux.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
        /bin/bash ../libtool --tag=CC --mode=compile suncc -DHAVE_CONFIG_H
-I. -I../include/private -I../include/hwloc -I../include -I../include
  -g -c -o topology-linux.lo topology-linux.c
libtool: compile: suncc -DHAVE_CONFIG_H -I. -I../include/private
-I../include/hwloc -I../include -I../include -g -c topology-linux.c
-KPIC -DPIC -o .libs/topology-linux.o
"../include/hwloc/helper.h", line 46: warning: statement not reached
"../include/hwloc/helper.h", line 69: warning: statement not reached
"../include/private/private.h", line 197: warning: argument mismatch
"topology-linux.c", line 535: warning: initializer does not fit or is
out of range: -1
"topology-linux.c", line 536: warning: initializer does not fit or is
out of range: -1
"topology-linux.c", line 782: syntax error before or at: ...
"topology-linux.c", line 782: warning: null dimension: proc_physids
"topology-linux.c", line 783: syntax error before or at: ...
"topology-linux.c", line 783: warning: null dimension: osphysids
"topology-linux.c", line 784: syntax error before or at: ...
"topology-linux.c", line 784: warning: null dimension: proc_coreids
"topology-linux.c", line 785: syntax error before or at: ...
"topology-linux.c", line 785: warning: null dimension: oscoreids
"topology-linux.c", line 786: syntax error before or at: ...
"topology-linux.c", line 786: warning: null dimension: proc_osphysids
"topology-linux.c", line 787: syntax error before or at: ...
"topology-linux.c", line 787: warning: null dimension: proc_oscoreids
"topology-linux.c", line 788: syntax error before or at: ...
"topology-linux.c", line 788: warning: null dimension: core_osphysids
"topology-linux.c", line 802: warning: argument mismatch
"topology-linux.c", line 808: warning: argument mismatch
"topology-linux.c", line 888: warning: argument mismatch
"topology-linux.c", line 903: cannot recover from previous errors
cc: acomp failed for topology-linux.c
make[1]: *** [topology-linux.lo] Error 1
make[1]: Leaving directory
`/radix-homes/balaji/tmp/hwloc/hwloc-0.9.1rc2/src'
make: *** [all-recursive] Error 1
==================================================================

With pgcc (9.0-4):
==================================================================
libtool: link: pgcc -g -o .libs/lstopo lstopo-lstopo.o
lstopo-lstopo-color.o lstopo-lstopo-text.o lstopo-lstopo-draw.o
lstopo-lstopo-fig.o lstopo-lstopo-cairo.o lstopo-lstopo-xml.o
-L/home/balaji/tmp/hwloc/hwloc-0.9.1rc2/src -lm ../src/.libs/libhwloc.so
-ltermcap
../src/.libs/libhwloc.so: undefined reference to `__CPU_SET'
../src/.libs/libhwloc.so: undefined reference to `__CPU_ZERO'
make[1]: *** [lstopo] Error 2
make[1]: Leaving directory
`/radix-homes/balaji/tmp/hwloc/hwloc-0.9.1rc2/utils'
make: *** [all-recursive] Error 1
==================================================================

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji