bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error while building GCC-3.4.6 in Solaris 10


From: js satheesh
Subject: Error while building GCC-3.4.6 in Solaris 10
Date: Wed, 26 Mar 2008 10:23:59 +0530


Hi All,
 
I tried to install GCC-3.4.6 in Solaris 10. But it is throwing an error while building the package. Error logs are given below:
 
Steps i followed to install the GCC compiler:
 
Step 1: ../gcc-3.4.6/configure --prefix=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6/
Step 2: make bootstrap
 
Error Log:
 
asdo0002% make bootstrap
Configuring in libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... no
checking for perl... perl
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for sparc-sun-solaris2.10-ar... ar
checking for sparc-sun-solaris2.10-ranlib... ranlib
checking for sparc-sun-solaris2.10-gcc... /apps/gcc-3.4.3/bin/gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /apps/gcc-3.4.3/bin/gcc accepts -g... yes
checking for /apps/gcc-3.4.3/bin/gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /apps/gcc-3.4.3/bin/gcc -E
checking whether /apps/gcc-3.4.3/bin/gcc and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... yes
checking for a BSD-compatible install... ../../gcc-3.4.6/libiberty/../install-sh -c
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... no
checking for sys/systemcfg.h... no
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for uintptr_t... yes
checking for pid_t... yes
checking for library containing strerror... none required
checking for asprintf... no
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for mempcpy... no
checking for memset... yes
checking for mkstemps... no
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... yes
checking for snprintf... yes
checking for sigsetmask... no
checking for stpcpy... no
checking for stpncpy... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... no
checking for vfprintf... yes
checking for vprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _doprnt... yes
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... no
checking for external symbol _system_configuration... no
checking for getrusage... yes
checking for on_exit... no
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... no
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... no
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
if [ x"" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/regex.c -o pic/regex.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/regex.c -o regex.o
In file included from ../../gcc-3.4.6/libiberty/regex.c:649:
../../gcc-3.4.6/libiberty/regex.c: In function `byte_compile_range':
../../gcc-3.4.6/libiberty/regex.c:4548: warning: signed and unsigned type in conditional _expression_
../../gcc-3.4.6/libiberty/regex.c:4558: warning: signed and unsigned type in conditional _expression_
../../gcc-3.4.6/libiberty/regex.c:4558: warning: signed and unsigned type in conditional _expression_
../../gcc-3.4.6/libiberty/regex.c: At top level:
../../gcc-3.4.6/libiberty/regex.c:8178: warning: unused parameter 'preg'
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/cplus-dem.c -o cplus-dem.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/cp-demangle.c -o pic/cp-demangle.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/cp-demangle.c -o cp-demangle.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/cp-demint.c -o pic/cp-demint.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/cp-demint.c -o cp-demint.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/md5.c -o pic/md5.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/md5.c -o md5.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/alloca.c -o pic/alloca.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/alloca.c -o alloca.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/argv.c -o pic/argv.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/argv.c -o argv.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/choose-temp.c -o pic/choose-temp.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/choose-temp.c -o choose-temp.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/concat.c -o pic/concat.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/concat.c -o concat.o
../../gcc-3.4.6/libiberty/concat.c: In function `concat_length':
../../gcc-3.4.6/libiberty/concat.c:112: warning: traditional C rejects ISO C style function definitions
../../gcc-3.4.6/libiberty/concat.c: In function `concat_copy':
../../gcc-3.4.6/libiberty/concat.c:127: warning: traditional C rejects ISO C style function definitions
../../gcc-3.4.6/libiberty/concat.c: In function `concat_copy2':
../../gcc-3.4.6/libiberty/concat.c:146: warning: traditional C rejects ISO C style function definitions
../../gcc-3.4.6/libiberty/concat.c: In function `concat':
../../gcc-3.4.6/libiberty/concat.c:157: warning: traditional C rejects ISO C style function definitions
../../gcc-3.4.6/libiberty/concat.c: In function `reconcat':
../../gcc-3.4.6/libiberty/concat.c:194: warning: traditional C rejects ISO C style function definitions
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/dyn-string.c -o pic/dyn-string.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/dyn-string.c -o dyn-string.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/fdmatch.c -o pic/fdmatch.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/fdmatch.c -o fdmatch.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/fibheap.c -o fibheap.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/floatformat.c -o pic/floatformat.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/floatformat.c -o floatformat.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/fnmatch.c -o pic/fnmatch.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/fnmatch.c -o fnmatch.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/getopt.c -o pic/getopt.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/getopt.c -o getopt.o
../../gcc-3.4.6/libiberty/getopt.c:396: warning: unused parameter 'argc'
../../gcc-3.4.6/libiberty/getopt.c:397: warning: unused parameter 'argv'
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/getopt1.c -o pic/getopt1.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/getopt1.c -o getopt1.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/getpwd.c -o pic/getpwd.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/getpwd.c -o getpwd.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/getruntime.c -o pic/getruntime.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/getruntime.c -o getruntime.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/hashtab.c -o pic/hashtab.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/hashtab.c -o hashtab.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/hex.c -o pic/hex.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/hex.c -o hex.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/lbasename.c -o pic/lbasename.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/lbasename.c -o lbasename.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/lrealpath.c -o pic/lrealpath.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/lrealpath.c -o lrealpath.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/make-relative-prefix.c -o pic/make-relative-prefix.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/make-relative-prefix.c -o make-relative-prefix.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/make-temp-file.c -o pic/make-temp-file.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/make-temp-file.c -o make-temp-file.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/objalloc.c -o pic/objalloc.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/objalloc.c -o objalloc.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/obstack.c -o pic/obstack.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/obstack.c -o obstack.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/partition.c -o pic/partition.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/partition.c -o partition.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/physmem.c -o pic/physmem.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/physmem.c -o physmem.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/pex-unix.c -o pic/pex-unix.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/pex-unix.c -o pex-unix.o
../../gcc-3.4.6/libiberty/pex-unix.c: In function `pwait':
../../gcc-3.4.6/libiberty/pex-unix.c:164: warning: implicit declaration of function `waitpid'
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/safe-ctype.c -o pic/safe-ctype.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/safe-ctype.c -o safe-ctype.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/sort.c -o pic/sort.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/sort.c -o sort.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/spaces.c -o pic/spaces.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/spaces.c -o spaces.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/splay-tree.c -o pic/splay-tree.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/splay-tree.c -o splay-tree.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/strerror.c -o pic/strerror.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/strerror.c -o strerror.o
if [ x"" != x ]; then \
  /apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../gcc-3.4.6/libiberty/strsignal.c -o pic/strsignal.o; \
else true; fi
/apps/gcc-3.4.3/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.6/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.4.6/libiberty/strsignal.c -o strsignal.o
In file included from /apps/gcc-3.4.3/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/signal.h:44,
                 from /usr/include/signal.h:26,
                 from ../../gcc-3.4.6/libiberty/strsignal.c:23:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:261: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:292: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:398: error: conflicting types for '__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of '__fault' was here
/usr/include/sys/siginfo.h:404: error: conflicting types for '__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of '__file' was here
/usr/include/sys/siginfo.h:420: error: conflicting types for '__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of '__prof' was here
/usr/include/sys/siginfo.h:424: error: conflicting types for '__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of '__rctl' was here
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:426: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
/usr/include/sys/siginfo.h:437: error: ISO C forbids data definition with no type or storage class
In file included from /usr/include/signal.h:26,
                 from ../../gcc-3.4.6/libiberty/strsignal.c:23:
/apps/gcc-3.4.3/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/signal.h:96: error: parse error before "siginfo_t"
In file included from ../../gcc-3.4.6/libiberty/strsignal.c:23:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `strsignal.o'
Current working directory /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/gcc3/objdir/libiberty

*** Error code 1
The following command caused the error:
r=`${PWDCMD-pwd}`; export r; \
s=`cd ../gcc-3.4.6; ${PWDCMD-pwd}`; export s; \
LD_LIBRARY_PATH=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/gcc3/objdir/gcc:/bfd:/opcodes:/sparc-sun-solaris2.10/libstdc++-v3/src/.libs:/apps/forte-6.0u2/SUNWspro/WS6U2/lib:/usr/lib:/usr/openwin/lib:/usr/5lib:/usr/ucblib:/apps/oracle-10.2.0/lib:/apps/oracle-10.2.0/lib32; export LD_LIBRARY_PATH;  LD_LIBRARY_PATH=`echo "$r/bfd:$r/opcodes:$r/sparc-sun-solaris2.10/libstdc++-v3/src/.libs::$LD_LIBRARY_PATH" | sed 's,::*,:,g;s,^:*,,;s,:*$,,'`; export LD_LIBRARY_PATH; \
(cd libiberty && make "DESTDIR="  "RPATH_ENVVAR=LD_LIBRARY_PATH"  "TARGET_SUBDIR=sparc-sun-solaris2.10"  "bindir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//bin"  "datadir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//share"  "exec_prefix=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6/"  "includedir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//include"  "infodir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//info"  "libdir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//lib"  "libexecdir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//libexec"  "lispdir="  "libstdcxx_incdir=c++/3.4.6"  "libsubdir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//lib/gcc/sparc-sun-solaris2.10/3.4.6"  "localstatedir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//var"  "mandir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//man"  "oldincludedir=/usr/include"  "prefix=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6/"  "sbindir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sbin"  "sharedstatedir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//com"  "sysconfdir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//etc"  "tooldir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10"  "build_tooldir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10"  "gxx_include_dir=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//include/c++/3.4.6"  "gcc_version=3.4.6"  "gcc_version_trigger=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/gcc3/gcc-3.4.6/gcc/version.c"  "target_alias=sparc-sun-solaris2.10"  "BISON=`if [ -f $r/bison/bison ] ; then  echo $r/bison/bison -L $s/bison/ ;  else  echo bison ;  fi`"  "CC_FOR_BUILD=/apps/gcc-3.4.3/bin/gcc"  "CXX_FOR_BUILD=c++"  "EXPECT=`if [ -f $r/expect/expect ] ;  then echo $r/expect/expect ;  else echo expect ; fi`"  "INSTALL=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/gcc3/gcc-3.4.6/install-sh -c"  "INSTALL_DATA=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/gcc3/gcc-3.4.6/install-sh -c -m 644"  "INSTALL_PROGRAM=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/gcc3/gcc-3.4.6/install-sh -c"  "INSTALL_SCRIPT=/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/gcc3/gcc-3.4.6/install-sh -c"  "LEX=`if [ -f $r/flex/flex ] ;  then echo $r/flex/flex ;  else echo lex ; fi`"  "M4=`if [ -f $r/m4/m4 ] ;  then echo $r/m4/m4 ;  else echo m4 ; fi`"  "MAKE=make"  "RUNTEST=`if [ -f $s/dejagnu/runtest ] ;  then echo $s/dejagnu/runtest ;  else echo runtest ; fi`"  "RUNTESTFLAGS="  "SHELL=/bin/sh"  "YACC=`if [ -f $r/bison/bison ] ; then  echo $r/bison/bison -y -L $s/bison/ ;  elif [ -f $r/byacc/byacc ] ; then  echo $r/byacc/byacc ;  else  echo yacc ;  fi`"  "AR_FLAGS=rc"  "CFLAGS=-g -O2"  "CXXFLAGS=-g -O2"  "LDFLAGS="  "LIBCFLAGS=-g -O2"  "LIBCXXFLAGS=-g -O2 -fno-implicit-templates"  "AR_FOR_TARGET=`  if [ -f $r/binutils/ar ] ; then  echo $r/binutils/ar ;  else  if [ 'sparc-sun-solaris2.10' = 'sparc-sun-solaris2.10' ] ; then  echo ar;  else  echo ar | sed 's,x,x,' ;  fi;  fi`"  "AS_FOR_TARGET=`  if [ -f $r/gas/as-new ] ; then  echo $r/gas/as-new ;  elif [ -f $r/gcc/xgcc ]; then   $r/gcc/xgcc -B$r/gcc/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/bin/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/lib/ -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/include -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/sys-include -print-prog-name=as ;  else  if [ 'sparc-sun-solaris2.10' = 'sparc-sun-solaris2.10' ] ; then  echo as;  else  echo as | sed 's,x,x,' ;  fi;  fi`"  "CC_FOR_TARGET= $r/gcc/xgcc -B$r/gcc/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/bin/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/lib/ -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/include -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/sys-include"  "CFLAGS_FOR_TARGET=-O2 -g -O2"  "CXX_FOR_TARGET= $r/gcc/g++ -B$r/gcc/ -nostdinc++ `test ! -f $r/sparc-sun-solaris2.10/libstdc++-v3/scripts/testsuite_flags || /bin/sh $r/sparc-sun-solaris2.10/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$r/sparc-sun-solaris2.10/libstdc++-v3/src -L$r/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/bin/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/lib/ -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/include -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/sys-include"  "CXXFLAGS_FOR_TARGET=-g -O2"  "DLLTOOL_FOR_TARGET=`  if [ -f $r/binutils/dlltool ] ; then  echo $r/binutils/dlltool ;  else  if [ 'sparc-sun-solaris2.10' = 'sparc-sun-solaris2.10' ] ; then  echo dlltool;  else  echo dlltool | sed 's,x,x,' ;  fi;  fi`"  "GCJ_FOR_TARGET= $r/gcc/gcj -B$r/gcc/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/bin/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/lib/ -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/include -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/sys-include"  "LD_FOR_TARGET=`  if [ -f $r/ld/ld-new ] ; then  echo $r/ld/ld-new ;  elif [ -f $r/gcc/xgcc ]; then   $r/gcc/xgcc -B$r/gcc/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/bin/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/lib/ -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/include -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/sys-include -print-prog-name=ld ;  else  if [ 'sparc-sun-solaris2.10' = 'sparc-sun-solaris2.10' ] ; then  echo /usr/ccs/bin/ld;  else  echo ld | sed 's,x,x,' ;  fi;  fi`"  "LIBCFLAGS_FOR_TARGET=-O2 -g -O2"  "LIBCXXFLAGS_FOR_TARGET=-g -O2 -fno-implicit-templates"  "NM_FOR_TARGET=`  if [ -f $r/binutils/nm-new ] ; then  echo $r/binutils/nm-new ;  elif [ -f $r/gcc/xgcc ]; then   $r/gcc/xgcc -B$r/gcc/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/bin/ -B/cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/lib/ -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/include -isystem /cmpnt/AIS3.0/devlp/infinys30/work/upgrade/compilers/opt/gcc-3.4.6//sparc-sun-solaris2.10/sys-include -print-prog-name=nm ;  else  if [ 'sparc-sun-solaris2.10' = 'sparc-sun-solaris2.10' ] ; then  echo nm;  else  echo nm | sed 's,x,x,' ;  fi;  fi`"  "RANLIB_FOR_TARGET=`  if [ -f $r/binutils/ranlib ] ; then  echo $r/binutils/ranlib ;  else  if [ 'sparc-sun-solaris2.10' = 'sparc-sun-solaris2.10' ] ; then  if [ x'ranlib' != x ]; then  echo ranlib;  else  echo ranlib;  fi;  else  echo ranlib | sed 's,x,x,' ;  fi;  fi`"  "WINDRES_FOR_TARGET=`  if [ -f $r/binutils/windres ] ; then  echo $r/binutils/windres ;  else  if [ 'sparc-sun-solaris2.10' = 'sparc-sun-solaris2.10' ] ; then  echo windres;  else  echo windres | sed 's,x,x,' ;  fi;  fi`"  "CONFIG_SHELL=/bin/sh"  "MAKEINFO=`if [ -f $r/texinfo/makeinfo/makeinfo ] ;  then echo $r/texinfo/makeinfo/makeinfo ;  else if (makeinfo --version  | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1;  then echo makeinfo; else echo $s/missing makeinfo; fi; fi` --split-size=5000000" 'AR=ar'  'AS=as'  'CC=/apps/gcc-3.4.3/bin/gcc'  'CXX=c++'  'DLLTOOL=dlltool'  'LD=/usr/ccs/bin/ld'  'NM=nm'  'RANLIB=ranlib'  'WINDRES=windres' all)
make: Fatal error: Command failed for target `all-libiberty'
 
 
Could anyone please help me out to solve this issue. I found the same issue in the websites, but there is no fix given for this problem.

--
Thanks,
Satheesh J Subramaniam

reply via email to

[Prev in Thread] Current Thread [Next in Thread]