This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/39051] New: --without-{ppl,cloog} should also disable version checks
- From: "dirtyepic at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2009 22:05:03 -0000
- Subject: [Bug bootstrap/39051] New: --without-{ppl,cloog} should also disable version checks
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
(rev 143833)
Currently --without-ppl and --without-cloog will disable the use of these
libraries, but the top level configure will still try to do version checking on
them. It would be much cleaner to disable these checks when the libraries are
disabled.
Right now the PPL check returns "yes", which is confusing for someone who has
disabled PPL. The CLooG check only happens to fail because -DCLOOG_PPL_BACKEND
is not used and I don't have the PolyLib backend installed (if I did I suppose
it would also return "yes").
configure:4871: checking for version 0.10 of PPL
configure:4893: gcc -c -g -O2 conftest.c >&5
configure:4899: $? = 0
configure:4903: test -z
|| test ! -s conftest.err
configure:4906: $? = 0
configure:4909: test -s conftest.o
configure:4912: $? = 0
configure:4914: result: yes
configure:4990: checking for correct version of CLooG
configure:5012: gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:12:
/usr/include/cloog/cloog.h:47:30: error: polylib/missing.h: No such file or
directory
In file included from /usr/include/cloog/cloog.h:48,
from conftest.c:12:
/usr/include/cloog/polylib_backend.h:57: error: expected
specifier-qualifier-list before 'Polyhedron'
In file included from /usr/include/cloog/cloog.h:91,
from conftest.c:12:
/usr/include/cloog/options.h:118: error: expected ')' before '*' token
/usr/include/cloog/options.h:130: error: expected declaration specifiers or
'...' before 'FILE'
/usr/include/cloog/options.h:130: error: expected declaration specifiers or
'...' before 'FILE'
In file included from /usr/include/cloog/cloog.h:92,
from conftest.c:12:
/usr/include/cloog/domain.h:77: error: expected ')' before '*' token
/usr/include/cloog/domain.h:92: error: expected ')' before '*' token
/usr/include/cloog/domain.h:93: error: expected ')' before '*' token
/usr/include/cloog/domain.h:99: error: expected ')' before '*' token
/usr/include/cloog/domain.h:100: error: expected ')' before '*' token
/usr/include/cloog/domain.h:112: error: expected ')' before '*' token
/usr/include/cloog/domain.h:113: error: expected ')' before '*' token
/usr/include/cloog/domain.h:114: error: expected ')' before '*' token
/usr/include/cloog/domain.h:124: error: expected declaration specifiers or
'...' before 'Value'
/usr/include/cloog/domain.h:124: error: expected declaration specifiers or
'...' before 'Value'
/usr/include/cloog/domain.h:125: error: expected declaration specifiers or
'...' before 'Value'
/usr/include/cloog/domain.h:126: error: expected declaration specifiers or
'...' before 'Value'
/usr/include/cloog/domain.h:133: error: expected declaration specifiers or
'...' before 'Value'
In file included from /usr/include/cloog/cloog.h:93,
from conftest.c:12:
/usr/include/cloog/statement.h:90: error: expected ')' before '*' token
/usr/include/cloog/statement.h:91: error: expected ')' before '*' token
In file included from /usr/include/cloog/cloog.h:94,
from conftest.c:12:
/usr/include/cloog/block.h:62: error: expected specifier-qualifier-list before
'Value'
/usr/include/cloog/block.h:92: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
/usr/include/cloog/block.h:97: error: expected declaration specifiers or '...'
before 'Value'
/usr/include/cloog/block.h: In function 'cloog_block_set_scaldims':
/usr/include/cloog/block.h:99: error: 'CloogBlock' has no member named
'scaldims'
/usr/include/cloog/block.h:99: error: 's' undeclared (first use in this
function)
/usr/include/cloog/block.h:99: error: (Each undeclared identifier is reported
only once
/usr/include/cloog/block.h:99: error: for each function it appears in.)
/usr/include/cloog/block.h: In function 'cloog_block_depth':
/usr/include/cloog/block.h:104: error: 'CloogBlock' has no member named
'_depth'
/usr/include/cloog/block.h: In function 'cloog_block_set_depth':
/usr/include/cloog/block.h:109: error: 'CloogBlock' has no member named
'_depth'
/usr/include/cloog/block.h: In function 'cloog_block_usr':
/usr/include/cloog/block.h:114: error: 'CloogBlock' has no member named '_usr'
/usr/include/cloog/block.h: In function 'cloog_block_set_usr':
/usr/include/cloog/block.h:119: error: 'CloogBlock' has no member named '_usr'
/usr/include/cloog/block.h: At top level:
/usr/include/cloog/block.h:157: error: expected ')' before '*' token
/usr/include/cloog/block.h:158: error: expected ')' before '*' token
/usr/include/cloog/block.h:159: error: expected ')' before '*' token
/usr/include/cloog/block.h:173: error: expected declaration specifiers or '...'
before 'Value'
In file included from /usr/include/cloog/cloog.h:95,
from conftest.c:12:
/usr/include/cloog/names.h:193: error: expected ')' before '*' token
/usr/include/cloog/names.h:194: error: expected ')' before '*' token
/usr/include/cloog/names.h:206: error: expected ')' before '*' token
In file included from /usr/include/cloog/cloog.h:96,
from conftest.c:12:
/usr/include/cloog/loop.h:63: error: expected specifier-qualifier-list before
'Value'
/usr/include/cloog/loop.h: In function 'cloog_loop_block':
/usr/include/cloog/loop.h:116: error: 'CloogLoop' has no member named '_block'
/usr/include/cloog/loop.h: In function 'cloog_loop_set_block':
/usr/include/cloog/loop.h:121: error: 'CloogLoop' has no member named '_block'
/usr/include/cloog/loop.h: In function 'cloog_loop_usr':
/usr/include/cloog/loop.h:126: error: 'CloogLoop' has no member named '_usr'
/usr/include/cloog/loop.h: In function 'cloog_loop_set_usr':
/usr/include/cloog/loop.h:131: error: 'CloogLoop' has no member named '_usr'
/usr/include/cloog/loop.h: In function 'cloog_loop_inner':
/usr/include/cloog/loop.h:136: error: 'CloogLoop' has no member named '_inner'
/usr/include/cloog/loop.h: In function 'cloog_loop_set_inner':
/usr/include/cloog/loop.h:141: error: 'CloogLoop' has no member named '_inner'
/usr/include/cloog/loop.h: In function 'cloog_loop_next':
/usr/include/cloog/loop.h:146: error: 'CloogLoop' has no member named '_next'
/usr/include/cloog/loop.h: In function 'cloog_loop_next_addr':
/usr/include/cloog/loop.h:151: error: 'CloogLoop' has no member named '_next'
/usr/include/cloog/loop.h: In function 'cloog_loop_set_next':
/usr/include/cloog/loop.h:156: error: 'CloogLoop' has no member named '_next'
/usr/include/cloog/loop.h: At top level:
/usr/include/cloog/loop.h:163: error: expected ')' before '*' token
/usr/include/cloog/loop.h:164: error: expected ')' before '*' token
/usr/include/cloog/loop.h:176: error: expected ')' before '*' token
In file included from /usr/include/cloog/cloog.h:97,
from conftest.c:12:
/usr/include/cloog/program.h:169: error: expected ')' before '*' token
/usr/include/cloog/program.h:170: error: expected ')' before '*' token
/usr/include/cloog/program.h:171: error: expected ')' before '*' token
/usr/include/cloog/program.h:172: error: expected ')' before '*' token
/usr/include/cloog/program.h:184: error: expected ')' before '*' token
In file included from /usr/include/cloog/cloog.h:98,
from conftest.c:12:
/usr/include/cloog/clast.h:14: error: expected specifier-qualifier-list before
'Value'
/usr/include/cloog/clast.h:32: error: expected specifier-qualifier-list before
'Value'
/usr/include/cloog/clast.h:81: error: expected specifier-qualifier-list before
'Value'
/usr/include/cloog/clast.h:103: error: expected ')' before 'c'
/usr/include/cloog/clast.h:105: error: expected declaration specifiers or '...'
before 'Value'
/usr/include/cloog/clast.h:114: error: expected declaration specifiers or '...'
before 'Value'
In file included from /usr/include/cloog/cloog.h:99,
from conftest.c:12:
/usr/include/cloog/pprint.h:60: error: expected ')' before '*' token
configure:5018: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| /* end confdefs.h. */
| #include "cloog/cloog.h"
| int
| main ()
| {
|
| #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
| choke me
| #endif
|
| ;
| return 0;
| }
configure:5039: result: no
--
Summary: --without-{ppl,cloog} should also disable version checks
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dirtyepic at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39051