[PPL-devel] PPL on a Power6 running AIX

Roberto Bagnara bagnara at cs.unipr.it
Thu Sep 10 08:46:03 CEST 2009


Davide Del Vento wrote:
> Folks,
> I am trying to compile the latest PPL on bluefire, an IBM Power6 running
> AIX 5.3, with IBM's compiler xlc/xlC
> (http://www.cisl.ucar.edu/docs/bluefire/be_quickstart.html#software)
> 
> Unfortunately, while the configure script is happy (see config.log for
> details), the compilation fails as described in the attached make.log
> and I have no clues about it.
> 
> Note that before it was failing with the following one, which I believe
> was due to a different make version being used, but might be the first
> culprit (I have the make.log for this too but I'm not sending it right now):
> 
> /usr/bin/sed -f ./ppl-config.sed  >ppl-config.h
> "../ppl-config.h", line 1.0: 1540-0809 (W) The source file is empty.
> 
> Do you have any recommendations about what I can do to fix the issue?

Hi Davide,

looking at config.log, I gather you are using C and C++ compilers
called xlc and xlC, respectively.  We never compiled the PPL using those,
but this should not be a problem as long as they implement a large enough
fragment of the C and C++ standards.

Looking at make.log, I see something strange is happening.  The first errors,
that is,

"Row.defs.hh", line 88.46: 1540-0063 (S) The text "Row_Impl_Handler" is unexpected.
"Linear_Row.defs.hh", line 124.52: 1540-0063 (S) The text "Row" is unexpected.
"Linear_Expression.defs.hh", line 236.60: 1540-0063 (S) The text "Linear_Row" is unexpected.
"Linear_System.defs.hh", line 54.55: 1540-0063 (S) The text "Matrix" is unexpected.
"Constraint_System.defs.hh", line 127.60: 1540-0063 (S) The text "Linear_System" is unexpected.
"Constraint.defs.hh", line 260.53: 1540-0063 (S) The text "Linear_Row" is unexpected.
"Congruence_System.defs.hh", line 120.60: 1540-0063 (S) The text "Matrix" is unexpected.

would be explained if you were including some funny header file doing

#define private
#define public

I know, this is crazy, but how else could the text "Row_Impl_Handler"
be unexpected in the lines

class Parma_Polyhedra_Library::Row : private Row_Impl_Handler {

and

class Parma_Polyhedra_Library::Linear_Row : public Row {

?

Do you have the option of compiling with GCC 4.0.3 or later version?
Otherwise, please use the -E option of your compiler to inspect the
preprocessor output, and check how the two lines above are transformed.

> PS: I speak Italian, but I'm not sure if this list is read just by
> Italian, despite its .it domain.

This is an English-language mailing list indeed.
All the best,

   Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the PPL-devel mailing list