Problems while building gcc-2.95.2 under Digital Unix 4.0F
rakesh@kuc01.kuniv.edu.kw
rakesh@kuc01.kuniv.edu.kw
Wed Nov 8 04:14:00 GMT 2000
Dear Sir/Madam,
I downloaded gcc-2.95.2 from gnu site a few months ago & was trying to install
it on our Digital/Compaq Alphaserver running OSF1 (Digital Unix 4.0F).
I executed the following commands:
cd /usr/local/gcc-2.95.2
./configure > configure.out
make > make.out
& it compiled many c source files but in the end gave the errors. I am
including few lines from make.out file & the most importantly last few lines
from it (& also some messages which were displayed on the terminal).
I am also including config.status & configure.out files for your reference.
Kindly suggest how to build GCC successfully on our machine.
Kindly let me know if you need some more information & suggest how to produce
it.
Thanking you, RAKESH
###############################################################################
********************** output of make (some selected lines only & manually
edited to increase readability *************************
###############################################################################
No suffix list.
No suffix list.
make all-recursive
Making all in intl
Making all in lib
Making all in makeinfo
..............................................
..............................................
..............................................
..............................................
touch lang-f77
cd f; make "AR_FLAGS_FOR_TARGET=rc" "AR_FOR_TARGET=ar" "BISON=bison"
"BISONFLAGS=" "CFLAGS=-g" "CLIB=-lmld"
"GCC_FOR_TARGET=/usr/local/gcc-2.95.2/gcc/xgcc
-B/usr/local/gcc-2.95.2/gcc/ -B/usr/local/alphaev56-dec-osf4.0f/bin/
-I/usr/local/alphaev56-dec-osf4.0f/include"
"LDFLAGS=" "LEX=flex" "LEXFLAGS=" "LN=ln" "LN_S=ln -s"
"MAKEINFO=/usr/local/gcc-2.95.2/texinfo/makeinfo/makeinfo "
"MAKEINFOFLAGS=" "RANLIB_FOR_TARGET=ranlib"
"RANLIB_TEST_FOR_TARGET=[ -f ranlib ] ||
( [ "alphaev56-dec-osf4.0f" = "alphaev56-dec-osf4.0f" ]
&& [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )"
"SHELL=/bin/sh" "STAGE_PREFIX=" "exeext=" "build_exeext="
"objext=.o" "exec_prefix=/usr/local" "prefix=/usr/local"
"local_prefix=/usr/local"
"gxx_include_dir=/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.2/../../..
/..`echo /usr/local | sed -e 's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include
/g++-3" "tooldir=/usr/local/alphaev56-dec-osf4.0f"
"gcc_tooldir=/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.2/../../../..
/alphaev56-dec-osf4.0f" "bindir=/usr/local/bin"
"libsubdir=/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.2"
"datadir=/usr/local/share" "distdir=../tmp/\$(subdir)"
"localedir=/usr/local/share/locale" "CC=cc"
HOST_CC="`case 'cc' in stage*) echo 'cc' |
sed -e 's|stage|../stage|g';; *) echo 'cc';;
esac`" HOST_CFLAGS=" -DIN_GCC -DHAIFA -g
-DHAVE_CONFIG_H" HOST_CPPFLAGS=" " ../f771
cc -c -DIN_GCC -g -W -Wall -I. -I.. -I. -I./.. -I./../config
-I./../../include bad.c
cc: Error: Syntax error on -W switch: form is -Wpassname,switch
Stop.
Stop.
Stop.
*** Exit 2*** Exit 1*** Exit 1
################################################################################
****** config.status file created after ./configure command was executed ******
################################################################################
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
./configure --with-gcc-version-trigger=/usr/local/gcc-2.95.2/gcc/version.c --host=alphaev56-dec-osf4.0f --norecursion
#
################################################################################
configure.out file created by ./configure > configure.out
################################################################################
Created "Makefile" in /usr/local/gcc-2.95.2
Configuring libiberty...
creating cache ../config.cache
checking host system type... alphaev56-dec-osf4.0f
checking build system type... alphaev56-dec-osf4.0f
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... cc
checking whether we are using GNU C... no
checking for POSIXized ISC... no
checking for a BSD compatible install... ./../install-sh -c
checking how to run the C preprocessor... cc -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.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 sys/resource.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether the C compiler (cc -g ) works... yes
checking whether the C compiler (cc -g ) is a cross-compiler... no
checking for asprintf... no
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... 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 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 sigsetmask... yes
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 vsprintf... yes
checking for waitpid... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... yes
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... yes
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for getrusage... yes
checking for on_exit... no
checking for psignal... yes
checking for strerror... yes
checking for strsignal... no
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
Configuring texinfo...
loading cache ../config.cache
checking for a BSD compatible install... ./../install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) cc
checking whether the C compiler (cc -g ) works... yes
checking whether the C compiler (cc -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... yes
checking how to run the C preprocessor... (cached) cc -E
checking for a BSD compatible install... ./../install-sh -c
checking for ranlib... (cached) ranlib
checking for texconfig... false
checking for POSIXized ISC... no
checking for minix/config.h... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin32 environment... no
checking for Mingw32 environment... no
checking for executable suffix... no
checking for sigblock... yes
checking for tputs in -lncurses... no
checking for tputs in -lcurses... yes
checking for ANSI C header files... (cached) yes
checking for fcntl.h... yes
checking for pwd.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for termcap.h... no
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for sys/fcntl.h... yes
checking for sys/file.h... (cached) yes
checking for sys/ptem.h... no
checking for sys/time.h... (cached) yes
checking for sys/ttold.h... no
checking for sys/wait.h... (cached) yes
checking for off_t... yes
checking return type of signal handlers... void
checking for working const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for vprintf... (cached) yes
checking for setvbuf... yes
checking for getcwd... (cached) yes
checking for memset... (cached) yes
checking for bzero... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for sigprocmask... yes
checking for sigsetmask... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for inline... __inline
checking for size_t... yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for stpcpy... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... no
checking whether catgets can be used... no
checking for msgfmt... msgfmt
checking for gmsgfmt... msgfmt
checking for xgettext... :
checking for catalogs to be installed... de fr
updating cache ../config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating info/Makefile
creating intl/Makefile
creating lib/Makefile
creating makeinfo/Makefile
creating po/Makefile.in
creating util/Makefile
creating config.h
linking ./intl/libgettext.h to intl/libintl.h
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... alphaev56-dec-osf4.0f
checking target system type... alphaev56-dec-osf4.0f
checking build system type... alphaev56-dec-osf4.0f
checking for gcc... (cached) cc
checking whether the C compiler (cc -g ) works... yes
checking whether the C compiler (cc -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking whether a default assembler was specified... no
checking whether a default linker was specified... no
checking for gawk... gawk
checking for flex... flex
checking for yywrap in -lfl... no
checking whether ln works... yes
checking whether ln -s works... yes
checking for volatile... yes
checking for ranlib... (cached) ranlib
checking for bison... no
checking for byacc... no
checking for a BSD compatible install... ./../install-sh -c
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether string.h and strings.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for limits.h... (cached) yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stab.h... yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/times.h... yes
checking for sys/stat.h... yes
checking for direct.h... no
checking for thread.h... no
checking for pthread.h... yes
checking for gnatbind... no
checking whether cpp understands the stringify operator... yes
checking for inttypes.h... no
checking for strtoul... (cached) yes
checking for bsearch... yes
checking for strerror... (cached) yes
checking for putenv... (cached) yes
checking for popen... yes
checking for bcopy... (cached) yes
checking for bzero... (cached) yes
checking for bcmp... (cached) yes
checking for index... (cached) yes
checking for rindex... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atoll... no
checking for atoq... no
checking for sysconf... (cached) yes
checking for isascii... yes
checking for gettimeofday... (cached) yes
checking for strsignal... (cached) no
checking for putc_unlocked... yes
checking for fputc_unlocked... no
checking for fputs_unlocked... no
checking for vprintf... (cached) yes
checking whether the printf functions support %p... yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking whether malloc must be declared... no
checking whether realloc must be declared... no
checking whether calloc must be declared... no
checking whether free must be declared... no
checking whether bcopy must be declared... no
checking whether bzero must be declared... no
checking whether bcmp must be declared... no
checking whether index must be declared... no
checking whether rindex must be declared... no
checking whether getenv must be declared... no
checking whether atol must be declared... no
checking whether sbrk must be declared... no
checking whether abort must be declared... no
checking whether atof must be declared... no
checking whether strerror must be declared... no
checking whether getcwd must be declared... no
checking whether getwd must be declared... no
checking whether strsignal must be declared... yes
checking whether putc_unlocked must be declared... yes
checking whether fputs_unlocked must be declared... yes
checking whether strstr must be declared... no
checking whether getrlimit must be declared... no
checking whether setrlimit must be declared... no
checking for sys_siglist declaration in signal.h or unistd.h... no
checking if mkdir takes one argument... no
Using `./config/alpha/alpha.c' to output insns.
Using `./config/alpha/alpha.md' as machine description file.
Using the following target machine macro files:
./config/alpha/alpha.h
./config/dbx.h
./config/alpha/osf.h
Using `./config/alpha/xm-alpha.h' as host machine macro file.
checking for strerror in -lcposix... no
checking for working const... (cached) yes
checking for inline... (cached) __inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for argz.h... (cached) no
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... (cached) no
checking for __argz_stringify... (cached) no
checking for __argz_next... (cached) no
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... no
checking assembler alignment features...
checking assembler subsection support...
checking assembler instructions...
Using the Haifa scheduler.
updating cache ../config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating fixinc/Makefile
creating cp/Makefile
creating f/Makefile
creating java/Makefile
creating auto-host.h
linking ./intl/libgettext.h to intl/libintl.h
Merged alpha/x-alpha.
Merged alpha/t-ieee and t-install-cpp.
Created `ch/Makefile'.
Merged alpha/x-alpha.
Merged alpha/t-ieee and t-install-cpp.
Created `objc/Makefile'.
creating libintl.h
Configuring etc...
loading cache ../config.cache
checking for a BSD compatible install... ./../install-sh -c
creating ./config.status
creating Makefile
################################################################################
More information about the Gcc-bugs
mailing list