Building OpenJDK 6 on Solaris sparc

John Coomes John.Coomes at oracle.com
Tue Jun 26 21:17:44 UTC 2012


Weiqi Gao (weiqigao at gmail.com) wrote:
> 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
> ...
> cg: assertion failed in file ../src/sparc/block_edges.cc at line 581
> cg: block_edges.accumulate_successors: bad state
> cg: 1 errors

Hi,

That's a bug in the compiler backend.  Make sure you have applied the
patches listed in the README-builds.html file:

http://hg.openjdk.java.net/jdk7/jdk7/raw-file/dada8003df87/README-builds.html#studio

-John



More information about the build-dev mailing list