http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293



--- Comment #4 from Dennis Clarke <dclarke at blastwave dot org> 2012-11-12 
22:10:01 UTC ---

bootstrap fails in 71 seconds : 



$ mkdir gcc-4.7.2_sparc64-sun-solaris2.10

$ cd gcc-4.7.2_sparc64-sun-solaris2.10

$ env | sort > ../gcc-4.7.2_sparc64-sun-solaris2.10.env

$ ls -la

total 20

drwxr-xr-x   2 dclarke  other          2 Nov 12 21:58 .

drwxrwxr-x 138 root     adbs         247 Nov 12 21:58 ..

$

$ pwd 

/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10

$ uname -a 

SunOS node002 5.10 Generic_147440-23 sun4v sparc SUNW,T5240

$ 

$ env | sort 

AR=/usr/ccs/bin/ar

AS=/usr/ccs/bin/as

BUILD=/usr/local/build

CC=/opt/csw/gcc4/bin/gcc

COLUMNS=124

CONFIG_SHELL=/bin/bash

CPPFLAGS=-I/usr/local/include:/opt/csw/gcc4/include

CXX=/opt/csw/gcc4/bin/g++

EDITOR=/usr/xpg4/bin/vi

HOME=/export/home/dclarke

LANG=C

LC_ALL=C

LC_COLLATE=C

LC_CTYPE=C

LC_MESSAGES=C

LC_MONETARY=C

LC_NUMERIC=C

LC_TIME=C

LD=/usr/ccs/bin/ld

LD_LIBRARY_PATH=/usr/local/lib:/opt/csw/gcc4/lib/sparcv9:/opt/csw/gcc4/lib

LD_OPTIONS=-R/usr/local/lib:/opt/csw/gcc4/lib/$ISALIST:/opt/csw/gcc4/lib

-L/usr/local/lib:/opt/csw/gcc4/lib/$ISALIST:/opt/csw/gcc4/lib

LD_RUN_PATH=/usr/local/lib:/opt/csw/gcc4/lib/$ISALIST

LINES=43

LOGNAME=dclarke

M4=/usr/local/bin/gm4

MACHTYPE=sparc-sun-solaris

MAIL=/usr/mail/dclarke

MAKE=/usr/local/bin/gmake

MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/X11/share/man

OSTYPE=solaris

PAGER=/usr/xpg4/bin/more

PATH=/opt/csw/gcc4/bin:/usr/local/bin:/usr/local/sbin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin:/usr/local/texlive/2012/bin/sparc-solaris

PERL=/usr/local/bin/perl

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

PWD=/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10

SED=/usr/local/bin/gsed

SHELL=/bin/ksh

SRC=/usr/local/src

SSH_CLIENT=66.103.52.207 33595 22

SSH_CONNECTION=66.103.52.207 33595 66.225.151.250 22

SSH_TTY=/dev/pts/1

STY=4301.pts-1.node002

TERM=vt100

TZ=GMT0

USER=dclarke

VISUAL=/usr/xpg4/bin/vi

WINDOW=3

_=/usr/xpg4/bin/env

$ 

$ which gcc

/opt/csw/gcc4/bin/gcc

$ 

$ gcc --version 

gcc (Blastwave.org Inc. Mon Aug  9 07:10:45 GMT 2010) 4.5.1

Copyright (C) 2010 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



$ 

$ ls -lad ../gcc-4.7.2 

drwxr-xr-x  33 dclarke  other         75 Oct 29 04:04 ../gcc-4.7.2

$ 

$ which as 

/usr/ccs/bin/as

$ which ld 

/usr/ccs/bin/ld

$ 

$ echo $CFLAGS 



$ echo $CXXFLAGS 



$ 

$ CC='gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g -mno-app-regs

-mcpu=v9 -D_TS_ERRNO' \

> CXX='g++ -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g -mno-app-regs 
> -mcpu=v9 -D_TS_ERRNO' \

> ../gcc-4.7.2/configure --prefix=/usr/local/gcc4 \

> --build=sparc64-sun-solaris2.10 --without-gnu-as --without-gnu-ld \

