What is the status of Zero on OpenJDK 7
Michael Franz
mvfranz at gmail.com
Tue Nov 10 15:24:43 PST 2009
On Sun, Nov 8, 2009 at 6:55 PM, Michael Franz <mvfranz at gmail.com> wrote:
> So, I should be able to build on Fedora 11? I am currently getting errors
> when NOT use bsd.
>
> g++ -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DPPC -DZERO_LIBARCH=\"ppc\"
> -DPRODUCT -I. -I../generated/adfiles -I../generated/jvmtifiles
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/asm
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/c1
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/ci
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/classfile
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/code
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/compiler
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/gc_implementation
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/gc_implementation/g1
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/gc_implementation/parNew
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/gc_implementation/parallelScavenge
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/gc_implementation/shared
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/gc_interface
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/interpreter
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/memory
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/oops
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/prims
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/runtime
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/services
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/shark
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/utilities
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/cpu/zero/vm
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/os/linux/vm
> -I/home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm
> -I../generated -DHOTSPOT_RELEASE_VERSION="\"17.0-b04\""
> -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"mfranz\""
> -DHOTSPOT_LIB_ARCH=\"ppc\" -DJRE_RELEASE_VERSION="\"1.7.0_0-b75\""
> -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDISTRIBUTION_ID="\"Built on Fedora
> release 11 (Leonidas)\"" -DSHARK -I/usr/lib/libffi-3.0.5/include
> -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
> -D__STDC_CONSTANT_MACROS -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fPIC
> -DSHARK_LLVM_VERSION=25 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT
> -fcheck-new -m32 -pipe -g -O3 -fno-strict-aliasing -D_LP64=1 -Werror
> -Wpointer-arith -Wsign-compare -c -x c++-header -c
> ../generated/incls/_precompiled.incl -o incls/_precompiled.incl.gch
> In file included from ../generated/incls/_precompiled.incl:52:
> /home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/oops/klassVtable.hpp:234:1:
> error: multi-line comment
> /home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/oops/klassVtable.hpp:237:1:
> error: multi-line comment
> /home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/oops/klassVtable.hpp:240:1:
> error: multi-line comment
> /home/mfranz/icedtea/icedtea/openjdk-boot/hotspot/src/share/vm/oops/klassVtable.hpp:243:1:
> error: multi-line comment
>
> I was able to get past this by upgrading to llvm 2.6 (Fedora 11 as 2.5). I
see post referencing llvm 2.7. Is this going to be the required version
soon?
I am building on a G4 which is 32 bits, but _LP64=1 is being defined. This
is causing problems as jlong is being defined incorrectly (long instead of
long long). How do I unset _LP64?
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20091110/44cf953e/attachment.html
More information about the distro-pkg-dev
mailing list