build openjdk8 on ubuntu18.04.1
Zonghai Shang
yiji at apache.org
Thu Oct 25 04:06:20 UTC 2018
Hi
Building OpenJDK for target 'all' in configuration
'linux-x86_64-normal-server-fastdebug'
## Starting langtools
Compiling 2 files for BUILD_TOOLS
Compiling 32 properties into resource bundles
Compiling 782 files for BUILD_BOOTSTRAP_LANGTOOLS
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Creating langtools/dist/bootstrap/lib/javac.jar
Updating langtools/dist/lib/src.zip
Compiling 785 files for BUILD_FULL_JAVAC
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Creating langtools/dist/lib/classes.jar
## Finished langtools (build time 00:00:31)
## Starting hotspot
make[2]: warning: -jN forced in submake: disabling jobserver mode.
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
Creating Makefile ...
Creating directory list ../shared_dirs.lst
Creating flags.make ...
Creating flags_vm.make ...
Creating vm.make ...
Creating adlc.make ...
Creating jvmti.make ...
Creating trace.make ...
Creating sa.make ...
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
Creating Makefile ...
Creating flags.make ...
Creating flags_vm.make ...
Creating vm.make ...
Creating adlc.make ...
Creating jvmti.make ...
Creating trace.make ...
Creating sa.make ...
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
Creating Makefile ...
Creating flags.make ...
Creating flags_vm.make ...
Creating vm.make ...
Creating adlc.make ...
Creating jvmti.make ...
Creating trace.make ...
Creating sa.make ...
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
Creating Makefile ...
Creating flags.make ...
Creating flags_vm.make ...
Creating vm.make ...
Creating adlc.make ...
Creating jvmti.make ...
Creating trace.make ...
Creating sa.make ...
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/archDesc.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/adlparse.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/arena.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/dfa.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/dict2.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/filebuff.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/forms.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/formsopt.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/formssel.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/main.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/opto/opcodes.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/output_c.cpp
Compiling /home/yiji/jvm/jdk8u/hotspot/src/share/vm/adlc/output_h.cpp
Making adlc
warning: [options] bootstrap class path not set in conjunction with -source
1.6
warning: [options] bootstrap class path not set in conjunction with -source
1.6
1 warning
Generating
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/jvmtifiles/jvmtiEnv.hpp
Generating
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/jvmtifiles/jvmtiEnter.cpp
1 warning
Generating
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/jvmtifiles/jvmtiEnterTrace.cpp
Generating
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/jvmtifiles/jvmtiEnvRecommended.cpp
Generating
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/jvmtifiles/bytecodeInterpreterWithChecks.cpp
Generating
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/jvmtifiles/jvmti.h
Generating
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/tracefiles/traceEventClasses.hpp
Generating
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/tracefiles/traceEventIds.hpp
Generating
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/tracefiles/traceTypes.hpp
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
Making
/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug/../generated/sa-jdi.jar
warning: [options] bootstrap class path not set in conjunction with -source
1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
Generating precompiled header precompiled.hpp.gch
g++: error: yes: No such file or directory
/home/yiji/jvm/jdk8u/hotspot/make/linux/makefiles/vm.make:309: recipe for
target 'precompiled.hpp.gch' failed
make[6]: *** [precompiled.hpp.gch] Error 1
/home/yiji/jvm/jdk8u/hotspot/make/linux/makefiles/top.make:119: recipe for
target 'the_vm' failed
make[5]: *** [the_vm] Error 2
/home/yiji/jvm/jdk8u/hotspot/make/linux/Makefile:297: recipe for target
'fastdebug' failed
make[4]: *** [fastdebug] Error 2
make[3]: *** [generic_build2] Error 2
Makefile:230: recipe for target 'generic_build2' failed
Makefile:177: recipe for target 'fastdebug' failed
make[2]: *** [fastdebug] Error 2
HotspotWrapper.gmk:44: recipe for target
'/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/_hotspot.timestamp'
failed
make[1]: ***
[/home/yiji/jvm/jdk8u/build/linux-x86_64-normal-server-fastdebug/hotspot/_hotspot.timestamp]
Error 2
/home/yiji/jvm/jdk8u//make/Main.gmk:109: recipe for target 'hotspot-only'
failed
make: *** [hotspot-only] Error 2
I am getting an error when compiling openjdk8 in ubuntu18.04.1:
Generating precompiled header precompiled.hpp.gch
g++: error: yes: No such file or directory
/home/yiji/jvm/jdk8u/hotspot/make/linux/makefiles/vm.make:309: recipe for
target 'precompiled.hpp.gch’ failed
How can I solve it? thanks.
yiji
More information about the build-dev
mailing list