> --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local \

> --with-ld=/usr/ccs/bin/ld --enable-nls --enable-threads=posix --enable-shared 
> \

> --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \

> --with-cpu=v9 --enable-stage1-languages=c --disable-multilib \

> --libexecdir=/usr/local/gcc4/lib \

> --with-pkgversion=Blastwave.org\ Inc.\ Mon\ Nov\ 12\ 22\:02\:41\ GMT\ 2012 \

> --with-bugurl=http\:\/\/www.blastwave.org\/support \

> --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap

checking build system type... sparc64-sun-solaris2.10

checking host system type... sparc64-sun-solaris2.10

checking target system type... sparc64-sun-solaris2.10

checking for a BSD-compatible install... ../gcc-4.7.2/install-sh -c

checking whether ln works... yes

checking whether ln -s works... yes

checking for a sed that does not truncate output... /usr/local/bin/gsed

checking for gawk... gawk

checking for libitm support... yes

checking for gcc... gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO

checking for C compiler default output file name... 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 gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g... yes

checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to accept ISO C89... unsupported

checking whether we are using the GNU C++ compiler... yes

checking whether g++ -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g... yes

checking for gnatbind... gnatbind

checking for gnatmake... gnatmake

checking whether compiler driver understands Ada... yes

checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16

checking for objdir... .libs

checking for the correct version of gmp.h... yes

checking for the correct version of mpfr.h... yes

checking for the correct version of mpc.h... yes

checking for the correct version of the gmp/mpfr/mpc libraries... yes

checking for PWL_handle_timeout in -lpwl... no

checking for version 0.11 (revision 0 or later) of PPL... no

The following languages will be built: c,ada,c++,fortran,lto,objc

*** This configuration is not supported in the following subdirectories:

     target-libmudflap target-libgo target-libffi target-zlib target-libjava

target-boehm-gc

    (Any other directories should still work fine.)

checking for default BUILD_CONFIG... bootstrap-debug

checking for bison... bison -y

checking for bison... bison

checking for gm4... /usr/local/bin/gm4

checking for flex... flex

checking for flex... flex

checking for makeinfo... makeinfo

checking for expect... expect

checking for runtest... runtest

checking for ar... (cached) /usr/ccs/bin/ar

checking for as... (cached) /usr/ccs/bin/as

checking for dlltool... no

checking for ld... (cached) /usr/ccs/bin/ld

checking for lipo... no

checking for nm... nm

checking for ranlib... ranlib

checking for strip... strip

checking for windres... no

checking for windmc... no

checking for objcopy... no

checking for objdump... no

checking for readelf... no

checking for cc... cc

checking for c++... c++

checking for gcc... gcc

checking for gcj... no

checking for gfortran... gfortran

checking for gccgo... no

checking for ar... no

checking for ar... ar

checking for as... no

checking for as... as

checking for dlltool... no

checking for dlltool... no

checking for ld... no

checking for ld... ld

checking for lipo... no

checking for lipo... no

checking for nm... no

checking for nm... nm

checking for objdump... no

checking for objdump... no

checking for ranlib... no

checking for ranlib... ranlib

checking for readelf... no

checking for readelf... no

checking for strip... no

checking for strip... strip

checking for windres... no

checking for windres... no

checking for windmc... no

checking for windmc... no

checking where to find the target ar... host tool

checking where to find the target as... host tool

checking where to find the target cc... just compiled

checking where to find the target c++... just compiled

checking where to find the target c++ for libstdc++... just compiled

checking where to find the target dlltool... host tool

checking where to find the target gcc... just compiled

checking where to find the target gcj... host tool

checking where to find the target gfortran... just compiled

checking where to find the target gccgo... host tool

checking where to find the target ld... host tool

checking where to find the target lipo... host tool

checking where to find the target nm... host tool

checking where to find the target objdump... host tool

checking where to find the target ranlib... host tool

checking where to find the target readelf... host tool

checking where to find the target strip... host tool

checking where to find the target windres... host tool

checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no

