This is the mail archive of the gcc@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]

[Make failure with GCC-3.3.X and GCC-3.4.0 on Solaris 8 ] : gmake:*** [all-libiberty] Error 2



Hello,


Since one week, I'm getting a make failure with the following versions of gcc : 3.3.2, 3.3.3, 3.4.0 on Solaris 8. ( On solaris 2.6 and redhat 8.0, all these builds are OK )

My way to proceed :

% > ../configure --prefix=/opt/swe/tools/ext/gnu/gcc-3.3.2 --exec-prefix=/opt/swe/tools/ext/gnu/gcc-3.3.2/sparc-solaris2.8 --disable-shared --enable-threads=posix --enable-languages=c,c++,java

The configure seems OK instead that :

checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether getenv is declared... no
checking whether atol is declared... no
checking whether sbrk is declared... no
checking whether abort is declared... no
checking whether atof is declared... no
checking whether getcwd is declared... no
checking whether getwd is declared... no
checking whether strsignal is declared... no
checking whether putc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether fprintf_unlocked is declared... no
checking whether strstr is declared... no
checking whether errno is declared... no
checking whether vasprintf is declared... no
checking whether malloc is declared... no
checking whether realloc is declared... no
checking whether calloc is declared... no
checking whether free is declared... no
checking whether basename is declared... no
checking whether getopt is declared... no
checking whether clock is declared... no
checking whether getrlimit is declared... no
checking whether setrlimit is declared... no
checking whether getrusage is declared... no
checking whether times is declared... no
checking for struct tms... no
checking for clock_t... no



On Solaris 2.6 and on linux, all this checkings are 'yes' Any ideas ?

************************

About make ( gmake-3.77 )

% > gmake

gmake[1]: Entering directory `/net/wctfs409/newdsk/workdir/opt_swe-bis/ext/gnu/sol8-gcc-332/gcc-3.3.2/objdir/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/regex.c -o pic/regex.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/regex.c -o regex.o
In file included from ../../include/xregex.h:26,
from ../../libiberty/regex.c:195:
../../include/xregex2.h:551: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from ../../libiberty/regex.c:649:
../../libiberty/regex.c: In function `byte_compile_range':
../../libiberty/regex.c:4548: warning: signed and unsigned type in conditional expression
../../libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../libiberty/regex.c: In function `xregerror':
../../libiberty/regex.c:8178: warning: unused parameter `preg'
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/cplus-dem.c -o cplus-dem.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/cp-demangle.c -o pic/cp-demangle.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/cp-demangle.c -o cp-demangle.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/md5.c -o pic/md5.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/md5.c -o md5.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/alloca.c -o pic/alloca.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/alloca.c -o alloca.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/argv.c -o pic/argv.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/argv.c -o argv.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/choose-temp.c -o pic/choose-temp.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/choose-temp.c -o choose-temp.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/concat.c -o pic/concat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/concat.c -o concat.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/dyn-string.c -o pic/dyn-string.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/dyn-string.c -o dyn-string.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/fdmatch.c -o pic/fdmatch.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/fdmatch.c -o fdmatch.o
In file included from ../../libiberty/fdmatch.c:47:
/usr/include/sys/stat.h:258: error: parse error before "blksize_t"
/usr/include/sys/stat.h:262: error: parse error before '}' token
/usr/include/sys/stat.h:318: error: parse error before "blksize_t"
/usr/include/sys/stat.h:319: error: conflicting types for `st_blocks'
/usr/include/sys/stat.h:259: error: previous declaration of `st_blocks'
/usr/include/sys/stat.h:322: error: parse error before '}' token
../../libiberty/fdmatch.c: In function `fdmatch':
../../libiberty/fdmatch.c:53: error: storage size of `sbuf1' isn't known
../../libiberty/fdmatch.c:54: error: storage size of `sbuf2' isn't known
../../libiberty/fdmatch.c:53: warning: unused variable `sbuf1'
../../libiberty/fdmatch.c:54: warning: unused variable `sbuf2'
gmake[1]: *** [fdmatch.o] Error 1
gmake[1]: Leaving directory `/net/wctfs409/newdsk/workdir/opt_swe-bis/ext/gnu/sol8-gcc-332/gcc-3.3.2/objdir/libiberty'
gmake: *** [all-libiberty] Error 2



I've got the same error if I just run ./configure and gmake



Any tips or ideas ?


Thanks.

Rgds,
DS





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