Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 14:32:21 -0500
From:      Christopher Rued <c.rued@xsb.com>
To:        Munehiro Matsuda <haro@kgt.co.jp>
Cc:        c.rued@xsb.com, freebsd-java@FreeBSD.ORG
Subject:   Re: jdk13 and WITH_NATIVE_THREADS compile failing
Message-ID:  <15955.56261.257100.178858@ool-18bacefa.dyn.optonline.net>
In-Reply-To: <20030219.100619.74757450.haro@kgt.co.jp>
References:  <15952.14229.694213.246502@ool-18bacefa.dyn.optonline.net> <200302172220.25174.geneh@tetronsoftware.com> <15954.52401.64216.451980@ool-18bacefa.dyn.optonline.net> <20030219.100619.74757450.haro@kgt.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Munehiro Matsuda writes:
 > Last week, I posted a patch to java/jdk13 port to enable hostspot compilation.
 > See:
 > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=158575+0+archive/2003/freebsd-java/20030216.freebsd-java

Haro,

Thanks for the help.  I applied you patches, and eventually was able
to compile and install the native jdk131 with HotSpot.  However, I was
not able to run it -- when I run `java -version`, I get the following:

  Unexpected Signal : 4 occurred at PC=0x80ead8b
  Function name=(N/A)
  Library=(N/A)

  NOTE: We are unable to locate the function name symbol for the error
        just occurred. Please refer to release documentation for possible
        reason and solutions.
  Current Java thread:
  
  Error: Cannot print dynamic libraries. Function not implemented for FreeBSD
  
  Local Time = Wed Feb 19 14:21:20 2003
  Elapsed Time = -2147483648
  #
  # HotSpot Virtual Machine Error : 4
  # Error ID : /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/os.cpp, 716
  # Please report this error at
  # http://java.sun.com/cgi-bin/bugreport.cgi
  #
  # Java VM: Java HotSpot(TM) Core VM (1.3.1-internal-debug interpreted mode)
  #

Any idea as what is wrong, or how to diagnose the problem???

java_g -version causes the same sort of error.
java -classic -version causes a hang.

By the way, when I uncompressed your patches I noticed a lot of extra
^M characters (carriage returns) at the end of lines that didn't seem
to belong (they did not patch cleanly).  I don't know if this was in
your original patch, or if it has something to do with downloading the
attachment from the archives, but I thought I'd mention it.

Thanks again for you help.

--
Chris

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15955.56261.257100.178858>