checking whether -fkeep-inline-functions is supported... yes

configure: creating ./config.status

config.status: creating Makefile

$ 

$ /usr/bin/time -p gmake ^C

$ date -u 

Mon Nov 12 22:04:49 GMT 2012

$ /usr/bin/time -p gmake

[ -f stage_final ] || echo stage3 > stage_final

gmake[1]: Entering directory

`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'

gmake[2]: Entering directory

`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'

gmake[2]: Leaving directory

`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'

gmake[2]: Entering directory

`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'

Configuring stage 1 in ./intl

configure: creating cache ./config.cache

checking whether /usr/local/bin/gmake sets $(MAKE)... yes

checking for a BSD-compatible install... /usr/local/build/gcc-4.7.2/install-sh

-c

checking whether NLS is requested... yes

checking for msgfmt... /usr/local/bin/msgfmt

checking for gmsgfmt... /usr/local/bin/msgfmt

checking for xgettext... /usr/local/bin/xgettext

checking for msgmerge... /usr/local/bin/msgmerge

checking for sparc64-sun-solaris2.10-gcc... gcc -m64 -D_POSIX_C_SOURCE=200112L

-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO

checking for C compiler default output file name... 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 gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g... yes

checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to accept ISO C89... unsupported

checking build system type... sparc64-sun-solaris2.10

checking host system type... sparc64-sun-solaris2.10

checking for sparc64-sun-solaris2.10-ranlib... ranlib

checking for library containing strerror... none required

checking how to run the C preprocessor... gcc -m64 -D_POSIX_C_SOURCE=200112L

-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO -E -traditional-cpp

checking for grep that handles long lines and -e... /usr/xpg4/bin/grep

checking for egrep... /usr/xpg4/bin/grep -E

checking for ANSI C header files... no

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for sys/types.h... no

checking for sys/stat.h... no

checking for stdlib.h... no

checking for string.h... no

checking for memory.h... no

checking for strings.h... no

checking for inttypes.h... no

checking for stdint.h... no

checking for unistd.h... no

checking for off_t... no

checking for size_t... no

checking for working alloca.h... no

checking for alloca... yes

checking for stdlib.h... (cached) no

checking for unistd.h... (cached) no

checking for getpagesize... no

checking for working mmap... no

checking whether we are using the GNU C Library 2.1 or newer... no

checking whether integer division by zero raises SIGFPE... no

checking for inttypes.h... no

checking for stdint.h... no

checking for unsigned long long... yes

checking for inttypes.h... no

checking for ld used by GCC... /usr/ccs/bin/ld

checking if the linker (/usr/ccs/bin/ld) is GNU ld... no

checking for shared library run path origin... done

checking argz.h usability... no

checking argz.h presence... no

checking for argz.h... no

checking limits.h usability... no

checking limits.h presence... no

checking for limits.h... no

checking locale.h usability... no

checking locale.h presence... no

checking for locale.h... no

checking nl_types.h usability... no

checking nl_types.h presence... yes

configure: WARNING: nl_types.h: present but cannot be compiled

configure: WARNING: nl_types.h:     check for missing prerequisite headers?

configure: WARNING: nl_types.h: see the Autoconf documentation

configure: WARNING: nl_types.h:     section "Present But Cannot Be Compiled"

configure: WARNING: nl_types.h: proceeding with the compiler's result

checking for nl_types.h... no

checking malloc.h usability... no

checking malloc.h presence... no

checking for malloc.h... no

checking stddef.h usability... no

checking stddef.h presence... yes

configure: WARNING: stddef.h: present but cannot be compiled

configure: WARNING: stddef.h:     check for missing prerequisite headers?

configure: WARNING: stddef.h: see the Autoconf documentation

configure: WARNING: stddef.h:     section "Present But Cannot Be Compiled"

configure: WARNING: stddef.h: proceeding with the compiler's result

checking for stddef.h... no

checking for stdlib.h... (cached) no

checking for string.h... (cached) no

checking for unistd.h... (cached) no

checking sys/param.h usability... no

checking sys/param.h presence... no

