public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC 2.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status
@ 2012-12-16 22:17 Dennis Clarke
  2012-12-18  7:10 ` Ian Lance Taylor
  0 siblings, 1 reply; 9+ messages in thread
From: Dennis Clarke @ 2012-12-16 22:17 UTC (permalink / raw)
  To: gcc-help


I was surprised, even stunned, to see a stage3 bootstrap linkage error this morning. Not 
at all what I was expected on RHEL6 with binutils 2.23.1 installed in /usr/local. 

Configure went perfectly smooth : 

sedna $ env | sort 
ADDR2LINE=/usr/local/bin/gaddr2line
AR=/usr/local/bin/gar
AS=/usr/local/bin/gas
BUILD=/usr/local/build
CC=gcc
COLUMNS=124
CPPFLAGS=-I/usr/local/include
CXX=g++
DISPLAY=:0.0
EDITOR=vi
ELFEDIT=/usr/local/bin/gelfedit
GPROF=/usr/local/bin/ggprof
HOME=/home/dclarke
HOSTNAME=sedna.adbs.ca
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/local/bin/gld
LD_LIBRARY_PATH=/usr/local/lib
LINES=43
LOGNAME=dclarke
M4=/usr/local/bin/gm4
MAIL=/var/spool/mail/dclarke
MANPATH=/usr/local/share/man:/usr/local/man
NM=/usr/local/bin/gnm
OBJDUMP=/usr/local/bin/gobjcopy
OLDPWD=/usr/local/build
PAGER=more
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/schily/bin
PWD=/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64
RANLIB=/usr/local/bin/granlib
READELF=/usr/local/bin/greadelf
SHELL=/bin/bash
SHLVL=3
SIZE=/usr/local/bin/gsize
SRC=/usr/local/src
STRINGS=/usr/local/bin/gstrings
STRIP=/usr/local/bin/gstrip
TERM=vt100
TZ=GMT0
USER=dclarke
USERNAME=dclarke
VISUAL=vi
WINDOWID=92274722
XTERM_LOCALE=C
XTERM_SHELL=/bin/bash
XTERM_VERSION=X.Org 6.8.99.903(253)
_=/usr/bin/env


sedna $ ../gcc-4.7.2/configure \
> --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu \
> --with-as=/usr/local/bin/gas --with-ld=/usr/local/bin/gld \                 
> --enable-multilib --enable-nls --enable-threads=posix \
> --enable-libada --enable-libssp --enable-lto \
> --enable-stage1-languages=c --enable-shared \
> --prefix=/usr/local/gcc4 --with-local-prefix=/usr/local/include \
> --mandir=/usr/local/gcc4/share/man --infodir=/usr/local/gcc4/share/info \
> --with-system-zlib --enable-__cxa_atexit --with-arch_32=i686 \
> --with-gmp-include=/usr/local/include --with-gmp-lib=/usr/local/lib \
> --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib \
> --with-mpc-include=/usr/local/include --with-mpc-lib=/usr/local/lib \
> --with-pkgversion='Blastwave.org Inc. time_rfc-3339=2012-12-16 00:33:28-05:00' \
> --enable-languages=ada,c,c++,fortran,go,objc --enable-bootstrap
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libitm support... yes
checking for x86_64-unknown-linux-gnu-gcc... gcc
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 accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for x86_64-unknown-linux-gnu-gnatbind... no
checking for gnatbind... gnatbind
checking for x86_64-unknown-linux-gnu-gnatmake... no
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
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
 'c++' language required by 'go' in stage 1; enabling
The following languages will be built: c,ada,c++,fortran,go,lto,objc
*** This configuration is not supported in the following subdirectories:
     zlib 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/local/bin/gar
checking for x86_64-unknown-linux-gnu-ar... (cached) /usr/local/bin/gar
checking for as... (cached) /usr/local/bin/gas
checking for x86_64-unknown-linux-gnu-as... (cached) /usr/local/bin/gas
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking for ld... (cached) /usr/local/bin/gld
checking for x86_64-unknown-linux-gnu-ld... (cached) /usr/local/bin/gld
checking for x86_64-unknown-linux-gnu-lipo... no
checking for lipo... no
checking for nm... (cached) /usr/local/bin/gnm
checking for x86_64-unknown-linux-gnu-nm... (cached) /usr/local/bin/gnm
checking for ranlib... (cached) /usr/local/bin/granlib
checking for x86_64-unknown-linux-gnu-ranlib... (cached) /usr/local/bin/granlib
checking for strip... (cached) /usr/local/bin/gstrip
checking for x86_64-unknown-linux-gnu-strip... (cached) /usr/local/bin/gstrip
checking for x86_64-unknown-linux-gnu-windres... no
checking for windres... no
checking for x86_64-unknown-linux-gnu-windmc... no
checking for windmc... no
checking for x86_64-unknown-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for objdump... (cached) /usr/local/bin/gobjcopy
checking for x86_64-unknown-linux-gnu-objdump... (cached) /usr/local/bin/gobjcopy
checking for readelf... (cached) /usr/local/bin/greadelf
checking for x86_64-unknown-linux-gnu-readelf... (cached) /usr/local/bin/greadelf
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... objdump
checking for ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for readelf... readelf
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... just compiled
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
sedna.adbs.ca $ 

The build ran for a nice long time and then failed in stage3 with a linker error: 

sedna $ /usr/bin/time -p nice -n +19 gmake
.
. hours later 
.
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sem_scil.adb -o ada/sem_scil.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sem_smem.adb -o ada/sem_smem.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sem_type.adb -o ada/sem_type.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sem_util.adb -o ada/sem_util.o
../../gcc-4.7.2/gcc/ada/sem_util.adb: In function 'Sem_Util.Has_Preelaborable_Initialization.Check_Components.Is_Preelaborable_Expression':
../../gcc-4.7.2/gcc/ada/sem_util.adb:5607:29: warning: 'Comp_Type' may be used uninitialized in this function [-Wmaybe-uninitialized]
../../gcc-4.7.2/gcc/ada/sem_util.adb: In function 'Sem_Util.Insert_Explicit_Dereference':
../../gcc-4.7.2/gcc/ada/sem_util.adb:6497:13: warning: 'Pref' may be used uninitialized in this function [-Wmaybe-uninitialized]
../../gcc-4.7.2/gcc/ada/sem_util.adb: In function 'Sem_Util.Matching_Static_Array_Bounds':
../../gcc-4.7.2/gcc/ada/sem_util.adb:9103:10: warning: 'R_Index' may be used uninitialized in this function [-Wmaybe-uninitialized]
../../gcc-4.7.2/gcc/ada/sem_util.adb:9102:10: warning: 'L_Index' may be used uninitialized in this function [-Wmaybe-uninitialized]
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sem_vfpt.adb -o ada/sem_vfpt.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sem_warn.adb -o ada/sem_warn.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sinfo-cn.adb -o ada/sinfo-cn.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sinfo.adb -o ada/sinfo.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sinput-d.adb -o ada/sinput-d.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sinput-l.adb -o ada/sinput-l.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sinput.adb -o ada/sinput.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ada/snames.adb -o ada/snames.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/sprint.adb -o ada/sprint.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/stand.adb -o ada/stand.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/stringt.adb -o ada/stringt.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/style.adb -o ada/style.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/styleg.adb -o ada/styleg.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/stylesw.adb -o ada/stylesw.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/switch-c.adb -o ada/switch-c.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/switch.adb -o ada/switch.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/system.ads -o ada/system.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/table.adb -o ada/table.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/targparm.adb -o ada/targparm.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/tbuild.adb -o ada/tbuild.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/tree_gen.adb -o ada/tree_gen.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/tree_in.adb -o ada/tree_in.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/tree_io.adb -o ada/tree_io.o
mkdir -p ada/bldtools/treeprs
rm -f ada/bldtools/treeprs/treeprs.adt ada/bldtools/treeprs/sinfo.ads ada/bldtools/treeprs/xtreeprs.adb
cp -p ../../gcc-4.7.2/gcc/ada/treeprs.adt ../../gcc-4.7.2/gcc/ada/sinfo.ads ../../gcc-4.7.2/gcc/ada/xtreeprs.adb ada/bldtools/treeprs
(cd ada/bldtools/treeprs; gnatmake -q xtreeprs ; ./xtreeprs ../../treeprs.ads )
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/treepr.adb -o ada/treepr.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ada/treeprs.ads -o ada/treeprs.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/ttypes.ads -o ada/ttypes.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/types.adb -o ada/types.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/uintp.adb -o ada/uintp.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/uname.adb -o ada/uname.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/urealp.adb -o ada/urealp.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/usage.adb -o ada/usage.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/validsw.adb -o ada/validsw.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/warnsw.adb -o ada/warnsw.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/widechar.adb -o ada/widechar.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/back_end.adb -o ada/back_end.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/gnat1drv.adb -o ada/gnat1drv.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/gnatbind -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface -o b_gnat1.adb -n ada/gnat1drv.ali
mv b_gnat1.adb b_gnat1.ads ada/
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/xgcc -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc4/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  -gnatp -gnatws -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface \
    ada/b_gnat1.adb -o ada/b_gnat1.o
/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/g++ -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include -I/usr/local/build/gcc-4.7.2/libstdc++-v3/libsupc++ -L/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -W
no-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libgcc -static-libstdc++ -static-libgcc  -o gnat1 ada/adadecode.o ada/adaint.o ada/argv.o ada/cio.o ada/cstreams.o ada/env.o ada/init.o ada/initialize.o ada/raise.o ada/seh_init.o ada/targext.o ada/tracebak.o ada/cuintp.o ada/decl.o ada/misc.o ada/utils.o ada/utils2.o ada/trans.o ada/targtyps.o ada/a-charac.o ada/a-chlat1.o ada/a-elchha.o ada/a-except.o ada/a-ioexce.o ada/ada.o ada/alfa.o ada/ali.o ada/alloc.o ada/aspects.o ada/atree.o ada/butil.o ada/casing.o ada/checks.o ada/comperr.o ada/csets.o ada/cstand.o ada/debug.o ada/debug_a.o ada/einfo.o ada/elists.o ada/err_vars.o ada/errout.o ada/erroutc.o ada/eval_fat.o ada/exp_aggr.o ada/exp_alfa.o ada/exp_atag.o ada/exp_attr.o ada/exp_cg.o ada/exp_ch11.o ada/exp_ch12.o ada/exp_ch13.o ada/exp_ch2.o ada/exp_ch3.o ada/exp_ch4.o ada/exp_ch5.o ada/exp_ch6.o ada/exp_ch7.o a
da/exp_ch8.o ada/exp_ch9.o ada/exp_code.o ada/exp_dbug.o ada/exp_disp.o ada/exp_dist.o ada/exp_fixd.o ada/exp_imgv.o ada/exp_intr.o ada/exp_pakd.o ada/exp_prag.o ada/exp_sel.o ada/exp_smem.o ada/exp_strm.o ada/exp_tss.o ada/exp_util.o ada/exp_vfpt.o ada/expander.o ada/fmap.o ada/fname-uf.o ada/fname.o ada/freeze.o ada/frontend.o ada/g-byorma.o ada/g-hesora.o ada/g-htable.o ada/g-spchge.o ada/g-speche.o ada/g-u3spch.o ada/get_alfa.o ada/get_targ.o ada/gnat.o ada/gnatvsn.o ada/hlo.o ada/hostparm.o ada/impunit.o ada/inline.o ada/interfac.o ada/itypes.o ada/krunch.o ada/layout.o ada/lib-load.o ada/lib-util.o ada/lib-writ.o ada/lib-xref.o ada/lib.o ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o ada/nmake.o ada/opt.o ada/osint-c.o ada/osint.o ada/output.o ada/par.o ada/par_sco.o ada/prep.o ada/prepcomp.o ada/put_alfa.o ada/put_scos.o ada/repinfo.o ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o ada/s-assert.o ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o 
ada/s-conca3.o ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o ada/s-conca8.o ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-excdeb.o ada/s-except.o ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o ada/s-llflex.o ada/s-mastop.o ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o ada/s-restri.o ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o ada/s-sopco5.o ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strcom.o ada/s-strhas.o ada/s-string.o ada/s-strops.o ada/s-traceb.o ada/s-traent.o ada/s-unstyp.o ada/s-utf_32.o ada/s-wchcnv.o ada/s-wchcon.o ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scn.o ada/scng.o ada/scos.o ada/sdefault.o ada/sem.o ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o ada/sem_case.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o ada/sem_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o ada/sem_ch6.o ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_dim.o ada/sem_disp.o ada/sem_dist.o ada/se
m_elab.o ada/sem_elim.o ada/sem_eval.o ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_scil.o ada/sem_smem.o ada/sem_type.o ada/sem_util.o ada/sem_vfpt.o ada/sem_warn.o ada/sinfo-cn.o ada/sinfo.o ada/sinput-d.o ada/sinput-l.o ada/sinput.o ada/snames.o ada/sprint.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o ada/stylesw.o ada/switch-c.o ada/switch.o ada/system.o ada/table.o ada/targparm.o ada/tbuild.o ada/tree_gen.o ada/tree_in.o ada/tree_io.o ada/treepr.o ada/treeprs.o ada/ttypes.o ada/types.o ada/uintp.o ada/uname.o ada/urealp.o ada/usage.o ada/validsw.o ada/warnsw.o ada/widechar.o ada/back_end.o ada/gnat1drv.o ada/b_gnat1.o main.o  libbackend.a libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a attribs.o libcommon-target.a libcommon.a ../libcpp/libcpp.a -lintl -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a     -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lmpc -lmpfr -lgmp -rdynamic -ldl  -lz -g 
-O2
collect2: error: ld returned 1 exit status
gmake[3]: *** [gnat1] Error 1
gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/gcc'
gmake[2]: *** [all-stage3-gcc] Error 2
gmake[2]: Leaving directory `/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64'
gmake[1]: *** [stage3-bubble] Error 2
gmake[1]: Leaving directory `/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64'
gmake: *** [all] Error 2
real 8382.63
user 7431.50
sys 734.14


I would expect to see a failure in stage 1 or stage 2 but rarely ever stage 3.  If anyone 
has a clue where to look for such a beastly error, do let me know. Please. 

Dennis Clarke 

ps: a word on versions of tools used : 

sedna $ bison --version
bison (GNU Bison) 2.7

sedna $ gawk --version
GNU Awk 4.0.1

sedna $ flex --version
flex 2.5.37

sedna $ which runtest
/usr/local/bin/runtest
sedna $ runtest --version 
WARNING: Couldn't find the global config file.
Expect version is       5.45
Tcl version is          8.5
Framework version is    1.5
sedna $ 

Actually expect5.45, tcl8.5.12, and tk8.5.12 are used also but really only needed 
in the test phase which I never managed to arrive at. 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC 2.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status
  2012-12-16 22:17 GCC 2.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status Dennis Clarke
@ 2012-12-18  7:10 ` Ian Lance Taylor
  2012-12-18 17:39   ` Dennis Clarke
  2012-12-19  4:32   ` Dennis Clarke
  0 siblings, 2 replies; 9+ messages in thread
