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