On 24/10/2013 4:17 PM, Raahul Kumar wrote:
Output of make --trace
... <humungous amount of unnecessary stuff deleted>
/usr/bin/mkdir -p /home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot (cd /home/rkumar/openjdk8/hotspot/make && /usr/bin/make -s VERBOSE="-s" LOG_LEVEL="warn" -R -I /home/rkumar/openjdk8/common/makefiles -j1 product docs export_product STATIC_CXX=true SPEC=/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot-spec.gmk BASE_SPEC=/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/spec.gmk) Makefile:167: target 'product' does not exist cd /home/rkumar/openjdk8/hotspot/make; \ /usr/bin/make -s VERBOSE="-s" LOG_LEVEL="warn" -R -I /home/rkumar/openjdk8/common/makefiles BUILD_DIR=/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/linux_amd64_compiler2 BUILD_FLAVOR=product VM_TARGET=product generic_build2 ALT_OUTPUTDIR=/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot Makefile:216: update target 'generic_build2' due to: /home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/linux_amd64_compiler2/product/hotspot mkdir -p /home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot cd /home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot; \ /usr/bin/make -s VERBOSE="-s" LOG_LEVEL="warn" -R -I /home/rkumar/openjdk8/common/makefiles -f /home/rkumar/openjdk8/hotspot/make/linux/Makefile \ LP64=1 BOOTDIR=/usr/lib/jvm/java-7-openjdk OUTPUTDIR=/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot GAMMADIR=/home/rkumar/openjdk8/hotspot MAKE_VERBOSE=y HOTSPOT_RELEASE_VERSION=25.0-b55 JRE_RELEASE_VERSION=1.8.0-internal-rkumar_2013_10_24_14_28-b00 HOTSPOT_BUILD_VERSION= product /home/rkumar/openjdk8/hotspot/make/linux/Makefile:289: update target 'product' due to: linux_amd64_compiler2/debug linux_amd64_compiler2/fastdebug linux_amd64_compiler2/optimized linux_amd64_compiler2/product cd linux_amd64_compiler2/product && /usr/bin/make -s VERBOSE="-s" LOG_LEVEL="warn" -R -I /home/rkumar/openjdk8/common/makefiles -rRs --trace " LP64=1 " /home/rkumar/openjdk8/hotspot/make/linux/makefiles/top.make:91: update target 'ad_stuff' due to: /home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/linux_amd64_compiler2/product/../generated/platform.current /home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/linux_amd64_compiler2/product/../generated/adjust-mflags /usr/bin/make -s VERBOSE="-s" LOG_LEVEL="warn" -R -I /home/rkumar/openjdk8/common/makefiles -f adlc.make -r `/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/linux_amd64_compiler2/product/../generated/adjust-mflags "-rRs -I/home/rkumar/openjdk8/common/makefiles -I/home/rkumar/openjdk8/common/makefiles -I/home/rkumar/openjdk8/common/makefiles -I/home/rkumar/openjdk8/common/makefiles -I/home/rkumar/openjdk8/common/makefiles --trace" "1"` /home/rkumar/openjdk8/hotspot/make/linux/makefiles/top.make:91: recipe for target 'ad_stuff' failed /home/rkumar/openjdk8/hotspot/make/linux/Makefile:289: recipe for target 'product' failed Makefile:216: recipe for target 'generic_build2' failed Makefile:167: recipe for target 'product' failed HotspotWrapper.gmk:44: recipe for target '/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp' failed /home/rkumar/openjdk8//common/makefiles/Main.gmk:108: recipe for target 'hotspot-only' failed
Weird - now it says it fails but the failure is not evident in the log. ??? Sorry nothing to go on here.
Question for other build folk: why on earth do we have this in the hotspot build commands: -I/home/rkumar/openjdk8/common/makefiles ??
David -----
On Thu, Oct 24, 2013 at 3:48 PM, David Holmes <david.hol...@oracle.com <mailto:david.hol...@oracle.com>> wrote: On 24/10/2013 3:40 PM, Raahul Kumar wrote: make all --debug No there is a LOG=trace setting you can add when running make (from the top-level build). This --debug doesn't show the command that was being attempted. Thanks, David GNU Make 4.0 Built for x86_64-unknown-linux-gnu Reading makefiles... Updating goal targets.... File 'all' does not exist. File 'images' does not exist. File 'source-tips' does not exist. File 'FRC' does not exist. Must remake target 'FRC'. Successfully remade target file 'FRC'. Prerequisite 'FRC' of target '/home/rkumar/openjdk8/build/__linux-x86_64-normal-server-__release/source_tips' does not exist. Must remake target '/home/rkumar/openjdk8/build/__linux-x86_64-normal-server-__release/source_tips'. Successfully remade target file '/home/rkumar/openjdk8/build/__linux-x86_64-normal-server-__release/source_tips'. Must remake target 'source-tips'. Successfully remade target file 'source-tips'. File 'demos' does not exist. File 'jdk' does not exist. File 'langtools' does not exist. File 'langtools-only' does not exist. File 'start-make' does not exist. Must remake target 'start-make'. Building OpenJDK for target 'all' in configuration 'linux-x86_64-normal-server-__release' Successfully remade target file 'start-make'. Must remake target 'langtools-only'. ## Starting langtools GNU Make 4.0 Built for x86_64-unknown-linux-gnu Reading makefiles... Updating goal targets.... File 'default' does not exist. File 'all' does not exist. Must remake target 'all'. Successfully remade target file 'all'. Must remake target 'default'. Successfully remade target file 'default'. ## Finished langtools (build time 00:00:01) Successfully remade target file 'langtools-only'. Must remake target 'langtools'. Successfully remade target file 'langtools'. File 'hotspot' does not exist. File 'hotspot-only' does not exist. Must remake target 'hotspot-only'. ## Starting hotspot GNU Make 4.0 Built for x86_64-unknown-linux-gnu Reading makefiles... Updating goal targets.... File 'default' does not exist. File 'all' does not exist. File 'hotspot' does not exist. File '/home/rkumar/openjdk8/build/__linux-x86_64-normal-server-__release/hotspot/_hotspot.__timestamp' does not exist. Must remake target '/home/rkumar/openjdk8/build/__linux-x86_64-normal-server-__release/hotspot/_hotspot.__timestamp'. GNU Make 4.0 Built for x86_64-unknown-linux-gnu Reading makefiles... Updating goal targets.... File 'product' does not exist. Must remake target 'product'. GNU Make 4.0 Built for x86_64-unknown-linux-gnu Reading makefiles... 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 Updating goal targets.... File 'generic_build2' does not exist. Must remake target 'generic_build2'. GNU Make 4.0 Built for x86_64-unknown-linux-gnu Copyright (C) 1988-2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.__html <http://gnu.org/licenses/gpl.html>> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... 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 Updating goal targets.... File 'product' does not exist. Must remake target 'product'. GNU Make 4.0 Built for x86_64-unknown-linux-gnu Copyright (C) 1988-2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.__html <http://gnu.org/licenses/gpl.html>> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Updating goal targets.... File 'default' does not exist. File 'vm_build_preliminaries' does not exist. File 'checks' does not exist. Must remake target 'checks'. Successfully remade target file 'checks'. File 'ad_stuff' does not exist. Must remake target 'ad_stuff'. /usr/bin/make: invalid option -- '8' /usr/bin/make: invalid option -- '/' /usr/bin/make: invalid option -- 'c' Usage: make [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY [Cut out majority of make cmdline options] Consider FILE to be infinitely new. This program built for x86_64-unknown-linux-gnu Report bugs to <bug-m...@gnu.org <mailto:bug-m...@gnu.org> <mailto:bug-m...@gnu.org <mailto:bug-m...@gnu.org>>> make[5]: *** [ad_stuff] Error 2 /home/rkumar/openjdk8/hotspot/__make/linux/makefiles/top.make:__91: recipe for target 'ad_stuff' failed /home/rkumar/openjdk8/hotspot/__make/linux/Makefile:289: recipe for target 'product' failed make[4]: *** [product] Error 2 Makefile:216: recipe for target 'generic_build2' failed make[3]: *** [generic_build2] Error 2 Makefile:167: recipe for target 'product' failed make[2]: *** [product] Error 2 HotspotWrapper.gmk:44: recipe for target '/home/rkumar/openjdk8/build/__linux-x86_64-normal-server-__release/hotspot/_hotspot.__timestamp' failed make[1]: *** [/home/rkumar/openjdk8/build/__linux-x86_64-normal-server-__release/hotspot/_hotspot.__timestamp] Error 2 /home/rkumar/openjdk8//common/__makefiles/Main.gmk:108: recipe for target 'hotspot-only' failed make: *** [hotspot-only] Error 2 On Thu, Oct 24, 2013 at 2:32 PM, David Holmes <david.hol...@oracle.com <mailto:david.hol...@oracle.com> <mailto:david.holmes@oracle.__com <mailto:david.hol...@oracle.com>>> wrote: Can you run with LOG=trace so we can see the actual commands used. Thanks, David On 24/10/2013 2:18 PM, Raahul Kumar wrote: I'm getting a different error message now. The Werror issue has been resolved, the bugfix worked. Creating sa.make ... /usr/bin/make: invalid option -- '8' /usr/bin/make: invalid option -- '/' /usr/bin/make: invalid option -- 'c' This program built for x86_64-unknown-linux-gnu Report bugs to <bug-m...@gnu.org <mailto:bug-m...@gnu.org> <mailto:bug-m...@gnu.org <mailto:bug-m...@gnu.org>>> make[5]: *** [ad_stuff] Error 2 make[4]: *** [product] Error 2 make[3]: *** [generic_build2] Error 2 make[2]: *** [product] Error 2 /home/rkumar/openjdk8/hotspot/____make/linux/makefiles/top.__make:__91: recipe for target 'ad_stuff' failed /home/rkumar/openjdk8/hotspot/____make/linux/Makefile:289: recipe for target 'product' failed Makefile:216: recipe for target 'generic_build2' failed Makefile:167: recipe for target 'product' failed HotspotWrapper.gmk:44: recipe for target '/home/rkumar/openjdk8/build/____linux-x86_64-normal-server-____release/hotspot/_hotspot.____timestamp' failed make[1]: *** [/home/rkumar/openjdk8/build/____linux-x86_64-normal-server-____release/hotspot/_hotspot.____timestamp] Error 2 /home/rkumar/openjdk8//common/____makefiles/Main.gmk:108: recipe for target 'hotspot-only' failed make: *** [hotspot-only] Error 2 Build Environment Configuration summary: * Debug level: release * JDK variant: normal * JVM variants: server * OpenJDK target: OS: linux, CPU architecture: x86, address length: 64 Tools summary: * Boot JDK: java version "1.7.0_45" OpenJDK Runtime Environment (IcedTea 2.4.3) (ArchLinux build 7.u45_2.4.3-1-x86_64) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) (at /usr/lib/jvm/java-7-openjdk) * C Compiler: gcc (GCC) version 4.8.2 (at /usr/bin/gcc) * C++ Compiler: g++ (GCC) version 4.8.2 (at /usr/bin/g++) Build performance summary: * Cores to use: 1 * Memory limit: 997 MB * ccache status: installed and in use On Thu, Oct 24, 2013 at 11:45 AM, Raahul Kumar <raahul.ku...@gmail.com <mailto:raahul.ku...@gmail.com> <mailto:raahul.ku...@gmail.com <mailto:raahul.ku...@gmail.com>__>>wrote: Forgot to mention I'm building on Linux. On Thu, Oct 24, 2013 at 11:44 AM, Raahul Kumar <raahul.ku...@gmail.com <mailto:raahul.ku...@gmail.com> <mailto:raahul.ku...@gmail.com <mailto:raahul.ku...@gmail.com>__>>wrote: Yes. I'm currently trying to build the jdk 8 and I will confirm in a few hours if your fix worked. You've left Werror flag intact, all you've done is just ignore missing param error msg. On Thu, Oct 24, 2013 at 9:40 AM, Weijun Wang <weijun.w...@oracle.com <mailto:weijun.w...@oracle.com> <mailto:weijun.w...@oracle.com <mailto:weijun.w...@oracle.com>__>>wrote: What platform are you building on? What exact error messages have you seen? It will be helpful if you provide these info. If it's SCTP on latest Linux, yes, there is a problem and we've just fixed it. Thanks Max On 10/7/13 8:22 PM, Raahul Kumar wrote: Gcc seems to have been configured with -Werror, because it halts on just error messages. How do I build OpenJDK8 currently?