From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26233 invoked by alias); 23 Mar 2011 11:24:33 -0000 Received: (qmail 26209 invoked by uid 22791); 23 Mar 2011 11:24:31 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_BG X-Spam-Check-By: sourceware.org Received: from mail-wy0-f175.google.com (HELO mail-wy0-f175.google.com) (74.125.82.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Mar 2011 11:24:23 +0000 Received: by wyb40 with SMTP id 40so7804300wyb.20 for ; Wed, 23 Mar 2011 04:24:21 -0700 (PDT) Received: by 10.216.46.193 with SMTP id r43mr3432807web.20.1300879461226; Wed, 23 Mar 2011 04:24:21 -0700 (PDT) Received: from richards-thinkpad (gbibp9ph1--blueice2n1.emea.ibm.com [195.212.29.75]) by mx.google.com with ESMTPS id h39sm3324352wes.29.2011.03.23.04.24.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2011 04:24:20 -0700 (PDT) From: Richard Sandiford To: "Joseph S. Myers" Mail-Followup-To: "Joseph S. Myers" ,gcc@gcc.gnu.org, java@gcc.gnu.org, hp@axis.com, hp@bitrange.com, richard.sandiford@linaro.org Cc: gcc@gcc.gnu.org, java@gcc.gnu.org, hp@axis.com, hp@bitrange.com Subject: Re: Target library disabling at toplevel References: Date: Wed, 23 Mar 2011 11:24:00 -0000 In-Reply-To: (Joseph S. Myers's message of "Tue, 22 Mar 2011 19:51:38 +0000 (UTC)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg00004.txt.bz2 "Joseph S. Myers" writes: > (And why (CC to maintainer) do some CRIS and MMIX targets list Fortran > in unsupported languages? I didn't think the Fortran libraries had > any porting issues, unlike Java and Go and Ada.) For the record, builds with mipsisa64-elf fail with: libgfortran/intrinsics/time_1.h:99:1: error: static declaration of =E2=80= =98localtime_r=E2=80=99 follows non-static declaration newlib/libc/include/time.h:61:12: note: previous declaration of =E2=80=98lo= caltime_r=E2=80=99 was here This is a long-standing problem. It got stalled a while ago because of a disagreement (in my eyes anyway) about how libgloss targets should be handled. We started down the path of using -T.ld, so that they could be treated like other targets. But I preferred (and still prefer) the idea of making libgfortran handle newlib in the same way as libstdc++, or disabling libgfortran if we don't care. I think Rask Ingemann Lambertsen also had a patch that used a config.cache-style approach. Richard