From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10911 invoked by alias); 18 Nov 2010 15:23:56 -0000 Received: (qmail 10876 invoked by uid 22791); 18 Nov 2010 15:23:54 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_IB,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Nov 2010 15:23:48 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAIFNbrU028042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Nov 2010 10:23:37 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oAIFNak6003895; Thu, 18 Nov 2010 10:23:37 -0500 Received: from [10.3.113.40] (ovpn-113-40.phx2.redhat.com [10.3.113.40]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id oAIFNYFu030246; Thu, 18 Nov 2010 10:23:35 -0500 Message-ID: <4CE544F6.4030802@redhat.com> Date: Thu, 18 Nov 2010 15:23:00 -0000 From: Jeff Law User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.6 MIME-Version: 1.0 To: Mark Mitchell CC: Ian Lance Taylor , gcc@gcc.gnu.org, java@gcc.gnu.org, gcc-patches@gcc.gnu.org, java-patches@gcc.gnu.org Subject: Re: PATCH RFA: Do not build java by default References: <4CE4F09F.7010605@codesourcery.com> In-Reply-To: <4CE4F09F.7010605@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2010-11/txt/msg00032.txt.bz2 On 11/18/10 02:23, Mark Mitchell wrote: > On 11/11/2010 3:20 PM, Ian Lance Taylor wrote: >> On Sun, Oct 31, 2010 at 12:09 PM, Ian Lance Taylor wrote: >>> Currently we build the Java frontend and libjava by default. At the GCC >>> Summit we raised the question of whether should turn this off, thus only >>> building it when java is explicitly selected at configure time with >>> --enable-languages. Among the people at the summit, there was general >>> support for this, and nobody was opposed to it. >> I count 33 messages on the topic and it is clear that there is no >> consensus. I am withdrawing this proposed patch. > [ ... ] > > The bottom line is that libjava takes a very long time to build and that > the marginal benefit is out of proportion to the cost. Building > zillions of Java class files cannot be the best way to test non-call > exceptions. If we have no tests for non-call exceptions in the C/C++ > testsuite, perhaps you (Ian) could write a few in C++? To put this in perspective, eliminating java cuts my build cycle time by more than 50%. > I think that it should still be the case that if you break Java, and one > of the Java testers catches you, you still have an obligation to fix the > problem. All we're changing is whether you build Java by default; > nothing else. Agreed. I'd really like to see java removed from the default languages; I just don't see the cost vs benefit justifies keeping java in the default languages. Jeff