From: Ian Lance Taylor @ 2012-12-18  7:10 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: gcc-help

On Sun, Dec 16, 2012 at 2:16 PM, Dennis Clarke <dclarke@blastwave.org> wrote:

> /usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/g++ -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/./prev-gcc/ -B/usr/local/gcc4/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include -I/usr/local/build/gcc-4.7.2/libstdc++-v3/libsupc++ -L/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -W
> no-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libgcc -static-libstdc++ -static-libgcc  -o gnat1 ada/adadecode.o ada/adaint.o ada/argv.o ada/cio.o ada/cstreams.o ada/env.o ada/init.o ada/initialize.o ada/raise.o ada/seh_init.o ada/targext.o ada/tracebak.o ada/cuintp.o ada/decl.o ada/misc.o ada/utils.o ada/utils2.o ada/trans.o ada/targtyps.o ada/a-charac.o ada/a-chlat1.o ada/a-elchha.o ada/a-except.o ada/a-ioexce.o ada/ada.o ada/alfa.o ada/ali.o ada/alloc.o ada/aspects.o ada/atree.o ada/butil.o ada/casing.o ada/checks.o ada/comperr.o ada/csets.o ada/cstand.o ada/debug.o ada/debug_a.o ada/einfo.o ada/elists.o ada/err_vars.o ada/errout.o ada/erroutc.o ada/eval_fat.o ada/exp_aggr.o ada/exp_alfa.o ada/exp_atag.o ada/exp_attr.o ada/exp_cg.o ada/exp_ch11.o ada/exp_ch12.o ada/exp_ch13.o ada/exp_ch2.o ada/exp_ch3.o ada/exp_ch4.o ada/exp_ch5.o ada/exp_ch6.o ada/exp_ch7.o a
> da/exp_ch8.o ada/exp_ch9.o ada/exp_code.o ada/exp_dbug.o ada/exp_disp.o ada/exp_dist.o ada/exp_fixd.o ada/exp_imgv.o ada/exp_intr.o ada/exp_pakd.o ada/exp_prag.o ada/exp_sel.o ada/exp_smem.o ada/exp_strm.o ada/exp_tss.o ada/exp_util.o ada/exp_vfpt.o ada/expander.o ada/fmap.o ada/fname-uf.o ada/fname.o ada/freeze.o ada/frontend.o ada/g-byorma.o ada/g-hesora.o ada/g-htable.o ada/g-spchge.o ada/g-speche.o ada/g-u3spch.o ada/get_alfa.o ada/get_targ.o ada/gnat.o ada/gnatvsn.o ada/hlo.o ada/hostparm.o ada/impunit.o ada/inline.o ada/interfac.o ada/itypes.o ada/krunch.o ada/layout.o ada/lib-load.o ada/lib-util.o ada/lib-writ.o ada/lib-xref.o ada/lib.o ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o ada/nmake.o ada/opt.o ada/osint-c.o ada/osint.o ada/output.o ada/par.o ada/par_sco.o ada/prep.o ada/prepcomp.o ada/put_alfa.o ada/put_scos.o ada/repinfo.o ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o ada/s-assert.o ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o
> ada/s-conca3.o ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o ada/s-conca8.o ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-excdeb.o ada/s-except.o ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o ada/s-llflex.o ada/s-mastop.o ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o ada/s-restri.o ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o ada/s-sopco5.o ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strcom.o ada/s-strhas.o ada/s-string.o ada/s-strops.o ada/s-traceb.o ada/s-traent.o ada/s-unstyp.o ada/s-utf_32.o ada/s-wchcnv.o ada/s-wchcon.o ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scn.o ada/scng.o ada/scos.o ada/sdefault.o ada/sem.o ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o ada/sem_case.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o ada/sem_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o ada/sem_ch6.o ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_dim.o ada/sem_disp.o ada/sem_dist.o ada/se
> m_elab.o ada/sem_elim.o ada/sem_eval.o ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_scil.o ada/sem_smem.o ada/sem_type.o ada/sem_util.o ada/sem_vfpt.o ada/sem_warn.o ada/sinfo-cn.o ada/sinfo.o ada/sinput-d.o ada/sinput-l.o ada/sinput.o ada/snames.o ada/sprint.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o ada/stylesw.o ada/switch-c.o ada/switch.o ada/system.o ada/table.o ada/targparm.o ada/tbuild.o ada/tree_gen.o ada/tree_in.o ada/tree_io.o ada/treepr.o ada/treeprs.o ada/ttypes.o ada/types.o ada/uintp.o ada/uname.o ada/urealp.o ada/usage.o ada/validsw.o ada/warnsw.o ada/widechar.o ada/back_end.o ada/gnat1drv.o ada/b_gnat1.o main.o  libbackend.a libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a attribs.o libcommon-target.a libcommon.a ../libcpp/libcpp.a -lintl -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a     -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lmpc -lmpfr -lgmp -rdynamic -ldl  -lz -g
> -O2
> collect2: error: ld returned 1 exit status
> gmake[3]: *** [gnat1] Error 1
> gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/gcc'
> gmake[2]: *** [all-stage3-gcc] Error 2
> gmake[2]: Leaving directory `/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64'
> gmake[1]: *** [stage3-bubble] Error 2
> gmake[1]: Leaving directory `/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64'
> gmake: *** [all] Error 2
> real 8382.63
> user 7431.50
> sys 734.14
>
>
> I would expect to see a failure in stage 1 or stage 2 but rarely ever stage 3.  If anyone
> has a clue where to look for such a beastly error, do let me know. Please.

