I typically do out-of-source builds so that I can build/link on a RAM disk
and save space by not hosting the source code in the RAM disk itself.
Following the instructions on cloog.org for checking out of git, getting
the submodules, autoreconfiugring, and then building, fails in this
scenario. The build works fine when configuring/building in-tree.
Let me know if you need any more information to reproduce/fix.
Thanks!
Here's the error:
mhargett@chert:/work/mhargett/cloog$ ~/src/cloog/configure
--prefix=/u/mhargett/ --with-gnu-ld--with-gcc-arch=core2
--with-isl=bundled --with-osl=bundled --with-gmp-prefix=/u/mhargett/
CFLAGS="-Ofast -flto -mtune=core2" CXXFLAGS="-Ofast -flto -mtune=core2"
LDFLAGS="-flto"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
[...]
config.status: executing libtool commands
/*-----------------------------------------------*
* OpenScop Library configuration is OK *
*-----------------------------------------------*/
It appears that your system is OK to start the OpenScop Library
compilation.
You need now to type "make". Then type "make install" to install it on
your
system (log as root if necessary).
/*-----------------------------------------------*
* CLooG configuration is OK *
*-----------------------------------------------*/
It appears that your system is OK to start CLooG compilation. You need
now to type "make". After compilation, you should check CLooG by typing
"make check". If no problem occur, you can type "make uninstall" if
you are upgrading an old version. Lastly type "make install" to install
CLooG on your system (log as root if necessary).
mhargett@chert:/work/mhargett/cloog$ time make -j8
Making all in isl
make[1]: Entering directory `/work/mhargett/cloog/isl'
make all-recursive
make[2]: Entering directory `/work/mhargett/cloog/isl'
Making all in .
make[3]: Entering directory `/work/mhargett/cloog/isl'
CC libisl_la-isl_lp_no_piplib.lo
CC libisl_la-isl_map_no_piplib.lo
[...]
/u/mhargett/src/cloog/osl/source/relation.c: In function
osl_relation_strings:
/u/mhargett/src/cloog/osl/source/relation.c:346:18: warning: variable
array_id set but not used [-Wunused-but-set-variable]
CC libosl_la-vector.lo
CC libosl_la-names.lo
CC libosl_la-strings.lo
CC libosl_la-body.lo
CC libosl_la-int.lo
CC libosl_la-util.lo
CCLD libosl.la
make[2]: Leaving directory `/work/mhargett/cloog/osl'
Making all in doc
make[2]: Entering directory `/work/mhargett/cloog/osl/doc'
make[3]: Entering directory `/work/mhargett/cloog/osl/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/work/mhargett/cloog/osl/doc'
make[2]: Leaving directory `/work/mhargett/cloog/osl/doc'
Making all in tests
make[2]: Entering directory `/work/mhargett/cloog/osl/tests'
make[3]: Entering directory `/work/mhargett/cloog/osl/tests'
CC osl_test-osl_test.o
In file included from /u/mhargett/src/cloog/osl/tests/osl_test.c:69:0:
/u/mhargett/src/cloog/osl/include/osl/osl.h:106:23: fatal error:
osl/scop.h: No such file or directory
compilation terminated.
make[3]: *** [osl_test-osl_test.o] Error 1
--
tangled strands of DNA explain the way that I behave.
http://www.clock.org/~matt
Do you need osl support?
If not, you can try configuring with --with-osl=no.
If that solves your problem, you may want to report this
problem to the maintainers of osl (they should also be on this
list, but they may pay more attention if you tell them directly).
skimo