From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5921 invoked by alias); 2 Apr 2011 22:52:42 -0000 Received: (qmail 5913 invoked by uid 22791); 2 Apr 2011 22:52:42 -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 22:52:37 +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: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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 22:52: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/msg00163.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48378 --- Comment #10 from Jonathan Wakely 2011-04-02 22:52:32 UTC --- (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. 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 ? 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