This looks like the linker failed without reporting an error message.
That is quite strange.  I do not know what would caused that, and it
suggests a bug in the linker.  You should make sure that you did not
run out of disk space, and that the linker did not run over some sort
of resource limit, e.g., set by ulimit.

Ian

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC 2.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status
  2012-12-18  7:10 ` Ian Lance Taylor
@ 2012-12-18 17:39   ` Dennis Clarke
  2012-12-19  4:32   ` Dennis Clarke
  1 sibling, 0 replies; 9+ messages in thread
From: Dennis Clarke @ 2012-12-18 17:39 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc-help


<snip>
> > collect2: error: ld returned 1 exit status
> > gmake[3]: *** [gnat1] Error 1
> > gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64/gcc'
> > gmake[2]: *** [all-stage3-gcc] Error 2
> > gmake[2]: Leaving directory `/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64'
> > gmake[1]: *** [stage3-bubble] Error 2
> > gmake[1]: Leaving directory `/usr/local/build/gcc-4.7.2_2.6.32-279.14.1.el6.x86_64'
> > gmake: *** [all] Error 2
> > real 8382.63
> > user 7431.50
> > sys 734.14
> >
> >
> > I would expect to see a failure in stage 1 or stage 2 but rarely 
> ever stage 3.  If anyone
> > has a clue where to look for such a beastly error, do let me know. Please.
> 
> This looks like the linker failed without reporting an error message.
> That is quite strange. 

I agree, which is why I thought to post a message to gcc-help in the hopes that someone else 
could confirm my thinking, this shouldn't happen. Not in stage3. 

> I do not know what would caused that, and it
> suggests a bug in the linker. 

I was also curious why /usr/local/bin/gld was not used as opposed to the Red Hat supplied ld. I suspect this is due to the specs in the supplied gcc that comes with RHEL6, however I had thought that by stage 3 I would be running the most recent gcc created in stage 2 and with the linker and assembler specified on the conffigure line. In this case gas and gld in /usr/local/bin from binutils  2.23.1.  So yes ... this is an odd one to me on a few levels. 

> You should make sure that you did not run out of disk space

That was my first thought as and ada/gnat enabled compiler can be quite large. 
Nope. Plenty of space.

>... and that the linker did not run over some sort
> of resource limit, e.g., set by ulimit.

sedna $ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 127435
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

I could try to increase stack size and max locked memory perhaps but again, I am just on a fishing expedition here. 

I will say that I dropped the ada language and then was able to get a somewhat ugly build done : 

    http://gcc.gnu.org/ml/gcc-testresults/2012-12/msg01573.html

..in whcih we see somewhat ugly g++ results : 

                === g++ Summary ===

# of expected passes            48523
# of unexpected failures        51
# of expected failures          286
# of unresolved testcases       28
# of unsupported tests          578

However it was the best I could get at the time. 

I will see if an increase in stack size makes any difference, as for max locked memory, I can not recall ever needing to touch that. 

I will say that my bootstraps of 4.7.2 have not gone well and I can not recall in years having such struggles.  My best quality ( measured by testsuite ) bootstrap result to date has been on an obsolete Solaris 8 i386 server.  Everything throws a pile unexpected failures. 

I wwill go back and retry a bootstrap with ada and see what I get. 

Thank you for the pointers and the reply. 

Dennis 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC 2.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status
  2012-12-18  7:10 ` Ian Lance Taylor
  2012-12-18 17:39   ` Dennis Clarke
@ 2012-12-19  4:32   ` Dennis Clarke
  2012-12-19 13:47     ` Jonathan Wakely
  1 sibling, 1 reply; 9+ messages in thread
From: Dennis Clarke @ 2012-12-19  4:32 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc-help

<snip>
> > I would expect to see a failure in stage 1 or stage 2 but rarely 
> > ever stage 3.  If anyone has a clue where to look for such a 
> > beastly error, do let me know. Please.
> 
> <snip> ... that the linker did not run over some sort
> of resource limit, e.g., set by ulimit.
> 
> Ian

Well Sir, good guess. I incresed the stack size quite a bit : 

sedna $ ulimit -a 
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 127435
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 65536
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


Then went back and ran the exact same configure : 

sedna $ ../gcc-4.7.2/configure \
> --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu \
> --with-as=/usr/local/bin/gas --with-ld=/usr/local/bin/gld --enable-multilib --enable-nls \
> --enable-threads=posix --enable-libada --enable-libssp --enable-lto \
> --enable-stage1-languages=c --enable-shared \
> --prefix=/usr/local/gcc4 --with-local-prefix=/usr/local/include 
> --mandir=/usr/local/gcc4/share/man --infodir=/usr/local/gcc4/share/info \
> --with-system-zlib --enable-__cxa_atexit --with-arch_32=i686 \
> --with-gmp-include=/usr/local/include --with-gmp-lib=/usr/local/lib \
> --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib \
> --with-mpc-include=/usr/local/include --with-mpc-lib=/usr/local/lib \
> --with-pkgversion=Blastwave.org\ Inc.\ time_rfc-3339\2012-12-19\ 00\:39\:50\+00:00 \
> --enable-languages=ada,c,c++,fortran,go,objc --enable-bootstrap 

That went very well and the compile took a nice long time, even on a quad core opteron :

real 12255.97
user 10349.35
sys 1565.99

testsuite is running now and I can only hope that things go well. Thank you for the pointer to ulimit there. Would not have guessed that and still not sure why it was an issue. 

Dennis 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC 2.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status
  2012-12-19  4:32   ` Dennis Clarke
