public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/38971]  New: RFE - Cloog .git is version "0.14.0" but gcc requires "0.15.0" (and our other problems with the cloog trunk)
@ 2009-01-26  2:54 rob1weld at aol dot com
  2009-01-26  3:09 ` [Bug bootstrap/38971] " spop at gcc dot gnu dot org
  2009-01-26 12:37 ` rob1weld at aol dot com
  0 siblings, 2 replies; 3+ messages in thread
From: rob1weld at aol dot com @ 2009-01-26  2:54 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 5060 bytes --]

+++ This bug was initially created as a clone of Bug #38911 +++
I'm compiling gcc revision 143664 on F10.

The cloog website recommends it's ".git" for best results:
http://www.bastoul.net/cloog/download.php#DEV


The '.git' version (newest) creates version.h with this content:
#define CLOOG_HEAD "0.14.0-148-gdccf6cb"

Gcc's ./configure requires cloog 0.15 as a minimum.



The Instructions for cloog DEV have this as one of the things you must do:

./configure --without-polylib --with-isl=bundled
--with-gmp-prefix=/path/to/gmp/installation


If you configure in that manner gcc's ./configure will see that you do 
not use PPL but do have Cloog and will allow gcc to configure and build, 
failing here:

gcc -ffloat-store -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H
-I. -I. -I../../gcc_trunk/gcc -I../../gcc_trunk/gcc/.
-I../../gcc_trunk/gcc/../include -I./../intl
-I../../gcc_trunk/gcc/../libcpp/include  -I../../gcc_trunk/gcc/../libdecnumber
-I../../gcc_trunk/gcc/../libdecnumber/bid -I../libdecnumber 
-I/usr/local/include -DCLOOG_PPL_BACKEND   ../../gcc_trunk/gcc/graphite.c -o
graphite.o
In file included from ../../gcc_trunk/gcc/graphite.c:60:
../../gcc_trunk/gcc/graphite.h:119: error: expected specifier-qualifier-list
before ‘CloogMatrix’
../../gcc_trunk/gcc/graphite.h: In function ‘gbb_nb_loops’:
../../gcc_trunk/gcc/graphite.h:227: error: ‘const struct graphite_bb’ has no
member named ‘domain’
../../gcc_trunk/gcc/graphite.h:230: error: ‘const struct graphite_bb’ has no
member named ‘domain’
../../gcc_trunk/gcc/graphite.h:231: warning: control reaches end of non-void
function
../../gcc_trunk/gcc/graphite.h: In function ‘gbb_loop_at_index’:
../../gcc_trunk/gcc/graphite.h:239: error: ‘struct graphite_bb’ has no member
named ‘loops’
../../gcc_trunk/gcc/graphite.h:239: error: ‘struct graphite_bb’ has no member
named ‘loops’
../../gcc_trunk/gcc/graphite.h: In function ‘gbb_loop_index’:
../../gcc_trunk/gcc/graphite.h:250: error: ‘struct graphite_bb’ has no member
named ‘loops’
../../gcc_trunk/gcc/graphite.h:250: error: ‘struct graphite_bb’ has no member
named ‘loops’
../../gcc_trunk/gcc/graphite.h: In function ‘loop_domain_dim’:
../../gcc_trunk/gcc/graphite.h:482: warning: implicit declaration of function
‘cloog_domain_dim’
../../gcc_trunk/gcc/graphite.h:482: warning: implicit declaration of function
‘cloog_loop_domain’
../../gcc_trunk/gcc/graphite.c: At top level:
../../gcc_trunk/gcc/graphite.c:67: error: expected declaration specifiers or
‘...’ before ‘Value’
../../gcc_trunk/gcc/graphite.c: In function ‘gmp_cst_to_tree’:
../../gcc_trunk/gcc/graphite.c:69: warning: implicit declaration of function
‘value_get_si’
../../gcc_trunk/gcc/graphite.c:69: error: ‘v’ undeclared (first use in this
function)
../../gcc_trunk/gcc/graphite.c:69: error: (Each undeclared identifier is
reported only once
../../gcc_trunk/gcc/graphite.c:69: error: for each function it appears in.)
../../gcc_trunk/gcc/graphite.c: In function ‘debug_loop_vec’:
../../gcc_trunk/gcc/graphite.c:101: error: ‘struct graphite_bb’ has no member
named ‘loops’
../../gcc_trunk/gcc/graphite.c:101: error: ‘struct graphite_bb’ has no member
named ‘loops’
../../gcc_trunk/gcc/graphite.c: In function ‘gcc_type_for_cloog_iv’:
../../gcc_trunk/gcc/graphite.c:331: error: ‘struct graphite_bb’ has no member
named ‘cloog_iv_types’
../../gcc_trunk/gcc/graphite.c: In function ‘loop_iv_stack_patch_for_consts’:
../../gcc_trunk/gcc/graphite.c:350: warning: implicit declaration of function
‘cloog_statement_usr’
../../gcc_trunk/gcc/graphite.c:365: error: too many arguments to function
‘gmp_cst_to_tree’

