This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Support official CLooG.org versions.


On Thu, Nov 11, 2010 at 06:41:03PM -0500, Jack Howarth wrote:
> 
> Sebastian,
>    Do these new changes require cloog-ppl 0.15.10 rather than 0.15.9? I am
> finding the the x86_64-apple-darwin bootstrap fails with...
> 
> checking for version 0.10 (or later revision) of PPL... yes
> checking for installed CLooG... no
> configure: error: Unable to find a usable CLooG. See config.log for details.
> ### execution of /var/tmp/tmp.1.UpSRyE failed, exit code 1
> 

Sebastian,
   I finally caught on that the recent check-ins completely depreciate the use
of cloog-ppl. It would be nice if the configure error message alerted the user
to that fact. Installed cloog-org from the git using the recommended commands...

git clone git://repo.or.cz/cloog.git
cd cloog
./get_submodules.sh
./autogen.sh
./configure --with-gmp-prefix=/path/to/gmp/installation
make
And as root: make install

which doesn't appear to provide the required support for building cloog-ppl
in cloog.org. Using the installed cloog-isl, I was able to start a build of
current gcc trunk with...

../gcc-4.6-20101111/configure --prefix=/sw --prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info --enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.6 --enable-checking=yes

where the ppl installed is 0.11. This build unfortunately fails at...

/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/xgcc -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/ -B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/ -B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/ -B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/lib/ -isystem /sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/include -isystem /sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/sys-include    -c   -g -O2 -mdynamic-no-pic -gtoggle -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6-20101111/gcc -I../../gcc-4.6-20101111/gcc/. -I../../gcc-4.6-20101111/gcc/../include -I../../gcc-4.6-20101111/gcc/../libcpp/include -I/sw/include -I/sw/include  -I../../gcc-4.6-20101111/gcc/../libdecnumber -I../../gcc-4.6-20101111/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include  -I/sw/include -DCLOOG_INT_GMP -DCLOOG_ORG -I/sw/include ../../gcc-4.6-20101111/gcc/graphite-cloog-util.c -o graphite-cloog-util.o
../../gcc-4.6-20101111/gcc/graphite-cloog-util.c: In function 'oppose_constraint':
../../gcc-4.6-20101111/gcc/graphite-cloog-util.c:63:17: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
../../gcc-4.6-20101111/gcc/graphite-cloog-util.c: In function 'cloog_matrix_to_ppl_constraint':
../../gcc-4.6-20101111/gcc/graphite-cloog-util.c:180:17: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
../../gcc-4.6-20101111/gcc/graphite-cloog-util.c: In function 'new_Constraint_System_from_Cloog_Matrix':
../../gcc-4.6-20101111/gcc/graphite-cloog-util.c:210:17: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1: all warnings being treated as errors

make[3]: *** [graphite-cloog-util.o] Error 1
make[3]: *** Waiting for unfinished jobs....

Is there any documentation on how to build cloog-ppl from the cloog.org git?
Also what will be the recommended build configuration for gcc's graphite support
in gcc 4.6? Will it be ppl 0.11 and cloog-isl or cloog-ppl?
              Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]