From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14794 invoked by alias); 17 Dec 2012 10:16:24 -0000 Received: (qmail 14773 invoked by uid 48); 17 Dec 2012 10:16:23 -0000 From: "mark at gcc dot gnu.org" To: java-prs@gcc.gnu.org Subject: [Bug libgcj/55716] [4.8 Regression] gjavah crashes Date: Mon, 17 Dec 2012 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcj X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2012-q4/txt/msg00015.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55716 --- Comment #2 from Mark Wielaard 2012-12-17 10:16:20 UTC --- Hmmm, it might be that it is picking up the wrong "bootclasspath" in this case. By default it tries to use System.getProperty("sun.boot.class.path") which I assume is set to file:/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/rt.jar in this case. Does it help to explicitly add it to the gjavah invocation like -bootclasspath ../../../libjava/classpath/lib ? It is a little strange if this (or maybe just -classpath ../../../libjava/classpath/lib) would work. I assume the directory on which you run --all is in the default classpath. And you seem to explicitly set the CLASSPATH environment variable (maybe that doesn't include all dirs/classes?)