Hi All,
I got a fresh clone of jdk9 workspace today and trying to configure for
build in my solaris 11.2 system. But it fails citing /*"configure:
error: Unable to find objcopy, cannot enable native debug symbols"
*/I had used the same system in the past with jdk9 sometime in Nov-Dec
and it built fine that time. Is there anything I need to setup more with
current jdk9 repo?
bash configure --enable-debug --disable-warnings-as-errors
Running custom generated-configure.sh
configure: Configuration created at Wed Mar 2 12:06:06 IST 2016.
configure: configure script generated at timestamp 1456260269.
checking for basename... /usr/bin/basename
checking for bash... /usr/bin/bash
checking for cat... /usr/bin/cat
checking for chmod... /usr/bin/chmod
checking for cmp... /usr/bin/cmp
checking for comm... /usr/bin/comm
checking for cp... /usr/bin/cp
checking for cut... /usr/bin/cut
checking for date... /usr/bin/date
checking for gdiff... /usr/bin/gdiff
checking for dirname... /usr/bin/dirname
checking for echo... /usr/bin/echo
checking for expr... /usr/bin/expr
checking for file... /usr/bin/file
checking for find... /usr/bin/find
checking for head... /usr/bin/head
checking for ln... /usr/bin/ln
checking for ls... /usr/bin/ls
checking for mkdir... /usr/bin/mkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /usr/bin/mv
checking for nawk... /usr/bin/nawk
checking for printf... /usr/bin/printf
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for sh... /usr/bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for uniq... /usr/bin/uniq
checking for wc... /usr/bin/wc
checking for which... /usr/bin/which
checking for xargs... /usr/bin/xargs
checking for gawk... gawk
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking for fgrep... /usr/bin/ggrep -F
checking for a sed that does not truncate output... /usr/bin/gsed
checking for cygpath... no
checking for greadlink... no
checking for readlink... /usr/bin/readlink
checking for df... /usr/bin/df
checking for cpio... /usr/bin/cpio
checking for nice... /usr/bin/nice
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking target system type... x86_64-pc-solaris2.11
checking openjdk-build os-cpu... solaris-x86_64
checking openjdk-target os-cpu... solaris-x86_64
checking compilation type... native
checking for top-level directory... /export/home/prasanta/jdk9/client
checking for presence of closed sources... yes
checking if closed source is suppressed (openjdk-only)... no
checking which variant of the JDK to build... normal
checking which interpreter of the JVM to build... template
checking which variants of the JVM to build... server
checking which debug level to use... fastdebug
checking for parfait... not enabled
checking for sysroot...
checking for toolchain path...
checking for extra path...
checking where to store configuration... in default location
checking what configuration name to use...
solaris-x86_64-normal-server-fastdebug
checking for apt-get... no
checking for yum... no
checking for port... no
checking for pkgutil... no
checking for pkgadd... pkgadd
checking for gmake... /usr/bin/gmake
configure: Testing potential make at /usr/bin/gmake, found using gmake
in PATH
configure: Using GNU make at /usr/bin/gmake (version: GNU Make 3.82)
checking if make --output-sync is supported... no
checking if find supports -delete... no
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for ldd... /usr/bin/ldd
checking for otool... no
checking for greadelf... no
checking for readelf... no
checking for hg... /usr/bin/hg
checking for stat... /usr/bin/stat
checking for time... /usr/bin/time
checking for gpatch... /usr/bin/gpatch
checking if bash supports pipefail... yes
checking if bash supports errexit (-e)... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking headful support... include support for both headful and headless
checking for version string...
9-internal+0-2016-03-02-120607.prasanta.client
checking for javac... /opt/jdk1.8.0_60/bin/javac
checking for java... /opt/jdk1.8.0_60/bin/java
configure: Found potential Boot JDK using java(c) in PATH
checking for Boot JDK... /opt/jdk1.8.0_60
checking Boot JDK version... java version "1.8.0_60" Java(TM) SE Runtime
Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM
(build 25.60-b23, mixed mode)
checking for java in Boot JDK... ok
checking for javac in Boot JDK... ok
checking for javah in Boot JDK... ok
checking for jar in Boot JDK... ok
checking for jarsigner in Boot JDK... ok
checking if Boot JDK is 32 or 64 bits... 64
configure: Using default toolchain solstudio (Oracle Solaris Studio)
checking for cc... /opt/solarisstudio12.4/bin/cc
checking resolved symbolic links for CC... no symlink
configure: Using solstudio C compiler version 5.13 [cc: Sun C 5.13
SunOS_i386 2014/10/20]
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether /opt/solarisstudio12.4/bin/cc accepts -g... yes
checking for /opt/solarisstudio12.4/bin/cc option to accept ISO C89...
none needed
checking for CC... /opt/solarisstudio12.4/bin/CC
checking resolved symbolic links for CXX... no symlink
configure: Using solstudio C++ compiler version 5.13 [CC: Sun C++ 5.13
SunOS_i386 2014/10/20]
checking whether we are using the GNU C++ compiler... no
checking whether /opt/solarisstudio12.4/bin/CC accepts -g... yes
checking how to run the C preprocessor... /opt/solarisstudio12.4/bin/cc -E
checking how to run the C++ preprocessor... /opt/solarisstudio12.4/bin/CC -E
checking for as... /usr/ccs/bin/as
checking for ar... ar
configure: Rewriting AR to "/usr/ccs/bin/ar"
checking for strip... /usr/ccs/bin/strip
checking for nm... /usr/ccs/bin/nm
checking for gnm... no
checking for gobjcopy... no
checking for objcopy... no
checking for gobjdump... no
checking for objdump... no
checking for jtreg... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking size of int *... 8
checking for target address size... 64 bits
checking whether byte ordering is bigendian... no
checking if compiler supports "-m64"... yes
checking if compiler supports "-m64"... yes
checking if native warnings are errors... no
checking what type of native debug symbols to use... zipped
configure: error: Unable to find objcopy, cannot enable native debug symbols
configure exiting with result code 1
Regards
Prasanta