From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5947 invoked by alias); 7 Jul 2006 01:32:39 -0000 Received: (qmail 5919 invoked by uid 22791); 7 Jul 2006 01:32:39 -0000 X-Spam-Check-By: sourceware.org Received: from bethe.phy.uc.edu (HELO physics.uc.edu) (129.137.4.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Jul 2006 01:32:37 +0000 Received: from earth.geop.uc.edu (earth.phy.uc.edu [10.44.11.234]) by physics.uc.edu (8.13.6/8.13.4) with ESMTP id k671WY72022685; Thu, 6 Jul 2006 21:32:34 -0400 Received: from earth.phy.uc.edu (localhost.localdomain [127.0.0.1]) by earth.geop.uc.edu (8.12.11/8.9.3) with ESMTP id k671WYfV029476; Thu, 6 Jul 2006 21:32:34 -0400 Received: (from pinskia@localhost) by earth.phy.uc.edu (8.12.11/8.12.11/Submit) id k671WXWd029475; Thu, 6 Jul 2006 21:32:33 -0400 From: Andrew Pinski Message-Id: <200607070132.k671WXWd029475@earth.phy.uc.edu> Subject: Re: [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 To: gcc-bugzilla@gcc.gnu.org Date: Fri, 07 Jul 2006 01:32:00 -0000 Cc: gcc-bugs@gcc.gnu.org In-Reply-To: X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -2.4 () ALL_TRUSTED X-IsSubscribed: yes Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg00506.txt.bz2 List-Id: > > GCC 4.1.1 fails to build on Mac OS X 10.4.6. > 1. Extract source code. > 2. Open Terminal. > 3. Run ./configure --enable-threads --x-includes=/usr/X11R6 > --x-libraries=/usr/X11R6 --with-cpu=powerpc --with-mpfr=/usr/local/lib > --with-gmp=/usr/local/lib. > 4. Run make. > 5. The following error appears halting the build process: > checking for sin in -lm... configure: error: Link tests are not allowed after > GCC_NO_EXECUTABLES. > make[1]: *** [configure-target-libstdc++-v3] Error 1 > make: *** [all] Error 2 > GCC 4.1.1 should compile properly. > I'm using Apple's GCC 4.0.1 for compiling. This works for me, try using "make bootstrap" instead of make. -- Pinski