checking for sys/param.h... no

checking for feof_unlocked... no

checking for fgets_unlocked... no

checking for getc_unlocked... no

checking for getcwd... no

checking for getegid... no

checking for geteuid... no

checking for getgid... no

checking for getuid... no

checking for mempcpy... no

checking for munmap... no

checking for putenv... no

checking for setenv... no

checking for setlocale... no

checking for stpcpy... no

checking for strcasecmp... no

checking for strdup... no

checking for strtoul... no

checking for tsearch... no

checking for __argz_count... no

checking for __argz_stringify... no

checking for __argz_next... no

checking for __fsetlocking... no

checking for iconv... no, consider installing GNU libiconv

checking for nl_langinfo and CODESET... no

checking for bison... bison

checking version of bison... 2.6.5, ok

checking whether NLS is requested... yes

checking whether included gettext is requested... no

checking for GNU gettext in libc... no

checking for GNU gettext in libintl... no

checking whether to use NLS... yes

checking where the gettext function comes from... included intl directory

checking for aclocal... aclocal

checking for autoconf... autoconf

checking for autoheader... autoheader

configure: updating cache ./config.cache

configure: creating ./config.status

config.status: creating Makefile

config.status: creating config.intl

config.status: creating config.h

config.status: executing default-1 commands

Configuring stage 1 in ./lto-plugin

configure: creating cache ./config.cache

checking build system type... sparc64-sun-solaris2.10

checking host system type... sparc64-sun-solaris2.10

checking target system type... sparc64-sun-solaris2.10

checking for a BSD-compatible install... /usr/local/build/gcc-4.7.2/install-sh

-c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... ../../gcc-4.7.2/lto-plugin/../install-sh

-c -d

checking for gawk... gawk

checking whether /usr/local/bin/gmake sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for sparc64-sun-solaris2.10-gcc... gcc -m64 -D_POSIX_C_SOURCE=200112L

-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO

checking for C compiler default output file name... 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 gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g... yes

checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to accept ISO C89... unsupported

checking for style of include used by /usr/local/bin/gmake... GNU

checking dependency style of gcc -m64 -D_POSIX_C_SOURCE=200112L

-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO... gcc3

checking for special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... unknown

checking for _LARGE_FILES value needed for large files... unknown

checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wall... yes

checking how to print strings... printf

checking for a sed that does not truncate output... /usr/local/bin/gsed

checking for grep that handles long lines and -e... /usr/xpg4/bin/grep

checking for egrep... /usr/xpg4/bin/grep -E

checking for fgrep... /usr/xpg4/bin/grep -F

checking for ld used by gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600

-g -mno-app-regs -mcpu=v9 -D_TS_ERRNO... /usr/ccs/bin/ld

checking if the linker (/usr/ccs/bin/ld) is GNU ld... no

checking for BSD- or MS-compatible name lister (nm)... nm

checking the name lister (nm) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 786240

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking for /usr/ccs/bin/ld option to reload object files... -r

checking for sparc64-sun-solaris2.10-objdump... objdump

checking how to recognize dependent libraries... pass_all

checking for sparc64-sun-solaris2.10-ar... /usr/ccs/bin/ar

checking for sparc64-sun-solaris2.10-strip... no

checking for strip... strip

checking for sparc64-sun-solaris2.10-ranlib... ranlib

checking command to parse nm output from gcc -m64 -D_POSIX_C_SOURCE=200112L

-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO object... failed

checking how to run the C preprocessor... gcc -m64 -D_POSIX_C_SOURCE=200112L

-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO -E -traditional-cpp

checking for ANSI C header files... no

checking for sys/types.h... no

checking for sys/stat.h... no

checking for stdlib.h... no

checking for string.h... no

checking for memory.h... no

checking for strings.h... no

checking for inttypes.h... no

checking for stdint.h... no

checking for unistd.h... no

checking for dlfcn.h... no

checking for objdir... .libs

checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -fno-rtti -fno-exceptions... no

checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to produce PIC... -fPIC -DPIC

checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO PIC flag -fPIC -DPIC works... yes

checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO static flag -static works... no

checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -c -o file.o... yes

checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -c -o file.o... (cached) yes

checking whether the gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO linker (/usr/ccs/bin/ld -64) supports shared

libraries... yes

checking whether -lc should be explicitly linked in... yes

checking dynamic linker characteristics... solaris2.10 ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... no

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... yes

checking for int64_t... no

checking for uint64_t... no

checking for sys/wait.h that is POSIX.1 compatible... no

configure: updating cache ./config.cache

configure: creating ./config.status

config.status: creating Makefile

config.status: creating config.h

config.status: executing depfiles commands

config.status: executing libtool commands

Configuring stage 1 in ./libiberty

configure: creating cache ./config.cache

checking whether to enable maintainer-specific portions of Makefiles... no

checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000

checking for perl... /usr/local/bin/perl

checking build system type... sparc64-sun-solaris2.10

checking host system type... sparc64-sun-solaris2.10

checking for sparc64-sun-solaris2.10-ar... /usr/ccs/bin/ar

checking for sparc64-sun-solaris2.10-ranlib... ranlib

checking for sparc64-sun-solaris2.10-gcc... gcc -m64 -D_POSIX_C_SOURCE=200112L

-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO

checking for C compiler default output file name... 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 gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g... yes

checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to accept ISO C89... unsupported

checking for special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... unknown

checking for _LARGE_FILES value needed for large files... unknown

checking how to run the C preprocessor... gcc -m64 -D_POSIX_C_SOURCE=200112L

-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO -E -traditional-cpp

checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -W... yes

checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wall... yes

checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wwrite-strings... yes

checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wc++-compat... yes

checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wstrict-prototypes... yes

checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -pedantic ... yes

checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g

-mno-app-regs -mcpu=v9 -D_TS_ERRNO and cc understand -c and -o together... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for grep that handles long lines and -e... /usr/xpg4/bin/grep

checking for egrep... /usr/xpg4/bin/grep -E

checking for ANSI C header files... no

checking for sys/types.h... no

checking for sys/stat.h... no

checking for stdlib.h... no

checking for string.h... no

checking for memory.h... no

checking for strings.h... no

checking for inttypes.h... no

checking for stdint.h... yes

checking for unistd.h... no

checking whether byte ordering is bigendian... yes

checking for a BSD-compatible install... /usr/local/build/gcc-4.7.2/install-sh

-c

checking for sys/file.h... no

checking for sys/param.h... no

checking for limits.h... no

checking for stdlib.h... (cached) no

checking for malloc.h... no

checking for string.h... (cached) no

checking for unistd.h... (cached) no

checking for strings.h... (cached) no

checking for sys/time.h... no

checking for time.h... no

checking for sys/resource.h... no

checking for sys/stat.h... (cached) no

checking for sys/mman.h... no

checking for fcntl.h... no

checking for alloca.h... no

checking for sys/pstat.h... no

checking for sys/sysmp.h... no

checking for sys/sysinfo.h... no

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 stdint.h... (cached) yes

checking for stdio_ext.h... no

checking for process.h... no

checking for sys/prctl.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... no

checking whether errno must be declared... no

checking size of int... 0

checking for a 64-bit type... uint64_t

checking for intptr_t... no

checking for uintptr_t... no

checking for ssize_t... no

checking for pid_t... no

checking for library containing strerror... none required

checking for asprintf... no
checking for atexit... no

checking for basename... no

checking for bcmp... no

checking for bcopy... no

checking for bsearch... no

checking for bzero... no

checking for calloc... no

checking for clock... no

checking for ffs... no

checking for getcwd... no

checking for getpagesize... no

checking for gettimeofday... no

checking for index... no

checking for insque... no

checking for memchr... no

checking for memcmp... no

checking for memcpy... no

checking for memmem... no

checking for memmove... no

checking for mempcpy... no

checking for memset... no

checking for mkstemps... no

checking for putenv... no

checking for random... no

checking for rename... no

checking for rindex... no

checking for setenv... no

