Ubuntu14.04(64bit)下编译openjdk-7-jdk

前端之家收集整理的这篇文章主要介绍了Ubuntu14.04(64bit)下编译openjdk-7-jdk前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
http://www.tuicool.com/articles/bE3umm7 https://zhuanlan.zhihu.com/p/23478436?utm_source=tuicool&utm_medium=referral Ubuntu14.04(64bit)下编译OpenJDK 2017/5/13 9:25 本文记录了在Ubuntu14.04(64bit)下编译OpenJDK7的全过程,期间踩了数次坑,记录在此,希望可以帮助到由相关需求的同学。 为什么要编译OpenJDK 对于想要窥探JDK内部实现机制的同学,最好的方法之一便是编译一套自己的JDK,通过跟踪调试JDK源码来理解JDK的运作原理。而开源JDK中最合适的选择便是OpenJDK。 对于要编译全志平台的android6.0(AndroidM)版本的同学来说,安装openjdk-7-jdk是必须,openjdk-8-jdk是不行的。 本来想找到DEB自行安装,但是错误越来越多了,不搞了,直接源码编译吧。(曾经有编译安装Samba的经验) 编译环境 Ubuntu 14.04 x86_64 下载OpenJDK源码及JDK 这里直接下载官方打包好的源码,下载地址在这里:OpenJDK 7 Updates Project Source Releases。我下载的源码版本是openjdk-7u6-fcs-src-b24-28,大家可以直接从这里下载:OpenJDK源码。同时我们还需要一个JDK用于源码编译,这里我使用的是Oracle JDK6,大家可以从官网下载,或是从这里:Oracle JDK6。接下来,让我们来安装所需依赖。 jdk-6u45-linux-x64.bin比较难下载了,可以通过网盘搜索,找到别人的共享吧!^_ OpenJDK 7 Updates Project Source Releases http://jdk.java.net/ http://jdk.java.net/java-se-ri/7 http://download.java.net/openjdk/jdk7u75/ri/openjdk-7u75-b13-linux-x64-18_dec_2014.tar.gz http://www.cnblogs.com/myresearch/p/build-openjdk7.html CentOS6.5上编译OpenJDK7源码 下载源码openjdk-7u6-fcs-src-b24-28_aug_2012.zip,解压,下载地址如下: http://www.java.net/download/openjdk/jdk7u6/promoted/b24/openjdk-7u6-fcs-src-b24-28_aug_2012.zip http://openjdk.java.net/install/ How to download and install prebuilt OpenJDK packages JDK 7 Debian,Ubuntu,etc. On the command line,type: $ sudo apt-get install openjdk-7-jre The openjdk-7-jre package contains just the Java Runtime Environment. If you want to develop Java programs then install the openjdk-7-jdk package. sudo apt-get install openjdk-7-jdk 安装依赖 安装依赖的过程很简单,只需要下面这一条命令: sudo apt-get install build-essential gawk m4 libasound2-dev sudo apt-get install libcups2-dev libxrender-dev xorg-dev xutils-dev x11proto-print-dev sudo apt-get install libcups2-dev sudo apt-get install libxrender-dev sudo apt-get install xorg-dev sudo apt-get install xutils-dev sudo apt-get install x11proto-print-dev sudo apt-get install binutils libmotif3 libmotif-dev ant 安装JDK: 3、安装JDK1.6:jdk-6u45-linux-x64.bin (1) 安装JDK1.6,使用如下命令 sudo chmod u+x jdk-6u45-linux-x64.bin sudo cp -a jdk-6u45-linux-x64.bin /opt sudo /opt/jdk-6u45-linux-x64.bin sudo rm -f /opt/jdk-6u45-linux-x64.bin (2) 设置JDK环境变量,在HOME根目录下按键盘Crtr+H显示HOME目录下所有文件,打开.bashrc,在最后加入以下代码 #set java environment export JAVA_HOME=/opt/jdk1.6.0_45 export JRE_HOME=$JAVA_HOME/jre export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JRE_HOME/lib export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin (3) 测试JDK是否安装成功,使用命令java -version 如果显示(需要注销,或者重启ubuntu系统) cm@cm-System-Product-Name:~$ java -version java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01,mixed mode) cm@cm-System-Product-Name:~$ 则JDK安装成功。 cm@cm-System-Product-Name:~$ sudo cp jdk-6u45-linux-x64.bin /opt/ cm@cm-System-Product-Name:~$ cd /opt/ cm@cm-System-Product-Name:/opt$ ll 总用量 70412 drwxr-xr-x 3 root root 4096 8月 10 14:17 ./ drwxr-xr-x 25 root root 4096 8月 10 14:12 ../ drwxr-xr-x 3 root root 4096 8月 10 11:32 extras.ubuntu.com/ -rw-r--r-- 1 root root 72087592 8月 10 14:17 jdk-6u45-linux-x64.bin cm@cm-System-Product-Name:/opt$ cm@cm-System-Product-Name:/opt$ cm@cm-System-Product-Name:/opt$ cm@cm-System-Product-Name:/opt$ cm@cm-System-Product-Name:/opt$ sudo chmod 777 jdk-6u45-linux-x64.bin cm@cm-System-Product-Name:/opt$ cm@cm-System-Product-Name:/opt$ ll 总用量 70412 drwxr-xr-x 3 root root 4096 8月 10 14:17 ./ drwxr-xr-x 25 root root 4096 8月 10 14:12 ../ drwxr-xr-x 3 root root 4096 8月 10 11:32 extras.ubuntu.com/ -rwxrwxrwx 1 root root 72087592 8月 10 14:17 jdk-6u45-linux-x64.bin* cm@cm-System-Product-Name:/opt$ cm@cm-System-Product-Name:/opt$ cm@cm-System-Product-Name:/opt$ sudo ./jdk-6u45-linux-x64.bin rootroot@rootroot-virtual-machine:/opt$ cd ~/wyb/ rootroot@rootroot-virtual-machine:~/wyb$ ll 总用量 194400 drwx------ 2 rootroot rootroot 4096 5月 13 10:01 ./ drwxr-xr-x 20 rootroot rootroot 4096 5月 13 10:01 ../ -rwx------ 1 rootroot rootroot 72087592 5月 12 23:29 jdk-6u45-linux-x64.bin* -rwx------ 1 rootroot rootroot 103777502 5月 12 23:24 openjdk-7u6-fcs-src-b24-28_aug_2012.zip* -rwx------ 1 rootroot rootroot 5937 5月 13 00:39 openjdk打包1.7z* -rwx------ 1 rootroot rootroot 23177462 6月 14 2016 samba-4.1.6.tar.gz* rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ ll 总用量 194400 drwx------ 2 rootroot rootroot 4096 5月 13 10:01 ./ drwxr-xr-x 20 rootroot rootroot 4096 5月 13 10:01 ../ -rwx------ 1 rootroot rootroot 72087592 5月 12 23:29 jdk-6u45-linux-x64.bin* -rwx------ 1 rootroot rootroot 103777502 5月 12 23:24 openjdk-7u6-fcs-src-b24-28_aug_2012.zip* -rwx------ 1 rootroot rootroot 5937 5月 13 00:39 openjdk打包1.7z* -rwx------ 1 rootroot rootroot 23177462 6月 14 2016 samba-4.1.6.tar.gz* rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ cd /opt/ rootroot@rootroot-virtual-machine:/opt$ ll 总用量 70412 drwxr-xr-x 3 root root 4096 5月 13 10:13 ./ drwxr-xr-x 25 root root 4096 4月 7 17:34 ../ drwxr-xr-x 8 root root 4096 3月 27 2013 jdk1.6.0_45/ -rwxrwxrwx 1 root root 72087592 5月 13 10:12 jdk-6u45-linux-x64.bin* rootroot@rootroot-virtual-machine:/opt$ sudo rm jdk-6u45-linux-x64.bin -rf [sudo] password for rootroot: rootroot@rootroot-virtual-machine:/opt$ cd - /home/rootroot/wyb rootroot@rootroot-virtual-machine:~/wyb$ sudo cp jdk-6u45-linux-x64.bin /opt/ rootroot@rootroot-virtual-machine:~/wyb$ cd /opt/ rootroot@rootroot-virtual-machine:/opt$ ll 总用量 70412 drwxr-xr-x 3 root root 4096 5月 13 10:15 ./ drwxr-xr-x 25 root root 4096 4月 7 17:34 ../ drwxr-xr-x 8 root root 4096 3月 27 2013 jdk1.6.0_45/ -rwx------ 1 root root 72087592 5月 13 10:15 jdk-6u45-linux-x64.bin* rootroot@rootroot-virtual-machine:/opt$ sudo chmod 777 jdk-6u45-linux-x64.bin rootroot@rootroot-virtual-machine:/opt$ ll 总用量 70416 drwxr-xr-x 3 root root 4096 5月 13 10:15 ./ drwxr-xr-x 25 root root 4096 4月 7 17:34 ../ drwxr-xr-x 8 root root 4096 3月 27 2013 jdk1.6.0_45/ -rwxrwxrwx 1 root root 72087592 5月 13 10:15 jdk-6u45-linux-x64.bin* rootroot@rootroot-virtual-machine:/opt$ sudo ./jdk-6u45-linux-x64.bin rootroot@rootroot-virtual-machine:/opt$ java -version java version "1.7.0_121" OpenJDK Runtime Environment (IcedTea 2.6.8) (7u121-2.6.8-1ubuntu0.14.04.3) OpenJDK 64-Bit Server VM (build 24.121-b00,mixed mode) rootroot@rootroot-virtual-machine:/opt$ sudo apt-get remove openjdk-7-jre-headless 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列软件包是自动安装的并且现在不需要了: java-common libsctp1 libxerces2-java libxml-commons-external-java libxml-commons-resolver1.1-java lksctp-tools tzdata-java Use 'apt-get autoremove' to remove them. 下列软件包将被【卸载】: ant ant-optional ca-certificates-java default-jre-headless openjdk-7-jre-headless 升级了 0 个软件包,新安装了 0 个软件包,要卸载 5 个软件包,有 667 个软件包未被升级。 解压缩后将会空出 58.8 MB 的空间。 您希望继续执行吗? [Y/n] y (正在读取数据库 ... 系统当前共安装有 181238 个文件和目录。) Removing ant-optional (1.9.3-2build1) ... Removing ant (1.9.3-2build1) ... Removing default-jre-headless (2:1.7-51) ... Removing ca-certificates-java (20130815ubuntu1) ... Removing openjdk-7-jre-headless:amd64 (7u121-2.6.8-1ubuntu0.14.04.3) ... Processing triggers for man-db (2.6.7.1-1) ... Processing triggers for ca-certificates (20130906ubuntu2) ... Updating certificates in /etc/ssl/certs... 0 added,0 removed; done. Running hooks in /etc/ca-certificates/update.d.... updates of cacerts keystore disabled. done. Processing triggers for libc-bin (2.19-0ubuntu6) ... rootroot@rootroot-virtual-machine:/opt$ sudo apt-get remove open openprinting-ppds openssh-client openssh-server openssh-sftp-server openssl rootroot@rootroot-virtual-machine:/opt$ sudo apt-get remove open openprinting-ppds openssh-client openssh-server openssh-sftp-server openssl rootroot@rootroot-virtual-machine:/opt$ sudo apt-get remove open openprinting-ppds openssh-client openssh-server openssh-sftp-server openssl rootroot@rootroot-virtual-machine:/opt$ 重启电脑: rootroot@rootroot-virtual-machine:~$ cd wyb/ rootroot@rootroot-virtual-machine:~/wyb$ ll 总用量 194400 drwx------ 2 rootroot rootroot 4096 5月 13 10:01 ./ drwxr-xr-x 20 rootroot rootroot 4096 5月 13 10:18 ../ -rwx------ 1 rootroot rootroot 72087592 5月 12 23:29 jdk-6u45-linux-x64.bin* -rwx------ 1 rootroot rootroot 103777502 5月 12 23:24 openjdk-7u6-fcs-src-b24-28_aug_2012.zip* -rwx------ 1 rootroot rootroot 5937 5月 13 00:39 openjdk打包1.7z* -rwx------ 1 rootroot rootroot 23177462 6月 14 2016 samba-4.1.6.tar.gz* rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ java -version java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01,mixed mode) rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ ll 总用量 194400 drwx------ 2 rootroot rootroot 4096 5月 13 10:01 ./ drwxr-xr-x 20 rootroot rootroot 4096 5月 13 10:18 ../ -rwx------ 1 rootroot rootroot 72087592 5月 12 23:29 jdk-6u45-linux-x64.bin* -rwx------ 1 rootroot rootroot 103777502 5月 12 23:24 openjdk-7u6-fcs-src-b24-28_aug_2012.zip* -rwx------ 1 rootroot rootroot 5937 5月 13 00:39 openjdk打包1.7z* -rwx------ 1 rootroot rootroot 23177462 6月 14 2016 samba-4.1.6.tar.gz* rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ rootroot@rootroot-virtual-machine:~/wyb$ unzip openjdk-7u6-fcs-src-b24-28_aug_2012.zip 编写编译脚本 完成了上述步骤后,我们来写一个用来编译源码的shell脚本,内容如下: 请严重注意:如果您是在WINDOWS下编辑的,请在UBUNTU再另存为linux格式一次,否则有些配置变量找不到的。 请严重注意:请根据您的实际环境配置变量路径。否则编译错误是肯定的! #!/bin/bash export LANG=C export ALT_BOOTDIR=/opt/jdk1.6.0_45 #允许自动下载依赖包 export ALLOW_DOWNLOADS=true #使用预编译头文件,以提升便以速度 export USE_PRECOMPILED_HEADER=true #要编译的内容 export BUILD_LANGTOOLS=true export BUILD_JAXP=true export BUILD_JAXWS=true export BUILD_CORBA=true export BUILD_HOSTPOT=true export BUILD_JDK=true #要编译的版本 export SKIP_DEBUG_BUILD=false export SKIP_FASTDEBUG_BUILD=true export DEBUG_NAME=debug #避免javaws和浏览器Java插件等的build BUILD_DEPLOY=false #不build安装包 BUILD_INSTALL=false #设置存放编译结果的目录 export ALT_OUTPUTDIR=/home/rootroot/wyb/openjdk/build unset CLASSPATH unset JAVA_HOME make sanity make 2>&1 | tee $ALT_OUTPUTDIR/build.log 我们需要把ALT_BOOTDIR设置为我们刚刚安装的Oracle JDK6的目录,将ALT_OUTPUTDIR设置为我们想要存放编译结果的目录。我们创建一个build.sh,并把上面的内容放进去,再把build.sh放到我们存放OpenJDK源码的目录下。 开始编译 在开始编译之前,我们还需要修改源码目录中的一个文件,这个文件是<OpenJDK源码目录>/jdk/src/share/classes/java/util/CurrencyData.properties。我们需要做的是把文件中以下的时间改为10年内的一个时间: Z:\wyb\openjdk\jdk\src\share\classes\java\util\CurrencyData.properties Z:\home\rootroot\wyb\openjdk\jdk\src\share\classes\java\util\CurrencyData.properties AZ=AZM;2005-12-31-20-00-00;AZN MZ=MZM;2006-06-30-22-00-00;MZN RO=ROL;2005-06-30-21-00-00;RON TR=TRL;2004-12-31-22-00-00;TRY VE=VEB;2008-01-01-04-00-00;VEF 修改为: AZ=AZM;2015-12-31-20-00-00;AZN MZ=MZM;2016-06-30-22-00-00;MZN RO=ROL;2015-06-30-21-00-00;RON TR=TRL;2014-12-31-22-00-00;TRY VE=VEB;2016-01-01-04-00-00;VEF 做了上述修改后,我们便可以通过以下命令来开始编译了: cd <OpenJdk源码目录> sh build.sh rootroot@rootroot-virtual-machine:~/wyb/openjdk$ ll 总用量 400 drwxrwxr-x 11 rootroot rootroot 4096 5月 13 10:27 ./ drwx------ 3 rootroot rootroot 4096 5月 13 10:20 ../ -rw-rw-r-- 1 rootroot rootroot 1503 8月 29 2012 ASSEMBLY_EXCEPTION -rwx------ 1 rootroot rootroot 771 5月 13 10:27 build.sh* -rwx------ 1 rootroot rootroot 771 5月 13 10:26 build.sh~* drwxrwxr-x 5 rootroot rootroot 4096 8月 29 2012 corba/ -rw-rw-r-- 1 rootroot rootroot 1367 8月 29 2012 get_source.sh -rw-rw-r-- 1 rootroot rootroot 51 8月 29 2012 .hgignore -rw-rw-r-- 1 rootroot rootroot 10151 8月 29 2012 .hgtags drwxrwxr-x 7 rootroot rootroot 4096 8月 29 2012 hotspot/ drwxrwxr-x 6 rootroot rootroot 4096 8月 29 2012 jaxp/ drwxrwxr-x 6 rootroot rootroot 4096 8月 29 2012 jaxws/ drwxrwxr-x 2 rootroot rootroot 4096 8月 29 2012 .jcheck/ drwxrwxr-x 6 rootroot rootroot 4096 8月 29 2012 jdk/ drwxrwxr-x 6 rootroot rootroot 4096 8月 29 2012 langtools/ -rw-rw-r-- 1 rootroot rootroot 19263 8月 29 2012 LICENSE drwxrwxr-x 4 rootroot rootroot 4096 8月 29 2012 make/ -rw-rw-r-- 1 rootroot rootroot 16341 8月 29 2012 Makefile -rw-rw-r-- 1 rootroot rootroot 1808 8月 29 2012 README -rw-rw-r-- 1 rootroot rootroot 112920 8月 29 2012 README-builds.html drwxrwxr-x 2 rootroot rootroot 4096 8月 29 2012 test/ -rw-rw-r-- 1 rootroot rootroot 172252 8月 29 2012 THIRD_PARTY_README rootroot@rootroot-virtual-machine:~/wyb/openjdk$ rootroot@rootroot-virtual-machine:~/wyb/openjdk$ rootroot@rootroot-virtual-machine:~/wyb/openjdk$ rootroot@rootroot-virtual-machine:~/wyb/openjdk$ sh build.sh E_LIB_PATH = PrevIoUs JDK Settings: PREVIoUS_RELEASE_PATH = USING-PREVIoUS_RELEASE_IMAGE ALT_PREVIoUS_RELEASE_PATH = PREVIoUS_JDK_VERSION = 1.6.0 ALT_PREVIoUS_JDK_VERSION = PREVIoUS_JDK_FILE = ALT_PREVIoUS_JDK_FILE = PREVIoUS_JRE_FILE = ALT_PREVIoUS_JRE_FILE = PREVIoUS_RELEASE_IMAGE = /opt/jdk1.6.0_45 ALT_PREVIoUS_RELEASE_IMAGE = ERROR: The version of ant being used is older than the required version of '1.7.1'. The version of ant found was ''. Exiting because of the above error(s). make: *** [post-sanity] Error 1 rootroot@rootroot-virtual-machine:~/wyb/openjdk$ ant --version 程序“ant”尚未安装。 您可以使用以下命令安装: sudo apt-get install ant rootroot@rootroot-virtual-machine:~/wyb/openjdk$ sudo apt-get install ant [sudo] password for rootroot: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 将会安装下列额外的软件包: ant-optional ca-certificates-java default-jre-headless openjdk-7-jre-headless 建议安装的软件包: ant-doc ant-gcj default-jdk java-compiler java-sdk ant-optional-gcj antlr javacc junit jython libbcel-java libbsf-java libcommons-logging-java libcommons-net-java libgnumail-java libjaxp1.3-java libjdepend-java libjsch-java liblog4j1.2-java liboro-java libregexp-java libxalan2-java default-jre icedtea-7-jre-jamvm sun-java6-fonts fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts 下列【新】软件包将被安装: ant ant-optional ca-certificates-java default-jre-headless openjdk-7-jre-headless 升级了 0 个软件包,新安装了 5 个软件包,要卸载 0 个软件包,有 667 个软件包未被升级。 需要下载 0 B/41.5 MB 的软件包。 解压缩后会消耗掉 58.8 MB 的额外空间。 您希望继续执行吗? [Y/n] y Selecting prevIoUsly unselected package default-jre-headless. (正在读取数据库 ... 系统当前共安装有 180800 个文件和目录。) Preparing to unpack .../default-jre-headless_2%3a1.7-51_amd64.deb ... Unpacking default-jre-headless (2:1.7-51) ... Selecting prevIoUsly unselected package ca-certificates-java. Preparing to unpack .../ca-certificates-java_20130815ubuntu1_all.deb ... Unpacking ca-certificates-java (20130815ubuntu1) ... Selecting prevIoUsly unselected package openjdk-7-jre-headless:amd64. Preparing to unpack .../openjdk-7-jre-headless_7u121-2.6.8-1ubuntu0.14.04.3_amd64.deb ... Unpacking openjdk-7-jre-headless:amd64 (7u121-2.6.8-1ubuntu0.14.04.3) ... Selecting prevIoUsly unselected package ant. Preparing to unpack .../ant_1.9.3-2build1_all.deb ... Unpacking ant (1.9.3-2build1) ... Selecting prevIoUsly unselected package ant-optional. Preparing to unpack .../ant-optional_1.9.3-2build1_all.deb ... Unpacking ant-optional (1.9.3-2build1) ... Processing triggers for ca-certificates (20130906ubuntu2) ... Updating certificates in /etc/ssl/certs... 0 added,0 removed; done. Running hooks in /etc/ca-certificates/update.d.... done. done. Processing triggers for man-db (2.6.7.1-1) ... 正在设置 openjdk-7-jre-headless:amd64 (7u121-2.6.8-1ubuntu0.14.04.3) ... update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in 自动模式 update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/keytool to provide /usr/bin/keytool (keytool) in 自动模式 update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in 自动模式 update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/rmid to provide /usr/bin/rmid (rmid) in 自动模式 update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in 自动模式 update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in 自动模式 update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/orbd to provide /usr/bin/orbd (orbd) in 自动模式 update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/servertool to provide /usr/bin/servertool (servertool) in 自动模式 update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in 自动模式 update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jexec to provide /usr/bin/jexec (jexec) in 自动模式 正在设置 ca-certificates-java (20130815ubuntu1) ... 正在设置 default-jre-headless (2:1.7-51) ... 正在设置 ant (1.9.3-2build1) ... 正在设置 ant-optional (1.9.3-2build1) ... Processing triggers for libc-bin (2.19-0ubuntu6) ... Processing triggers for ca-certificates (20130906ubuntu2) ... Updating certificates in /etc/ssl/certs... 0 added,0 removed; done. Running hooks in /etc/ca-certificates/update.d.... done. done. rootroot@rootroot-virtual-machine:~/wyb/openjdk$ java -version java version "1.7.0_121" OpenJDK Runtime Environment (IcedTea 2.6.8) (7u121-2.6.8-1ubuntu0.14.04.3) OpenJDK 64-Bit Server VM (build 24.121-b00,mixed mode) rootroot@rootroot-virtual-machine:~/wyb/openjdk$ Rebuilding /home/rootroot/wyb/openjdk/build/../build-debug/lib/amd64/libjava.so because of /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/.files_compiled /usr/bin/gcc -g -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DJDK_MAJOR_VERSION='"1"' -DJDK_MINOR_VERSION='"7"' -DJDK_MICRO_VERSION='"0"' -DJDK_BUILD_NUMBER='"b00"' -DDEBUG -DARCH='"amd64"' -Damd64 -DLINUX -DRELEASE='"1.7.0-internal-debug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I. -I/home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.7.0-internal-debug"' -DARCHPROPNAME='"amd64"' -DALT_CODESET_KEY=_NL_CTYPE_CODESET_NAME -Wl,--hash-style=both -Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$ORIGIN -Xlinker -z -Xlinker defs -L/home/rootroot/wyb/openjdk/build/../build-debug/lib/amd64 -Wl,-soname=libjava.so -shared -o /home/rootroot/wyb/openjdk/build/../build-debug/lib/amd64/libjava.so /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/AccessController.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Array.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/String.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Class.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/ClassLoader.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Compiler.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Console_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Double.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/FileSystem_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/FileDescriptor_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/FileInputStream.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/FileInputStream_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/FileOutputStream_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Finalizer.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Float.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Object.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/ObjectOutputStream.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/ObjectInputStream.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/ObjectStreamClass.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Package.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/ProcessEnvironment_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Proxy.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/RandomAccessFile.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/RandomAccessFile_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/ResourceBundle.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Runtime.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/SecurityManager.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Shutdown.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/StrictMath.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/System.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Thread.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Throwable.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Signal.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/NativeSignalHandler.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/verify_stub.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/io_util.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/io_util_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/jio.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/logging.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/jni_util.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/jni_util_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/jdk_util.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/jdk_util_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/check_version.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/java_props_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/DriverManager.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/ConstantPool.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/MessageUtils.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/GC.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/NativeAccessors.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Reflection.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Bits.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/AtomicLong.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/Version.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/VM.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/VMSupport.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/UNIXProcess_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/UnixFileSystem_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/canonicalize_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/TimeZone.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/TimeZone_md.o /home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/FileSystemPreferences.o -L/home/rootroot/wyb/openjdk/build/../build-debug/lib/amd64/server -ljvm -lverify -ldl -L/home/rootroot/wyb/openjdk/build/../build-debug/tmp/java/java.lang/java/obj64_g/../../../fdlibm/obj64_g -lfdlibm.amd64 -lc Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/../build-debug/lib/amd64/libjava.so INFO: File was not built with a mapfile: /home/rootroot/wyb/openjdk/build/../build-debug/lib/amd64/libjava.so Library loads for: /home/rootroot/wyb/openjdk/build/../build-debug/lib/amd64/libjava.so linux-vdso.so.1 => (0x00007fff96ce0000) libjvm.so => not found libverify.so => /home/rootroot/wyb/openjdk/build/../build-debug/lib/amd64/libverify.so (0x00002ad4dded0000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ad4de0e8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ad4de2f0000) /lib64/ld-linux-x86-64.so.2 (0x00002ad4dda70000) libjvm.so => not found RUNPATH for: /home/rootroot/wyb/openjdk/build/../build-debug/lib/amd64/libjava.so 0x0000000000000001 (NEEDED) Shared library: [libjvm.so] 0x0000000000000001 (NEEDED) Shared library: [libverify.so] 0x0000000000000001 (NEEDED) Shared library: [libdl.so.2] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN] /bin/mkdir -p /home/rootroot/wyb/openjdk/build/../build-debug/lib rm -f /home/rootroot/wyb/openjdk/build/../build-debug/lib/content-types.properties /bin/cp ../../../src/solaris/lib/content-types.properties /home/rootroot/wyb/openjdk/build/../build-debug/lib/content-types.properties /bin/mkdir -p /home/rootroot/wyb/openjdk/build/../build-debug/lib rm -f /home/rootroot/wyb/openjdk/build/../build-debug/lib/calendars.properties /bin/cp ../../../src/share/lib/calendars.properties /home/rootroot/wyb/openjdk/build/../build-debug/lib/calendars.properties rm -f /home/rootroot/wyb/openjdk/build/../build-debug/lib/currency.data /opt/jdk1.6.0_45/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -jar /home/rootroot/wyb/openjdk/build/../build-debug/btjars/generatecurrencydata.jar -o /home/rootroot/wyb/openjdk/build/../build-debug/lib/currency.data.temp \ < ../../../src/share/classes/java/util/CurrencyData.properties Error: time is more than 10 years from present: 1136059200000 java.lang.RuntimeException: time is more than 10 years from present: 1136059200000 at build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:285) at build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:225) at build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:154) make[5]: *** [/home/rootroot/wyb/openjdk/build/../build-debug/lib/currency.data] Error 1 make[5]: Leaving directory `/home/rootroot/wyb/openjdk/jdk/make/java/java' make[4]: *** [all] Error 1 make[4]: Leaving directory `/home/rootroot/wyb/openjdk/jdk/make/java' make[3]: *** [all] Error 1 make[3]: Leaving directory `/home/rootroot/wyb/openjdk/jdk/make' make[2]: *** [jdk-build] Error 2 make[2]: Leaving directory `/home/rootroot/wyb/openjdk' make[1]: *** [generic_debug_build] Error 2 make[1]: Leaving directory `/home/rootroot/wyb/openjdk' make: *** [build_debug_image] Error 2 rootroot@rootroot-virtual-machine:~/wyb/openjdk$ 不出意外,经过一番耐心的等待,便会编译成功了。我们得到的build目录如下: 其中,j2sdk-image目录下存放的就是整个JDK的完整编译结果。我们进入整个目录下,输入“java -version”,会得到如下结果: rootroot@rootroot-virtual-machine:~/wyb/openjdk/build$ rootroot@rootroot-virtual-machine:~/wyb/openjdk/build$ java -version java version "1.7.0_121" OpenJDK Runtime Environment (IcedTea 2.6.8) (7u121-2.6.8-1ubuntu0.14.04.3) OpenJDK 64-Bit Server VM (build 24.121-b00,mixed mode) rootroot@rootroot-virtual-machine:~/wyb/openjdk/build$ 这就大功告成了: ) 参考资料 深入理解Java虚拟机(第2版) (豆瓣) 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/jre/bin/servertool Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/jre/bin/servertool linux-vdso.so.1 => (0x00007fffa5c00000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/jre/bin/../lib/amd64/jli/libjli.so (0x00002b0a1d8c8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b0a1dae8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b0a1deb0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b0a1e0b8000) /lib64/ld-linux-x86-64.so.2 (0x00002b0a1d6a0000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/jre/bin/servertool 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/serialver Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/serialver linux-vdso.so.1 => (0x00007fff3b000000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ba1402c8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ba1404e8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ba1408b0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ba140ab8000) /lib64/ld-linux-x86-64.so.2 (0x00002ba1400a0000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/serialver 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jarsigner Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jarsigner linux-vdso.so.1 => (0x00007fff6e2a0000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b1c94fa8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b1c951c8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b1c95590000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b1c95798000) /lib64/ld-linux-x86-64.so.2 (0x00002b1c94d80000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jarsigner 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jhat Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jhat linux-vdso.so.1 => (0x00007fff57590000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b4fa9e20000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b4faa040000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b4faa408000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b4faa610000) /lib64/ld-linux-x86-64.so.2 (0x00002b4fa9bf8000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jhat 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jsadebugd Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jsadebugd linux-vdso.so.1 => (0x00007fff70b50000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ae3dd550000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ae3dd770000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ae3ddb38000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ae3ddd40000) /lib64/ld-linux-x86-64.so.2 (0x00002ae3dd328000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jsadebugd 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/rmid Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/rmid linux-vdso.so.1 => (0x00007fffbb148000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b80d2928000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b80d2b48000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b80d2f10000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b80d3118000) /lib64/ld-linux-x86-64.so.2 (0x00002b80d2700000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/rmid 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/orbd Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/orbd linux-vdso.so.1 => (0x00007fff3f800000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002aded90f8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002aded9318000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002aded96e0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002aded98e8000) /lib64/ld-linux-x86-64.so.2 (0x00002aded8ed0000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/orbd 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jrunscript Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jrunscript linux-vdso.so.1 => (0x00007fff23400000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ac40d950000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ac40db70000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ac40df38000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ac40e140000) /lib64/ld-linux-x86-64.so.2 (0x00002ac40d728000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jrunscript 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jstack Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jstack linux-vdso.so.1 => (0x00007fff2f000000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b7163f20000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b7164140000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b7164508000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b7164710000) /lib64/ld-linux-x86-64.so.2 (0x00002b7163cf8000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jstack 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/wsgen Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/wsgen linux-vdso.so.1 => (0x00007fffb8c00000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b6ff9868000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b6ff9a88000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b6ff9e50000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b6ffa058000) /lib64/ld-linux-x86-64.so.2 (0x00002b6ff9640000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/wsgen 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javap Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javap linux-vdso.so.1 => (0x00007fff7ee00000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ac10ede8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ac10f008000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ac10f3d0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ac10f5d8000) /lib64/ld-linux-x86-64.so.2 (0x00002ac10ebc0000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javap 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jar Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jar linux-vdso.so.1 => (0x00007fff6de00000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b1b6eaa8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b1b6ecc8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b1b6f090000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b1b6f298000) /lib64/ld-linux-x86-64.so.2 (0x00002b1b6e880000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jar 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/pack200 Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/pack200 linux-vdso.so.1 => (0x00007fff46600000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b741e3a8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b741e5c8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b741e990000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b741eb98000) /lib64/ld-linux-x86-64.so.2 (0x00002b741e180000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/pack200 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jcmd Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jcmd linux-vdso.so.1 => (0x00007fff75600000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b865fdb0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b865ffd0000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b8660398000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b86605a0000) /lib64/ld-linux-x86-64.so.2 (0x00002b865fb88000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jcmd 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jinfo Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jinfo linux-vdso.so.1 => (0x00007fff68000000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b67927d0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b67929f0000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b6792db8000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b6792fc0000) /lib64/ld-linux-x86-64.so.2 (0x00002b67925a8000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jinfo 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jps Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jps linux-vdso.so.1 => (0x00007fff88dd0000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ae5c5ca8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ae5c5ec8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ae5c6290000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ae5c6498000) /lib64/ld-linux-x86-64.so.2 (0x00002ae5c5a80000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jps 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/unpack200 INFO: File was not built with a mapfile: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/unpack200 Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/unpack200 linux-vdso.so.1 => (0x00007fffc9158000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002af6b7198000) /lib64/ld-linux-x86-64.so.2 (0x00002af6b6f70000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/unpack200 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jstatd Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jstatd linux-vdso.so.1 => (0x00007fffb7400000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b9b77bb8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b9b77dd8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b9b781a0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b9b783a8000) /lib64/ld-linux-x86-64.so.2 (0x00002b9b77990000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jstatd 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/rmic Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/rmic linux-vdso.so.1 => (0x00007fff445d0000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ab14d900000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ab14db20000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ab14dee8000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ab14e0f0000) /lib64/ld-linux-x86-64.so.2 (0x00002ab14d6d8000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/rmic 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javadoc Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javadoc linux-vdso.so.1 => (0x00007fffba5c0000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b91fac78000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b91fae98000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b91fb260000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b91fb468000) /lib64/ld-linux-x86-64.so.2 (0x00002b91faa50000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javadoc 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/xjc Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/xjc linux-vdso.so.1 => (0x00007fffd2200000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b5d25ec8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b5d260e8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b5d264b0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b5d266b8000) /lib64/ld-linux-x86-64.so.2 (0x00002b5d25ca0000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/xjc 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/schemagen Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/schemagen linux-vdso.so.1 => (0x00007fff26800000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b3b80fe8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b3b81208000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b3b815d0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b3b817d8000) /lib64/ld-linux-x86-64.so.2 (0x00002b3b80dc0000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/schemagen 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/rmiregistry Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/rmiregistry linux-vdso.so.1 => (0x00007fffa3f10000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ba4b6bb0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ba4b6dd0000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ba4b7198000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ba4b73a0000) /lib64/ld-linux-x86-64.so.2 (0x00002ba4b6988000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/rmiregistry 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/idlj Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/idlj linux-vdso.so.1 => (0x00007fff37180000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b64a3be8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b64a3e08000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b64a41d0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b64a43d8000) /lib64/ld-linux-x86-64.so.2 (0x00002b64a39c0000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/idlj 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jmap Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jmap linux-vdso.so.1 => (0x00007ffffd600000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b8d401b8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b8d403d8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b8d407a0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b8d409a8000) /lib64/ld-linux-x86-64.so.2 (0x00002b8d3ff90000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jmap 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/appletviewer Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/appletviewer linux-vdso.so.1 => (0x00007fffbc400000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b47deaa8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b47decc8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b47df090000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b47df298000) /lib64/ld-linux-x86-64.so.2 (0x00002b47de880000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/appletviewer 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/policytool Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/policytool linux-vdso.so.1 => (0x00007fff5f600000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002aff0c2f0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002aff0c510000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002aff0c8d8000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002aff0cae0000) /lib64/ld-linux-x86-64.so.2 (0x00002aff0c0c8000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/policytool 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/keytool Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/keytool linux-vdso.so.1 => (0x00007fff049e0000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b1429820000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b1429a40000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b1429e08000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b142a010000) /lib64/ld-linux-x86-64.so.2 (0x00002b14295f8000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/keytool 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/native2ascii Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/native2ascii linux-vdso.so.1 => (0x00007fff27200000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002affa6850000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002affa6a70000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002affa6e38000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002affa7040000) /lib64/ld-linux-x86-64.so.2 (0x00002affa6628000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/native2ascii 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/tnameserv Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/tnameserv linux-vdso.so.1 => (0x00007fff3fe00000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b11107e0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b1110a00000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b1110dc8000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b1110fd0000) /lib64/ld-linux-x86-64.so.2 (0x00002b11105b8000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/tnameserv 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/wsimport Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/wsimport linux-vdso.so.1 => (0x00007fff51000000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ba64cef0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ba64d110000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ba64d4d8000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ba64d6e0000) /lib64/ld-linux-x86-64.so.2 (0x00002ba64ccc8000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/wsimport 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/java Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/java linux-vdso.so.1 => (0x00007fff1ae00000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ae01e888000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ae01eaa8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ae01ee70000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ae01f078000) /lib64/ld-linux-x86-64.so.2 (0x00002ae01e660000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/java 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jstat Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jstat linux-vdso.so.1 => (0x00007fff85c80000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ac479980000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ac479ba0000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ac479f68000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ac47a170000) /lib64/ld-linux-x86-64.so.2 (0x00002ac479758000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jstat 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javac Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javac linux-vdso.so.1 => (0x00007fff85c00000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ac7bb080000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ac7bb2a0000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ac7bb668000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ac7bb870000) /lib64/ld-linux-x86-64.so.2 (0x00002ac7bae58000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javac 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/servertool Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/servertool linux-vdso.so.1 => (0x00007fffc85b0000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ac4ef088000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ac4ef2a8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ac4ef670000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ac4ef878000) /lib64/ld-linux-x86-64.so.2 (0x00002ac4eee60000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/servertool 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/extcheck Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/extcheck linux-vdso.so.1 => (0x00007fff02200000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b7687d70000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b7687f90000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b7688358000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b7688560000) /lib64/ld-linux-x86-64.so.2 (0x00002b7687b48000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/extcheck 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javah Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javah linux-vdso.so.1 => (0x00007fffd1da8000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ab3ff8d0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ab3ffaf0000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ab3ffeb8000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ab4000c0000) /lib64/ld-linux-x86-64.so.2 (0x00002ab3ff6a8000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/javah 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jconsole Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jconsole linux-vdso.so.1 => (0x00007fff91800000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b30b4f40000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b30b5160000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b30b5528000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b30b5730000) /lib64/ld-linux-x86-64.so.2 (0x00002b30b4d18000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jconsole 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jdb Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jdb linux-vdso.so.1 => (0x00007fff9d9b0000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002b72fd538000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b72fd758000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b72fdb20000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b72fdd28000) /lib64/ld-linux-x86-64.so.2 (0x00002b72fd310000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/jdb 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] Checking for mapfile use in: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/apt Library loads for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/apt linux-vdso.so.1 => (0x00007fff85f18000) libjli.so => /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/../jre/lib/amd64/jli/libjli.so (0x00002ab437f30000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002ab438150000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002ab438518000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002ab438720000) /lib64/ld-linux-x86-64.so.2 (0x00002ab437d08000) RUNPATH for: /home/rootroot/wyb/openjdk/build/j2sdk-image/bin/apt 0x0000000000000001 (NEEDED) Shared library: [libjli.so] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli] rm -f /home/rootroot/wyb/openjdk/build/tmp/jdk-bin-files.list >>>Making sec-files @ Sat May 13 12:24:38 CST 2017 ... /bin/mkdir -p . rm -f sec-files rm -f /home/rootroot/wyb/openjdk/build/tmp/sec-bin.zip cd /home/rootroot/wyb/openjdk/build && \ /usr/bin/zip -rq9 /home/rootroot/wyb/openjdk/build/tmp/sec-bin.zip classes/javax/net classes/javax/security/cert classes/com/sun/net/ssl classes/com/sun/security/cert classes/sun/net/www/protocol/https classes/sun/security/pkcs12 classes/sun/security/ssl classes/sun/security/krb5/*.class classes/sun/security/krb5/internal/*.class classes/sun/security/krb5/internal/ccache classes/sun/security/krb5/internal/crypto classes/sun/security/krb5/internal/ktab classes/sun/security/krb5/internal/rcache classes/sun/security/krb5/internal/util classes/sun/security/jgss/spi/GSSContextSpi.class >>>Making sec-files-win @ Sat May 13 12:24:38 CST 2017 ... >>>Making jgss-files @ Sat May 13 12:24:38 CST 2017 ... >>>Finished making images @ Sat May 13 12:24:38 CST 2017 ... make[2]: Leaving directory `/home/rootroot/wyb/openjdk/jdk/make' ######################################################################## ##### Leaving jdk for target(s) sanity all docs images ##### ######################################################################## ##### Build time 00:39:41 jdk for target(s) sanity all docs images ##### ######################################################################## #-- Build times ---------- Target debug_build Start 2017-05-13 11:19:27 End 2017-05-13 12:24:38 00:05:19 corba 00:16:22 hotspot 00:01:02 jaxp 00:01:15 jaxws 00:39:41 jdk 00:01:31 langtools 01:05:11 TOTAL ------------------------- make[1]: Leaving directory `/home/rootroot/wyb/openjdk' rootroot@rootroot-virtual-machine:~/wyb/openjdk$ rootroot@rootroot-virtual-machine:~/wyb/openjdk$ 原文链接:https://www.f2er.com/ubuntu/353019.html

猜你在找的Ubuntu相关文章