@ 2012-12-19 13:47     ` Jonathan Wakely
  2012-12-19 16:58       ` GCC 4.7.2 " Dennis Clarke
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Wakely @ 2012-12-19 13:47 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: Ian Lance Taylor, gcc-help

On 19 December 2012 04:32, Dennis Clarke wrote:
>
> That went very well and the compile took a nice long time, even on a quad core opteron :
>
> real 12255.97
> user 10349.35
> sys 1565.99

Presumably this is without -jN?  Why would you want to do that?  The
fact it's a quad-core is irrelevant if you only use one core.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC 4.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status
  2012-12-19 13:47     ` Jonathan Wakely
@ 2012-12-19 16:58       ` Dennis Clarke
  2012-12-19 17:19         ` Jonathan Wakely
  0 siblings, 1 reply; 9+ messages in thread
From: Dennis Clarke @ 2012-12-19 16:58 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: Ian Lance Taylor, gcc-help


> On 19 December 2012 04:32, Dennis Clarke wrote:
> >
> > That went very well and the compile took a nice long time, even on a 
> quad core opteron :
> >
> > real 12255.97
> > user 10349.35
> > sys 1565.99
> 
> Presumably this is without -jN?  Why would you want to do that?  The
> fact it's a quad-core is irrelevant if you only use one core.

Depends on how much trust you place in -jX for X>1 and in my case, not much, yet. 

I am not in a rush, I have a few machines that take well over 168 hours to do a bootstrap and then a testsuite run. To me it is just a process sitting on a back burner simmering and I am fine with that.

As a fine example .. we have a testsuite run which just completed on this 2.6 GHz Opteron like so : 

    http://gcc.gnu.org/ml/gcc-testresults/2012-12/msg01762.html


sedna $ /usr/bin/time -p nice -n +19 gmake -k check 
.
.
.
real 23347.63
user 14833.37
sys 7920.38

Six and a half hours on a 3 GHz Opteron. Not pretty but it works.

Dennis 


ps : scary that it takes that long when I have two of these on RHEL 6.3 : 

http://products.amd.com/pages/OpteronCPUDetail.aspx?id=353&f1=&f2=&f3=Yes&f4=&f5=&f6=&f7=&f8=&f9=&f10=&f11=&


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC 4.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status
  2012-12-19 16:58       ` GCC 4.7.2 " Dennis Clarke
