From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14272 invoked by alias); 24 Jun 2013 16:48:54 -0000 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 Received: (qmail 14229 invoked by uid 89); 24 Jun 2013 16:48:49 -0000 X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_GC autolearn=ham version=3.3.1 Received: from mail-oa0-f51.google.com (HELO mail-oa0-f51.google.com) (209.85.219.51) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 24 Jun 2013 16:48:48 +0000 Received: by mail-oa0-f51.google.com with SMTP id i4so12077612oah.24 for ; Mon, 24 Jun 2013 09:48:47 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.196.1 with SMTP id ii1mr5835321obc.93.1372092527211; Mon, 24 Jun 2013 09:48:47 -0700 (PDT) Received: by 10.76.23.36 with HTTP; Mon, 24 Jun 2013 09:48:47 -0700 (PDT) In-Reply-To: References: Date: Mon, 24 Jun 2013 16:48:00 -0000 Message-ID: Subject: Re: Trouble building gcj 4.8.1 From: Mike Hearn To: GCC Java Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2013-06/txt/msg00009.txt.bz2 Another problem I noticed is that the class files in the source tree don't seem to match the java files. When was the last time someone actually ran --enable-java-maintainer-mode and checked in the results? For instance the class file for java.lang.String is lacking the Charset accepting c'tors, but the Java file has them?? On Mon, Jun 24, 2013 at 3:21 PM, Mike Hearn wrote: > Hi there, > > I am trying to compile GCJ 4.8.1 with --enable-java-maintainer-mode > (as classpath has holes in it I need to fix for my codebase to > compile). > > Unfortunately this does not work and I'm unsure why. I have ecj.jar in > the source tree. > > ~/gcc-build$ ../gcc-4.8.1/configure > --prefix=/usr/local/google/home/hearn/gcc-install > --enable-languages=java --disable-bootstrap > --enable-java-maintainer-mode > > ... results in the classpath configure script failing: > > configure:24065: /usr/local/google/home/hearn/gcc-build/./gcc/gcj > -B/usr/local/google/home/hearn/gcc-build/x86_64-unknown-linux-gnu/32/libjava/ > -B/usr/local/google/home/hearn/gcc-build/x86_64-unknown-linux-gnu/32/libjava/ > -B/usr/local/google/home/hearn/gcc-build/./gcc/ > -B/usr/local/google/home/hearn/gcc-install/x86_64-unknown-linux-gnu/bin/ > -B/usr/local/google/home/hearn/gcc-install/x86_64-unknown-linux-gnu/lib/ > -isystem /usr/local/google/home/hearn/gcc-install/x86_64-unknown-linux-gnu/include > -isystem /usr/local/google/home/hearn/gcc-install/x86_64-unknown-linux-gnu/sys-include > -m32 -C -g -fsource=1.5 -ftarget=1.5 Object.java > Unrecognized option : > -fbootclasspath=./:/usr/local/google/home/hearn/gcc-install/share/java/libgcj-4.8.1.jar > > Why would GCJ be unable to recognize the -fbootclasspath option? This > seems an obscure failure.