From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15485 invoked by alias); 5 Mar 2013 20:51:17 -0000 Received: (qmail 15438 invoked by uid 22791); 5 Mar 2013 20:51:16 -0000 X-SWARE-Spam-Status: No, hits=-8.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx4-phx2.redhat.com (HELO mx4-phx2.redhat.com) (209.132.183.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Mar 2013 20:50:53 +0000 Received: from zmail13.collab.prod.int.phx2.redhat.com (zmail13.collab.prod.int.phx2.redhat.com [10.5.83.15]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r25KoflM002103; Tue, 5 Mar 2013 15:50:41 -0500 Date: Tue, 05 Mar 2013 20:51:00 -0000 From: Jon VanAlten To: Matthias Klose Cc: GCJ-patches , distro-pkg-dev , Stefan Ring Message-ID: <1085496988.2894239.1362516641905.JavaMail.root@redhat.com> In-Reply-To: <513461DB.4000603@ubuntu.com> Subject: Re: icedtea6 fails to bootstrap on Fedora 17/18 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2013-q1/txt/msg00018.txt.bz2 ----- Original Message ----- > From: "Matthias Klose" > To: "Stefan Ring" > Cc: "GCJ-patches" , "distro-pkg-dev" > Sent: Monday, March 4, 2013 3:56:59 AM > Subject: Re: icedtea6 fails to bootstrap on Fedora 17/18 > > Am 03.03.2013 17:14, schrieb Stefan Ring: > > ecj is much more recent on Fedora apparently: > > > > Ubuntu quantal $ ecj -version: > > Eclipse Java Compiler 0.972_R35x, 3.5.1 release, Copyright IBM Corp > > 2000, 2009. All rights reserved. > > Fedora 17 $ ecj -version > > Eclipse Compiler for Java(TM) v20120814-155456, 3.8.2, Copyright > > IBM > > Corp 2000, 2012. All rights reserved. > > Debian and Ubuntu use the same sources to provide both ecj and ecj1. > ftp://sourceware.org/pub/java/ still has 3.5 as the latest version > available. > If Fedora ships an updated ecj1, then it would be nice to see this > "upstream" as > well. > > Matthias > > Hi, Fedora uses eclipse as upstream for ecj, not the source bundles at that ftp site. But, you've reminded me of something. The ecj package does add an alternative entry point (used by gcc/gcj). This comes from the sourceware.org:/cvs/rhug repository. I had to patch the newest[1] sources there a tiny bit due to ecj change: diff -u -r org/eclipse/jdt/internal/compiler/batch/GCCMain.java org/eclipse/jdt/internal/compiler/batch/GCCMain.java --- a/org/eclipse/jdt/internal/compiler/batch/GCCMain.java 2008-08-13 13:46:30.000000000 -0400 +++ b/org/eclipse/jdt/internal/compiler/batch/GCCMain.java 2012-04-26 13:36:21.268642702 -0400 @@ -29,6 +29,7 @@ import org.eclipse.jdt.internal.compiler.env.AccessRule; import org.eclipse.jdt.internal.compiler.env.AccessRuleSet; import org.eclipse.jdt.internal.compiler.impl.CompilerOptions; +import org.eclipse.jdt.internal.compiler.problem.ProblemSeverities; import org.eclipse.jdt.internal.compiler.util.Messages; import org.eclipse.jdt.internal.compiler.util.SuffixConstants; @@ -463,7 +464,7 @@ } if (inhibitAllWarnings) - disableWarnings(); + disableAll(ProblemSeverities.Warning); if (treatWarningsAsErrors) turnWarningsToErrors(); I really meant to follow up to upstream this, what is the right way to do that? (I am totally fine with someone committing this on my behalf, by the way, but in general I would like to know better if there is some mailing list where changes should go). thanks, jon [1] Either that, or my (admittedly lacking) cvs-foo failed me.