@ 2012-12-19 17:19         ` Jonathan Wakely
  2012-12-19 17:28           ` Jonathan Wakely
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Wakely @ 2012-12-19 17:19 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: Ian Lance Taylor, gcc-help

On 19 December 2012 16:58, Dennis Clarke wrote:
>
>> On 19 December 2012 04:32, Dennis Clarke wrote:
>> >
>> > That went very well and the compile took a nice long time, even on a
>> quad core opteron :
>> >
>> > real 12255.97
>> > user 10349.35
>> > sys 1565.99
>>
>> Presumably this is without -jN?  Why would you want to do that?  The
>> fact it's a quad-core is irrelevant if you only use one core.
>
> Depends on how much trust you place in -jX for X>1 and in my case, not much, yet.

Why?

> I am not in a rush, I have a few machines that take well over 168 hours to do a bootstrap and then a testsuite run. To me it is just a process sitting on a back burner simmering and I am fine with that.
>
> As a fine example .. we have a testsuite run which just completed on this 2.6 GHz Opteron like so :
>
>     http://gcc.gnu.org/ml/gcc-testresults/2012-12/msg01762.html
>
>
> sedna $ /usr/bin/time -p nice -n +19 gmake -k check
> .
> .
> .
> real 23347.63
> user 14833.37
> sys 7920.38
>
> Six and a half hours on a 3 GHz Opteron. Not pretty but it works.