checking for snprintf... no

checking for sigsetmask... no

checking for stpcpy... no

checking for stpncpy... no

checking for strcasecmp... no

checking for strchr... no

checking for strdup... no

checking for strncasecmp... no

checking for strndup... no

checking for strrchr... no

checking for strstr... no

checking for strtod... no

checking for strtol... no

checking for strtoul... no

checking for strverscmp... no

checking for tmpnam... no

checking for vasprintf... no

checking for vfprintf... no

checking for vprintf... no

checking for vsnprintf... no

checking for vsprintf... no

checking for waitpid... no

checking for setproctitle... no

checking whether alloca needs Cray hooks... no

checking stack direction for C alloca... -1

checking for vfork.h... no

checking for fork... no

checking for vfork... no

checking for _doprnt... no

checking for sys_errlist... no

checking for sys_nerr... no

checking for sys_siglist... no

checking for external symbol _system_configuration... no

checking for __fsetlocking... no

checking for canonicalize_file_name... no

checking for dup3... no

checking for getrlimit... no

checking for getrusage... no

checking for getsysinfo... no

checking for gettimeofday... (cached) no

checking for on_exit... no

checking for psignal... no

checking for pstat_getdynamic... no

checking for pstat_getstatic... no

checking for realpath... no

checking for setrlimit... no

checking for sbrk... no

checking for spawnve... no

checking for spawnvpe... no

checking for strerror... no

checking for strsignal... no

checking for sysconf... no

checking for sysctl... no

checking for sysmp... no

checking for table... no

checking for times... no

checking for wait3... no

checking for wait4... no

checking whether basename is declared... no

checking whether ffs is declared... no

checking whether asprintf is declared... no

checking whether vasprintf is declared... no

checking whether snprintf is declared... no

checking whether vsnprintf is declared... no

checking whether calloc is declared... no

checking whether getenv is declared... no

checking whether getopt is declared... no

checking whether malloc is declared... no

checking whether realloc is declared... no

checking whether sbrk is declared... no

checking whether strverscmp is declared... no

checking whether canonicalize_file_name must be declared... yes

checking for stdlib.h... (cached) no

checking for unistd.h... (cached) no

checking for getpagesize... (cached) no

checking for working mmap... no

checking for working strncmp... no

configure: 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

gmake[3]: Entering directory

