Jdk8 Build Failures in Solaris

Martijn Verburg martijnverburg at gmail.com
Tue Nov 20 08:01:49 UTC 2012


Hi Dan,

I can't help with the first two, but the 3rd item you can simply run:

bash ../autoconf/configure

Assuming bash is installed etc

Cheers,
Martijn

On 20 November 2012 06:48, Dan Xu <dan.xu at oracle.com> wrote:

> Hi,
>
> Today I tried to build jdk8 in Solaris, but I got several different errors.
>
> 1) The first error message I got is "make: Fatal error in reader:
> Makefile, line 30: Unexpected end of line seen".
> I tried to change my shell from C shell to Bash. And it seems that I
> solved it in one of my Solaris environment. But it still exists in another
> Solaris machine.
>
> 2) Build failed with the error "CC not found". But actually, "make sanity"
> command passed.
>
> /bin/sh: CC: not found
> WARNING: You are using CC version and should be using version 5.10.
> Set ENFORCE_COMPILER_REV= to avoid this warning.
> WARNING: You are using cc version and should be using version 5.10.
> Set ENFORCE_CC_COMPILER_REV= to avoid this warning.
> make[6]: Entering directory `/home/danxu/Java/jdk8tl/**
> build/solaris-sparc/hotspot/**outputdir/solaris_sparc_**compiler2/product'
> Compiling /home/danxu/Java/jdk8tl/**hotspot/src/share/vm/adlc/**
> adlparse.cpp
> rm -f ../generated/adfiles/adlparse.**o
> CC -DSOLARIS -DSPARC_WORKS -DSPARC -I/home/danxu/Java/jdk8tl/**hotspot/src/share/vm/prims
> -I/home/danxu/Java/jdk8tl/**hotspot/src/share/vm
> -I/home/danxu/Java/jdk8tl/**hotspot/src/share/vm/**precompiled
> -I/home/danxu/Java/jdk8tl/**hotspot/src/cpu/sparc/vm
> -I/home/danxu/Java/jdk8tl/**hotspot/src/os_cpu/solaris_**sparc/vm
> -I/home/danxu/Java/jdk8tl/**hotspot/src/os/solaris/vm
> -I/home/danxu/Java/jdk8tl/**hotspot/src/os/posix/vm
> -I/home/danxu/Java/jdk8tl/**hotspot/src/share/vm/adlc -I../generated
> -DASSERT -DTARGET_OS_FAMILY_solaris -DTARGET_ARCH_sparc
> -DTARGET_ARCH_MODEL_sparc -DTARGET_OS_ARCH_solaris_sparc
> -DTARGET_OS_ARCH_MODEL_**solaris_sparc -DTARGET_COMPILER_sparcWorks
> -DCOMPILER2 -DCOMPILER1 -DDONT_USE_PRECOMPILED_HEADER -D_REENTRANT
> -library=Cstd -g -xwe -g -c -o ../generated/adfiles/adlparse.**o
> /home/danxu/Java/jdk8tl/**hotspot/src/share/vm/adlc/**adlparse.cpp
> make[6]: CC: Command not found
> make[6]: *** [../generated/adfiles/**adlparse.o] Error 127
>
> 3) I also tried to run the new build.But I got the following error message
> after "sh ../autoconf/configure" command.
> This script needs bash to run.
> It is recommended to use the configure script in the source tree root
> instead.
>
> Can anyone help my build
>
>



More information about the build-dev mailing list