The testsuite is embarrassingly parallel.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC 4.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status
  2012-12-19 17:19         ` Jonathan Wakely
@ 2012-12-19 17:28           ` Jonathan Wakely
  2012-12-19 19:21             ` Dennis Clarke
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Wakely @ 2012-12-19 17:28 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: Ian Lance Taylor, gcc-help

On 19 December 2012 17:19, Jonathan Wakely wrote:
> On 19 December 2012 16:58, Dennis Clarke wrote:
>>
>>> On 19 December 2012 04:32, Dennis Clarke wrote:
>>> >
>>> > That went very well and the compile took a nice long time, even on a
>>> quad core opteron :
>>> >
>>> > real 12255.97
>>> > user 10349.35
>>> > sys 1565.99
>>>
>>> Presumably this is without -jN?  Why would you want to do that?  The
>>> fact it's a quad-core is irrelevant if you only use one core.
>>
>> Depends on how much trust you place in -jX for X>1 and in my case, not much, yet.
>
> Why?

The reason for my question is that you keep mentioning the time it
takes to do a bootstrap or testsuite, which seems a bit pointless when
there's a proven way to speed it up that you're not using.  If you
care about the time use -j, but if you don't, why keep mentioning it?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC 4.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status
  2012-12-19 17:28           ` Jonathan Wakely
