rebuilding gcc4 on solaris 9

Riccardo Mottola rmottola at opencsw.org
Tue May 26 17:34:42 CEST 2015


Hi..

sometimes if you dig to deep....


Dagobert Michelsen wrote:
> Dig deeper. The failing code is given in config.log, copy+paste that and try invoking
> gcc manually, if that doesn't help inspect the output of using -E (print output after
> preprocessing) and see why the definition of "choke" is missing by following the
> gcc header inclusion trail.

configure:6052: checking for version 0.16.1 of CLooG
configure:6070: /opt/csw/bin/gcc-4.6 -c -g -O2 -I/opt/csw/include 
-DCLOOG_INT_GMP -DCLOOG_ORG -I/opt/csw/include  -I/opt/csw/include -
I/opt/csw/include   conftest.c >&5
conftest.c: In function 'main':
conftest.c:15:5: error: unknown type name 'choke'
configure:6070: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include "cloog/cloog.h"
| int
| main ()
| {
| #if CLOOG_VERSION_MAJOR != 0     || CLOOG_VERSION_MINOR != 16 || 
CLOOG_VERSION_REVISION < 1
|     choke me
|    #endif
|   ;
|   return 0;
| }
configure:6077: result: no
configure:6160: error: Unable to find a usable CLooG.  See config.log 
for details.

| #if CLOOG_VERSION_MAJOR != 0     || CLOOG_VERSION_MINOR < 16     || 
CLOOG_VERSION_REVISION < 1


The test seems to be written to accept ONLY 0.16.x where is > 1

we have:
#define CLOOG_VERSION_MAJOR 0
#define CLOOG_VERSION_MINOR 18
#define CLOOG_VERSION_REVISION 2

What is this dependency for? may I disable it? Or I could try to patch 
the test to accept also new stuff.


Riccardo



More information about the maintainers mailing list