...

../../gcc_trunk/gcc/graphite.c: In function ‘graphite_transform_loops’:
../../gcc_trunk/gcc/graphite.c:6071: warning: implicit declaration of function
‘cloog_initialize’
../../gcc_trunk/gcc/graphite.c:6133: warning: implicit declaration of function
‘cloog_finalize’
make[3]: *** [graphite.o] Error 1
make[3]: Leaving directory `/mnt/drive2/gcc_build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/mnt/drive2/gcc_build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/drive2/gcc_build'
make: *** [all] Error 2


Thanks,
Rob


-- 
           Summary: RFE - Cloog .git is version "0.14.0" but gcc requires
                    "0.15.0" (and our other problems with the cloog trunk)
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i386-redhat-linux-gnu
  GCC host triplet: i386-redhat-linux-gnu
GCC target triplet: i386-redhat-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38971


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/38971] RFE - Cloog .git is version "0.14.0" but gcc requires "0.15.0" (and our other problems with the cloog trunk)
  2009-01-26  2:54 [Bug bootstrap/38971] New: RFE - Cloog .git is version "0.14.0" but gcc requires "0.15.0" (and our other problems with the cloog trunk) rob1weld at aol dot com
@ 2009-01-26  3:09 ` spop at gcc dot gnu dot org
  2009-01-26 12:37 ` rob1weld at aol dot com
  1 sibling, 0 replies; 3+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-01-26  3:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from spop at gcc dot gnu dot org  2009-01-26 03:09 -------
You are not supposed to use Cloog trunk, for GCC 4.4 you have to use
this: ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.tar.gz
and follow the install instructions either from GCC's docs or from the
wiki page: http://gcc.gnu.org/wiki/Graphite_Build

Sebastian


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38971


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/38971] RFE - Cloog .git is version "0.14.0" but gcc requires "0.15.0" (and our other problems with the cloog trunk)
  2009-01-26  2:54 [Bug bootstrap/38971] New: RFE - Cloog .git is version "0.14.0" but gcc requires "0.15.0" (and our other problems with the cloog trunk) rob1weld at aol dot com
  2009-01-26  3:09 ` [Bug bootstrap/38971] " spop at gcc dot gnu dot org
@ 2009-01-26 12:37 ` rob1weld at aol dot com
  1 sibling, 0 replies; 3+ messages in thread
From: rob1weld at aol dot com @ 2009-01-26 12:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rob1weld at aol dot com  2009-01-26 12:36 -------
I was just going to post this and got a mid-air:

It is possible (and would be unfortunate) that gcc will only build with 
a 'special edition' cloog-ppl from: ftp://gcc.gnu.org/pub/gcc/infrastructure/ .

Thanks, if you can fix it so the '.git.' will work I am willing to test.

Rob


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38971


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-26 12:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-26  2:54 [Bug bootstrap/38971] New: RFE - Cloog .git is version "0.14.0" but gcc requires "0.15.0" (and our other problems with the cloog trunk) rob1weld at aol dot com
2009-01-26  3:09 ` [Bug bootstrap/38971] " spop at gcc dot gnu dot org
2009-01-26 12:37 ` rob1weld at aol dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).