Building OpenJDK 6 on Solaris sparc
Weiqi Gao
weiqigao at gmail.com
Tue Jun 26 19:22:14 UTC 2012
Hi,
I'm trying to build OpenJDK 6 and OpenJDK 7 on a variety of machines.
I have encountered the following error while building OpenJDK 7
(http://hg.openjdk.java.net/jdk7/jdk7) on Solaris sparc (SunOS cicada2
5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000). I'm using
the suncc5.10 compiler and the lasted jdk1.6.0_32 from Oracle as the
bootstrap JDK.
I'm not sure what's the cause of this problem. Can anyone shed some
light on it?
rm -f copy.o
CC -DSOLARIS -DSPARC_WORKS -DSPARC -DPRODUCT -xF
-I/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/hotspot/src/share/vm/prims
-I/home/gaow/pro
jects1/openjdk-builds/solaris-sparc/openjdk7/hotspot/src/share/vm
-I/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/hotspot/src/cpu/sparc/vm
-
I/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm
-I/home/gaow/projects1/openjdk-builds/solaris-sparc/openj
dk7/hotspot/src/os/solaris/vm
-I/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/hotspot/src/os/posix/vm
-I../generated -DHOTSPOT_RELEASE_VERSI
ON="\"21.0-b17\"" -DHOTSPOT_BUILD_TARGET="\"product\""
-DHOTSPOT_BUILD_USER="\"gaow\"" -DHOTSPOT_LIB_ARCH=\"sparc\"
-DJRE_RELEASE_VERSION="\"1.7.0-intern
al-gaow_2012_06_26_13_04-b00\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\""
-DTARGET_OS_FAMILY_solaris -DTARGET_ARCH_sparc
-DTARGET_ARCH_MODEL_sparc -DTARGET_OS_AR
CH_solaris_sparc -DTARGET_OS_ARCH_MODEL_solaris_sparc
-DTARGET_COMPILER_sparcWorks -DCOMPILER2 -DCOMPILER1
-DDONT_USE_PRECOMPILED_HEADER -xmemalign=4s -m
32 -xarch=sparc
/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/solaris_sparc.il
-template=no%extdef -feat
ures=no%split_init -D_Crun_inline_placement -library=%none -KPIC -mt
-xdebugformat=stabs -xO4 -features=no%except -DHAVE_DTRACE_H
-DDTRACE_ENABLED -
c -xMMD -xMF ../generated/dependencies/copy.o.d -o copy.o
/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/hotspot/src/share/vm/utilities/copy.
cpp
cg: assertion failed in file ../src/sparc/block_edges.cc at line 581
cg: block_edges.accumulate_successors: bad state
cg: 1 errors
make[6]: *** [copy.o] Error 1
make[6]: Leaving directory
`/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/build/solaris-sparc/hotspot/outputdir/solaris_sparc_compiler2/prod
uct'
make[5]: *** [the_vm] Error 2
make[5]: Leaving directory
`/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/build/solaris-sparc/hotspot/outputdir/solaris_sparc_compiler2/prod
uct'
make[4]: *** [product] Error 2
make[4]: Leaving directory
`/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/build/solaris-sparc/hotspot/outputdir'
make[3]: *** [generic_build2] Error 2
make[3]: Leaving directory
`/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/hotspot/make'
make[2]: *** [product] Error 2
make[2]: Leaving directory
`/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7/hotspot/make'
make[1]: *** [hotspot-build] Error 2
make[1]: Leaving directory
`/home/gaow/projects1/openjdk-builds/solaris-sparc/openjdk7'
make: *** [build_product_image] Error 2
--
Weiqi Gao (高为奇)
weiqigao at gmail.com
http://www.weiqigao.com/blog/
More information about the build-dev
mailing list