public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Ronis <ronis@ronispc.chem.mcgill.ca>
To: Andrew Haley <aph@redhat.com>
Cc: GCC <java@gcc.gnu.org>
Subject: Re: Bootstrap failure in 4.4.1
Date: Thu, 23 Jul 2009 16:31:00 -0000	[thread overview]
Message-ID: <1248366663.14628.14.camel@ronispc.chem.mcgill.ca> (raw)
In-Reply-To: <4A688DD9.200@redhat.com>

gjar is in /usr/bin, and gives:

gjar --version
jar (GNU Classpath) 0.98

Isn't this built as part of gcc?  It has a similar timestamp as my
installed 4.4.0 gcc.  Finally, shouldn't a bootstrap build use its own
gjar?  One seems to have been built:

find -name gjar -ls
3503030    4 -rwxr-xr-x   1 ronis    ronis        2048 Jul 22
23:57 ./i686-pc-linux-gnu/libjava/classpath/tools/gjar

On the other hand, trying to run this version gives:

 ./gjar --version
./gjar: line 48: /usr/share/classpath/tools.zip: No such file or
directory
./gjar: line 48: exec: /usr/share/classpath/tools.zip: cannot execute:
No such file or directory

(In fact, there is no /usr/share/classpath directory).

David

On Thu, 2009-07-23 at 18:20 +0200, Andrew Haley wrote:
> On 07/23/2009 06:17 PM, David Ronis wrote:
> > I was building gcc-4.4.1 on an i686-linux-gnu slackware-12.2 box with
> > the default optimization flags.  I'd last built/installed 4.4.0.  The
> > current build dies at:
> 
> > here=`pwd`; cd ../../../gcc/libjava/classpath/lib; \
> > 	find gnu java javax org sun -name .svn -prune -o -name '*.class' -print
> > | \
> > 	gjar -cfM@ $here/libgcj-4.4.1.jar
> > jar: internal error:
> > java.lang.NullPointerException
> >    at
> > gnu.classpath.tools.jar.Creator.writeCommandLineEntries(libgcj-tools.so.10)
> >    at gnu.classpath.tools.jar.Creator.run(libgcj-tools.so.10)
> >    at gnu.classpath.tools.jar.Main.run(libgcj-tools.so.10)
> >    at gnu.classpath.tools.jar.Main.main(libgcj-tools.so.10)
> 
> OK, so the gjar in your path is hosed.  Find it, and get back to use,
> and we can try to debug it.
> 
> Andrew.
> 

  reply	other threads:[~2009-07-23 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1248365867.14628.7.camel@ronispc.chem.mcgill.ca>
2009-07-23 16:20 ` Andrew Haley
2009-07-23 16:31   ` David Ronis [this message]
2009-07-24  8:41     ` Andrew Haley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1248366663.14628.14.camel@ronispc.chem.mcgill.ca \
    --to=ronis@ronispc.chem.mcgill.ca \
    --cc=aph@redhat.com \
    --cc=java@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).