hg: mlvm/mlvm/hotspot: meth: builds on x86/64, sparc - partial-fixes.patch (1/1)
Nicholas Riley
njriley at uiuc.edu
Sat Aug 30 09:05:17 PDT 2008
In article <20080830094839.B8B9EDF8E at hg.openjdk.java.net>,
john.rose at sun.com wrote:
> Changeset: cd9dcdc11080
> Author: jrose
> Date: 2008-08-30 02:47 -0700
> URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/cd9dcdc11080
>
> meth: builds on x86/64, sparc
>
> ! meth.patch
I'm guessing this has only been tested on Solaris/Sun Studio? I tried
building with GCC 3.4 and 4.1 on Linux and ran into this error with
meth.patch applied:
g++4 -DLINUX -D_GNU_SOURCE -DIA32 -DPRODUCT -I. -I../generated/adfiles
-I../generated/jvmtifiles -I.../jdk7/hotspot/src/share/vm/asm
-I.../jdk7/hotspot/src/share/vm/c1 -I.../jdk7/hotspot/src/share/vm/ci
-I.../jdk7/hotspot/src/share/vm/classfile
-I.../jdk7/hotspot/src/share/vm/code
-I.../jdk7/hotspot/src/share/vm/compiler
-I.../jdk7/hotspot/src/share/vm/gc_implementation
-I.../jdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge
-I.../jdk7/hotspot/src/share/vm/gc_implementation/parNew
-I.../jdk7/hotspot/src/share/vm/gc_implementation/shared
-I.../jdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep
-I.../jdk7/hotspot/src/share/vm/gc_interface
-I.../jdk7/hotspot/src/share/vm/interpreter
-I.../jdk7/hotspot/src/share/vm/libadt
-I.../jdk7/hotspot/src/share/vm/memory
-I.../jdk7/hotspot/src/share/vm/oops
-I.../jdk7/hotspot/src/share/vm/opto
-I.../jdk7/hotspot/src/share/vm/prims
-I.../jdk7/hotspot/src/share/vm/runtime
-I.../jdk7/hotspot/src/share/vm/services
-I.../jdk7/hotspot/src/share/vm/utilities
-I.../jdk7/hotspot/src/cpu/x86/vm -I.../jdk7/hotspot/src/os/linux/vm
-I.../jdk7/hotspot/src/os_cpu/linux_x86/vm -I../generated
-DHOTSPOT_RELEASE_VERSION="\"14.0-b03\""
-DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"njriley\""
-DHOTSPOT_LIB_ARCH=\"i386\"
-DJRE_RELEASE_VERSION="\"1.7.0-internal-njriley_2008_08_30_10_18-b00\""
-DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -DCOMPILER1 -fno-rtti
-fno-exceptions -D_REENTRANT -fcheck-new -m32 -march=i586 -pipe -O3
-fno-strict-aliasing -DVM_LITTLE_ENDIAN -Werror -Wpointer-arith
-Wconversion -Wsign-compare -c -o constantPoolKlass.o
.../jdk7/hotspot/src/share/vm/oops/constantPoolKlass.cpp
.../jdk7/hotspot/src/share/vm/gc_implementation/parNew/parOopClosures.inl
ine.hpp: In member function 'void ParScanClosure::par_do_barrier(T*)':
.../jdk7/hotspot/src/share/vm/gc_implementation/parNew/parOopClosures.inl
ine.hpp:56: error: invalid use of undefined type 'struct CardTableRS'
.../jdk7/hotspot/src/share/vm/memory/genOopClosures.hpp:27: error:
forward declaration of 'struct CardTableRS'
I got a bit lost with the header file generation so I wasn't sure how to
fix it. (It seems Sun Studio isn't a supported compiler for OpenJDK on
Linux as the build process tries to run cc with flags it doesn't
understand.)
A couple of minor fixes for GCC compatibility are attached.
--
Nicholas Riley <njriley at uiuc.edu>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: partial-fixes.patch
Url: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20080830/fb729c90/attachment.ksh
More information about the mlvm-dev
mailing list