From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11580 invoked by alias); 2 Apr 2011 23:26:33 -0000 Received: (qmail 11570 invoked by uid 22791); 2 Apr 2011 23:26:32 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 02 Apr 2011 23:26:26 +0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/48378] gcc 4.6.0 fails to build from source X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 02 Apr 2011 23:26:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg00166.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48378 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |WORKSFORME --- Comment #12 from Jonathan Wakely 2011-04-02 23:26:24 UTC --- (In reply to comment #11) > (In reply to comment #10) > > (In reply to comment #9) > > > (In reply to comment #7) > > > > (In reply to comment #6) > > > > > I continue to get the originally reported error: > > > > > > > > It looks as though you continue to build in the source dir, but I can't know > > > > for sure as you didn't say how you're running configure. > > > > > > ../gcc-4.6.0/configure > > > > which is the directory you're building in too, right? > > i.e. the same as ./configure > > So you're still building in the source directory. > > NO!! > gcc-4.6-4.6.0.orig/gcc-4.6.0 contains the source > gcc-4.6-4.6.0.orig/build is the build directory But the error you're getting shows you are in the gcc-4.6.0 directory. > > You need TWO directories, one for the sources, and one you build in. > > > > And why are you using with_xxx_lib instead of using --with-gmp ? > > What's the difference? One is the documented, supported way to build gcc, one isn't. > > Try the makefile at http://advogato.org/person/redi/diary/229.html which will > > do it all for you correctly: > > make -f config-gcc.mk GCC_VERSION=4.6.0 GMP_VERSION=5.0.1 > > I am making progress. I downloaded the 3/25 snapshot from one of the mirrors > and I'm not getting the "texi" error any more. It appears there is something > amiss with the Debian packaging. However, now I get the "cannot compute suffix > of object files" error. Hopefully that will go away by use of your advogato > recommendation. Sigh. Why is this so convoluted? http://gcc.gnu.org/wiki/FAQ#configure_suffix Yes, if you use my config-gcc.mk makefile that won't be a problem.