From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21063 invoked by alias); 21 Nov 2012 17:36:28 -0000 Received: (qmail 20995 invoked by uid 22791); 21 Nov 2012 17:36:27 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_VIA_APNIC,TW_BF,TW_IB X-Spam-Check-By: sourceware.org Received: from comm.purplecow.org (HELO comm.purplecow.org) (210.87.62.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Nov 2012 17:36:20 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from comm.purplecow.org ([127.0.0.1]) by comm.purplecow.org (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTP id <0MDU0009BM8I0610@comm.purplecow.org> for gcc-help@gcc.gnu.org; Thu, 22 Nov 2012 04:36:18 +1100 (EST) Received: from comm.purplecow.org ([127.0.0.1] helo=comm.purplecow.org) with IPv4:25 by ASSP.nospam; Thu, 22 Nov 2012 04:36:18 +1100 Received: from [66.103.52.207] by comm.purplecow.org (mshttpd); Wed, 21 Nov 2012 12:36:18 -0500 From: Dennis Clarke To: Dennis Clarke Cc: Eric Botcazou , gcc-help@gcc.gnu.org, ryan.johnson@cs.utoronto.ca, iant@google.com, jwakely.gcc@gmail.com Message-id: Date: Wed, 21 Nov 2012 17:36:00 -0000 Subject: Re: gcc 4.7.2 fails to bootstrap in stage 1 In-reply-to: References: <4787145.HXcA7oyo9f@polaris> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg00167.txt.bz2 - replying to myself because it makes sense Even in a separate Solaris zone with little or no GNU stack items I get a fail early and fast : Configure looks good : dclarke@unreal $ CC='gcc -m64' CXX='g++ -m64' ../gcc-4.7.2/configure \ > --build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \ > --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --disable-nls \ > --enable-threads=posix --enable-shared --libdir=/usr/local/gcc4/lib \ > --with-local-prefix=/usr/local/gcc4 --without-gnu-ld --with-ld=/usr/ccs/bin/ld --without-gnu-as \ > --with-as=/usr/ccs/bin/as --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... no checking for mawk... no checking for nawk... nawk checking for libitm support... yes checking for gcc... gcc -m64 -g 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 -g accepts -g... yes checking for gcc -m64 -g option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ -m64 -g 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... no checking for byacc... no checking for yacc... yacc checking for bison... no checking for gm4... /usr/local/bin/gm4 checking for flex... no checking for lex... lex checking for flex... no checking for makeinfo... no checking for expect... no checking for runtest... no 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... no checking for gcc... gcc 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 dclarke@unreal $ The gmake fials real real fast : $ /usr/bin/time -p gmake -j 8 . . .gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/build-sparc64-sun-solaris2.10/libiberty' checking for inttypes.h... gmake[3]: Entering directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/build-sparc64-sun-solaris2.10/fixincludes' gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixincl.c gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixtests.c gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixfixes.c gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/server.c gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/procopen.c gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixlib.c rm -f ./libiberty.a pic/./libiberty.a /usr/ccs/bin/ar rc ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./memmem.o ./mempcpy.o ./mkstemps.o ./sigsetmask.o ./stpcpy.o ./stpncpy.o ./strndup.o ./strverscmp.o ./setproctitle.o yes ranlib ./libiberty.a if [ x"-fPIC" != x ]; then \ cd pic; \ /usr/ccs/bin/ar rc ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./memmem.o ./mempcpy.o ./mkstemps.o ./sigsetmask.o ./stpcpy.o ./stpncpy.o ./strndup.o ./strverscmp.o ./setproctitle.o; \ ranlib ./libiberty.a; \ cd ..; \ else true; fi checking for stdint.h... gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/libiberty' gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixopts.c yes srcdir="../../../gcc-4.7.2/fixincludes" /opt/csw/bin/bash ../../../gcc-4.7.2/fixincludes/mkfixinc.sh sparc64-sun-solaris2.10 checking for unistd.h... sed -e 's/@gcc_version@/4.7.2/' < mkheaders.almost > mkheadersT mv -f mkheadersT mkheaders gmake[3]: Entering directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin' /usr/local/bin/gmake all-am yes gmake[4]: Entering directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin' /opt/csw/bin/bash ./libtool --tag=CC --tag=disable-static --mode=compile gcc -m64 -g -DHAVE_CONFIG_H -I. -I../../gcc-4.7.2/lto-plugin -I../../gcc-4.7.2/lto-plugin/../include -DHAVE_CONFIG_H -I/usr/local/include -Wall -g -fkeep-inline-functions -c -o lto-plugin.lo ../../gcc-4.7.2/lto-plugin/lto-plugin.c checking minix/config.h usability... ./libtool: line 519: CDPATH: command not found ./libtool: line 923: libtool: ignoring unknown tag disable-static: command not found libtool: Version mismatch error. This is libtool 2.2.7a, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a libtool: and run autoconf again. gmake[4]: *** [lto-plugin.lo] Error 63 gmake[4]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin' gmake[2]: *** [all-stage1-lto-plugin] Error 2 gmake[2]: *** Waiting for unfinished jobs.... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for aclocal... no checking for autoconf... no checking for autoheader... no checking whether gcc -m64 -g supports -W... yes checking whether gcc -m64 -g supports -Wall... yes checking whether gcc -m64 -g supports -Wnarrowing... yes checking whether gcc -m64 -g supports -Wwrite-strings... yes checking whether gcc -m64 -g supports -Wmissing-format-attribute... yes checking whether gcc -m64 -g supports -Wstrict-prototypes... yes checking whether gcc -m64 -g supports -Wmissing-prototypes... yes checking whether gcc -m64 -g supports -Wold-style-definition... gcc -m64 -g -g -O2 -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a echo timestamp > full-stamp gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/build-sparc64-sun-solaris2.10/fixincludes' yes checking whether gcc -m64 -g supports -Wc++-compat... yes checking whether gcc -m64 -g supports -pedantic -Wlong-long... yes checking whether gcc -m64 -g supports -fno-exceptions... yes checking whether gcc -m64 -g supports -fno-rtti... yes checking dependency style of gcc -m64 -g... gcc3 checking whether time.h and sys/time.h may both be included... yes checking whether string.h and strings.h may both be included... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for obstacks... no checking for off_t... yes checking for size_t... yes checking for ssize_t... yes checking for uintptr_t... yes checking for ptrdiff_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of int... 4 checking size of long... 8 checking for clearerr_unlocked... no checking for feof_unlocked... no checking for ferror_unlocked... no checking for fflush_unlocked... no checking for fgetc_unlocked... no checking for fgets_unlocked... no checking for fileno_unlocked... no checking for fprintf_unlocked... no checking for fputc_unlocked... no checking for fputs_unlocked... no checking for fread_unlocked... no checking for fwrite_unlocked... no checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking whether abort is declared... yes checking whether asprintf is declared... yes checking whether basename is declared... no checking whether errno is declared... no checking whether getopt is declared... yes checking whether vasprintf is declared... yes checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgetc_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fileno_unlocked is declared... no checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) yes checking for nl_langinfo and CODESET... yes checking whether NLS is requested... no checking for uchar... 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 for iconv... yes checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depdir commands mkdir .deps gmake[2]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002' gmake: *** [all] Error 2 real 118.53 user 166.40 sys 47.70 So here we see some complaint about libtool of all things. endless battle .. is what this is dc