From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23184 invoked by alias); 30 Nov 2007 20:52:26 -0000 Received: (qmail 23163 invoked by uid 22791); 30 Nov 2007 20:52:25 -0000 X-Spam-Check-By: sourceware.org Received: from pfepc.post.tele.dk (HELO pfepc.post.tele.dk) (195.41.46.237) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 Nov 2007 20:52:19 +0000 Received: from x1-6-00-0f-9f-c6-3e-90 (x1-6-00-0f-9f-c6-3e-90.k75.webspeed.dk [80.197.1.215]) by pfepc.post.tele.dk (Postfix) with ESMTP id A4EA78A0047; Fri, 30 Nov 2007 21:52:14 +0100 (CET) Received: from x1-6-00-0f-9f-c6-3e-90 (localhost.localdomain [127.0.0.1]) by x1-6-00-0f-9f-c6-3e-90 (8.14.0/8.14.0) with ESMTP id lAUKqDEX022696; Fri, 30 Nov 2007 21:52:13 +0100 Received: (from rask@localhost) by x1-6-00-0f-9f-c6-3e-90 (8.14.0/8.14.0/Submit) id lAUKqBF0022695; Fri, 30 Nov 2007 21:52:11 +0100 Date: Fri, 30 Nov 2007 23:25:00 -0000 From: Rask Ingemann Lambertsen To: Mark Mitchell Cc: Bernd Schmidt , Jie Zhang , gcc@gcc.gnu.org, GCC Patches , rsandifo@nildram.co.uk, hp@gcc.gnu.org Subject: Re: Link tests after GCC_NO_EXECUTABLES Message-ID: <20071130205211.GP17368@sygehus.dk> References: <474C96C1.7010208@codesourcery.com> <474C98AA.50105@t-online.de> <474C9A65.2060902@codesourcery.com> <474C9B33.8060503@t-online.de> <474C9CBD.2070708@codesourcery.com> <87fxyqdc45.fsf@firetop.home> <474D943C.4030106@codesourcery.com> <877ik0aerh.fsf@firetop.home> <20071130022132.GL17368@sygehus.dk> <474F8E96.8000605@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <474F8E96.8000605@codesourcery.com> User-Agent: Mutt/1.5.14 (2007-02-12) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg01729.txt.bz2 On Thu, Nov 29, 2007 at 08:16:22PM -0800, Mark Mitchell wrote: > Rask Ingemann Lambertsen wrote: > > >> Perhaps we should turn target-libgfortran off by default for mips*-elf*. > > > > No. There is a point in excercising the compiler: Testing. In most cases, > > you don't find problems with the compiler until you try to compile something. > > When building the compiler and its libraries, testing is of incidental > benefit; the primary goal is to build things. :-) The testsuite is for > testing things. The benefit is the same, incidental or not. We have the testsuite as a result of someone trying to build something with the compiler and not being satisfied with the result. Alternatively, think of libfortran as a testsuite in itself. :-) > It's great to know that gfortran works for other ELF targets. That > means that there must be something a bit odd in the MIPS support > somewhere, and I'm sure we can find it and fix it. I think so too. IIRC, of the *-elf targets that don't currently work with libfortran, one runs into a memory access trap and the others have a link failures due to a missing symbol. > It sounds like we upgraded libtool, and that introduced link-time tests > into libstdc++, which caused build failures. So you came up with the > top-level patch, which then probably made it possible to build some of > the other target libraries that didn't build before for bare metal > because they had always depended on link-time tests. Is that correct? No, the problem with GCC_NO_EXECUTABLES failures predates the libtool upgrade and I don't recall any problems related to the libtool upgrade. The timeline: 2003-08-21: PR 12019 opened: libstdc++ GCC_NO_EXECUTABLES failure. 2006-04-18: DJ Delorie adds -L and -B options for the m32c due to libssp failing to build with GCC_NO_EXECUTABLES problems. The patch also enables libstdc++ on the m32c. 2006-09-29: Joseph S. Myers fixes libssp/configure.ac. 2007-01-??: I duplicate DJ Delorie's -L/-B options for the powerpc. 2007-05-24: Libtool is upgraded with revision 125032, 16:37:27. 2007-05-30: I open PR 32154, early patch against revision 125037, 19:19:31. 2007-09-10: PR 32154 (and PR 12019) fixed. -- Rask Ingemann Lambertsen Danish law requires addresses in e-mail to be logged and stored for a year