From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2852 invoked by alias); 21 Nov 2012 18:25:15 -0000 Received: (qmail 2828 invoked by uid 22791); 21 Nov 2012 18:25:13 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Received: from bureau81.ns.utoronto.ca (HELO bureau81.ns.utoronto.ca) (128.100.132.181) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Nov 2012 18:25:06 +0000 Received: from [192.168.0.100] (75-119-246-22.dsl.teksavvy.com [75.119.246.22]) (authenticated bits=0) by bureau81.ns.utoronto.ca (8.13.8/8.13.8) with ESMTP id qALIOumW016864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Nov 2012 13:24:59 -0500 Message-ID: <50AD1C8D.2050400@cs.utoronto.ca> Date: Wed, 21 Nov 2012 18:25:00 -0000 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Dennis Clarke CC: Eric Botcazou , gcc-help@gcc.gnu.org, iant@google.com, jwakely.gcc@gmail.com Subject: Re: gcc 4.7.2 fails to bootstrap in stage 1 References: <4787145.HXcA7oyo9f@polaris> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00170.txt.bz2 On 21/11/2012 12:36 PM, Dennis Clarke wrote: > 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 > ./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.... > So here we see some complaint about libtool of all things. That's a pretty actionable error message... which I have to assume you did not act on before posting, based on available information. Please perform basic debuggery before spamming the list. Even if it turns out to be a gcc problem, it takes longer to compose the message than to fix things like this, and delivering a compiled list of workarounds at the end is far more useful to everyone (including you if you ever need to do this again) than a bunch of screen dumps showing basic error messages. Ryan P.S. This message and the previous hint pretty strongly that you've got some messed up paths and/or package installs that have little or nothing to do with gcc, other than perhaps the latter requiring non-braindead versions of grep/sed/etc.