I got the same thing on hotspot/src/cpu/amd64/vm/assembler_amd64.hpp and I
used a patch like described
here<http://www.jfrog.org/wiki/index.php/Fred:OpenJDK_Page>

Index: hotspot/src/cpu/amd64/vm/assembler_amd64.hpp
===================================================================
--- hotspot/src/cpu/amd64/vm/assembler_amd64.hpp        (revision 242)
+++ hotspot/src/cpu/amd64/vm/assembler_amd64.hpp        (working copy)
@@ -153,8 +153,8 @@
  RelocationHolder _rspec;

  // Easily misused constructors make them private
-  Address::Address(int disp, address loc, relocInfo::relocType rtype);
-  Address::Address(int disp, address loc, RelocationHolder spec);
+  Address(int disp, address loc, relocInfo::relocType rtype);
+  Address(int disp, address loc, RelocationHolder spec);

 public:
  // creation


I compiled, modified and used b13 with no problem, b14 had the gc_parallel
issue, and now b15 the Address issue.
I don't complain at all, I just want a place where we can share the patches
faster and easier. I think the OpenJDK should have an open Bug Database so
we can create entry with patches (my 2cts).

Now with b15 on my Ubuntu 7.04 64 bit Intel, I'm stuck with:
# Running javac:
/work/java.net/openjdk.orig/control/build/linux-amd64/bin/javac
-J-XX:ThreadStackSize=1536 -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m
-J-XX:MaxPermSize=160m -classpath
/work/java.net/openjdk.orig/control/build/linux-amd64/tmp/java/java.lang/library/newclasses:../../../../../src/share/classes
-bootclasspath
/work/java.net/openjdk.orig/control/build/linux-amd64/lib/jce.jar
-sourcepath
/work/java.net/openjdk.orig/control/build/linux-amd64/gensrc:../../../../../src/solaris/classes:../../../../../src/share/classes
-d
/work/java.net/openjdk.orig/control/build/linux-amd64/tmp/java/java.lang/library/newclasses
-encoding ascii -source 1.5 -target 5
@/work/java.net/openjdk.orig/control/build/linux-amd64/tmp/java/java.lang/.classes.list
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (relocInfo_amd64.cpp:67), pid=15028, tid=1077938496
#  Error: ShouldNotReachHere()
#
# Java VM: OpenJDK 64-Bit Server VM (
1.7.0-internal-freds_19_jul_2007_21_01-b00 mixed mode linux-amd64)
# An error report file with more information is saved as:
#
/work/java.net/openjdk.orig/j2se/make/sun/javac/recompile/library/hs_err_pid15028.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted (core dumped)
make[6]: *** [.compile.classlist] Error 134
make[6]: Leaving directory
`/work/java.net/openjdk.orig/j2se/make/sun/javac/recompile/library'

Anyone else got this. Any idea where I should look. The only modification to
the source base is the above patch.
Thanks in advance.

On 7/19/07, Peter B. Kessler <[EMAIL PROTECTED]> wrote:

We (cough) independently discovered the compilation problem with
assembler_i486.hpp and gcc4.1.2.  It's bug #6578344, e.g.,
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6578344
and I can see it's fixed in our code base, so it will be published
in the next drop.

                        ... peter

Ted Neward wrote:
> Yep, had it pointing to the Import JDK (1.6) instead of the binary plug
JDK
> (1.7). Thanks. There's a lot of JDKs needed to build the JDK. :-)
>
> By the way, in case those on this list haven't seen it, the build on
Intel
> machines won't work, as there's a compilation error in a source file, as
> reported on the hotspot-dev list on 7/9 by Sunil Soman. Patch:
>
> ####
>
> --- src/cpu/i486/vm/assembler_i486.hpp.old  2007-07-09
> 10:29:14.412986944 -0700
> +++ src/cpu/i486/vm/assembler_i486.hpp      2007-07-09
> 10:29:31.499389416 -0700
> @@ -158,7 +158,7 @@
>
>    // Easily misused constructor make them private  #ifndef _LP64
> -  Address::Address(address loc, RelocationHolder spec);
> +  Address(address loc, RelocationHolder spec);
>  #endif // _LP64
>
>   public:
>
> ####
>
> Peter Kessler reported it as already reported, a la
>
> http://mail.openjdk.java.net/pipermail/build-dev/2007-July/000098.html
>
> but no official bug had been filed, and there was some concern about
Sunil's
> contributor status or whatnot. Not sure what happened to it from there.
>
> Ted Neward
> Java, .NET, XML Services
> Consulting, Teaching, Speaking, Writing
> http://www.tedneward.com




--
http://freddy33.bglogspot.com/
http://www.jfrog.org/

Reply via email to