`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10/libiberty'

if [ x"-fPIC" != x ] && [ ! -d pic ]; then \

  mkdir pic; \

else true; fi

touch stamp-picdir

if [ x"-fPIC" != x ]; then \

  gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g -mno-app-regs

-mcpu=v9 -D_TS_ERRNO -c -DHAVE_CONFIG_H -g -fkeep-inline-functions

-I/usr/local/include:/opt/csw/gcc4/include -I.

-I../../gcc-4.7.2/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat

-Wstrict-prototypes -pedantic  -fPIC ../../gcc-4.7.2/libiberty/regex.c -o

pic/regex.o; \

else true; fi

In file included from

/opt/csw/gcc4/lib/gcc/sparc-sun-solaris2.8/4.5.1/include-fixed/sys/types.h:26:0,

                 from ../../gcc-4.7.2/libiberty/regex.c:51:

/opt/csw/gcc4/lib/gcc/sparc-sun-solaris2.8/4.5.1/include-fixed/sys/feature_tests.h:350:2:

error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001

applications     require the use of c99"

In file included from ../../gcc-4.7.2/libiberty/regex.c:51:0:

/opt/csw/gcc4/lib/gcc/sparc-sun-solaris2.8/4.5.1/include-fixed/sys/types.h:502:13:

error: two or more data types in declaration specifiers

../../gcc-4.7.2/libiberty/regex.c:130:1: warning: function declaration isn't a

prototype

../../gcc-4.7.2/libiberty/regex.c:130:7: warning: conflicting types for

built-in function 'malloc'

../../gcc-4.7.2/libiberty/regex.c:131:1: warning: function declaration isn't a

prototype

../../gcc-4.7.2/libiberty/regex.c:131:7: warning: conflicting types for

built-in function 'realloc'

In file included from ../../gcc-4.7.2/libiberty/regex.c:638:0:

../../gcc-4.7.2/libiberty/regex.c: In function 'byte_regex_compile':

../../gcc-4.7.2/libiberty/regex.c:2439:7: warning: implicit declaration of

function 'free'

../../gcc-4.7.2/libiberty/regex.c:2439:33: warning: incompatible implicit

declaration of built-in function 'free'

../../gcc-4.7.2/libiberty/regex.c:2500:17: warning: incompatible implicit

declaration of built-in function 'free'

../../gcc-4.7.2/libiberty/regex.c:2533:36: warning: incompatible implicit

declaration of built-in function 'free'

../../gcc-4.7.2/libiberty/regex.c:2640:28: warning: incompatible implicit

declaration of built-in function 'free'

../../gcc-4.7.2/libiberty/regex.c:3253:25: warning: implicit declaration of

function 'strcmp'

../../gcc-4.7.2/libiberty/regex.c:3643:26: warning: incompatible implicit

declaration of built-in function 'free'

../../gcc-4.7.2/libiberty/regex.c:4150:5: warning: incompatible implicit

declaration of built-in function 'free'

../../gcc-4.7.2/libiberty/regex.c: In function 'byte_re_compile_fastmap':

../../gcc-4.7.2/libiberty/regex.c:4835:11: warning: implicit declaration of

function 'abort'

../../gcc-4.7.2/libiberty/regex.c:4835:11: warning: incompatible implicit

declaration of built-in function 'abort'

../../gcc-4.7.2/libiberty/regex.c: In function 'byte_re_match_2_internal':

../../gcc-4.7.2/libiberty/regex.c:7424:11: warning: incompatible implicit

declaration of built-in function 'abort'

../../gcc-4.7.2/libiberty/regex.c: In function 'xre_comp':

../../gcc-4.7.2/libiberty/regex.c:7849:5: warning: implicit declaration of

function 'strlen'

../../gcc-4.7.2/libiberty/regex.c:7849:34: warning: incompatible implicit

declaration of built-in function 'strlen'

../../gcc-4.7.2/libiberty/regex.c: In function 'xre_exec':

../../gcc-4.7.2/libiberty/regex.c:7865:19: warning: incompatible implicit

declaration of built-in function 'strlen'

../../gcc-4.7.2/libiberty/regex.c: In function 'xregcomp':

../../gcc-4.7.2/libiberty/regex.c:7964:40: warning: incompatible implicit

declaration of built-in function 'strlen'

../../gcc-4.7.2/libiberty/regex.c:7978:4: warning: incompatible implicit

declaration of built-in function 'free'

../../gcc-4.7.2/libiberty/regex.c: In function 'xregexec':

../../gcc-4.7.2/libiberty/regex.c:8011:13: warning: incompatible implicit

declaration of built-in function 'strlen'

../../gcc-4.7.2/libiberty/regex.c:8053:7: warning: incompatible implicit

declaration of built-in function 'free'

../../gcc-4.7.2/libiberty/regex.c: In function 'xregerror':

../../gcc-4.7.2/libiberty/regex.c:8081:5: warning: incompatible implicit

declaration of built-in function 'abort'

../../gcc-4.7.2/libiberty/regex.c:8085:14: warning: incompatible implicit

declaration of built-in function 'strlen'

../../gcc-4.7.2/libiberty/regex.c: In function 'xregfree':

../../gcc-4.7.2/libiberty/regex.c:8114:3: warning: incompatible implicit

declaration of built-in function 'free'

gmake[3]: *** [regex.o] Error 1

gmake[3]: Leaving directory

`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10/libiberty'
gmake[2]: *** [all-stage1-libiberty] Error 2

gmake[2]: Leaving directory

`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'

gmake[1]: *** [stage1-bubble] Error 2

gmake[1]: Leaving directory

`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'

gmake: *** [all] Error 2



real 71.45

user 17.65

sys 12.08

$ 



I think I should try one OR the other define but not BOTH.

Reply via email to