@ 2012-12-19 19:21             ` Dennis Clarke
  0 siblings, 0 replies; 9+ messages in thread
From: Dennis Clarke @ 2012-12-19 19:21 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: Ian Lance Taylor, gcc-help


> >> Depends on how much trust you place in -jX for X>1 and in my case, 
> not much, yet.
> >
> > Why?
> 
> The reason for my question is that you keep mentioning the time it
> takes to do a bootstrap or testsuite, which seems a bit pointless when
> there's a proven way to speed it up that you're not using.  If you
> care about the time use -j, but if you don't, why keep mentioning it?

The time is not an interest, only a yardstick to tell me when to look for a result. The quality of the result is what is of great interest to me and GCC 4.7.2 is really not a good quality result, at least not that I have seen other than on a really really old Solaris 8 i386 box. 

The time is of interest only because now I know that I can look for a result in six or seven hours and know on the wall clock when to care about looking. This is running on a machine that I use for other things so running a build with -j 8 would sort of kill the box for a while. 

Dennis 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-12-19 19:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-16 22:17 GCC 2.7.2 stage3 bootstrap error on RHEL6 : collect2: error: ld returned 1 exit status Dennis Clarke
2012-12-18  7:10 ` Ian Lance Taylor
2012-12-18 17:39   ` Dennis Clarke
2012-12-19  4:32   ` Dennis Clarke
2012-12-19 13:47     ` Jonathan Wakely
2012-12-19 16:58       ` GCC 4.7.2 " Dennis Clarke
2012-12-19 17:19         ` Jonathan Wakely
2012-12-19 17:28           ` Jonathan Wakely
2012-12-19 19:21             ` Dennis Clarke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).