编译jdk1.8 异常,请教如何解决_JAVA_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > JAVA > 编译jdk1.8 异常,请教如何解决

编译jdk1.8 异常,请教如何解决

 2017/8/8 0:31:18  barika  程序员俱乐部  我要评论(0)
  • 摘要:wangjianan@wang-pc:~$uname-aLinuxwang-pc4.8.0-36-generic#36~16.04.1-UbuntuSMPSunFeb509:39:57UTC2017x86_64x86_64x86_64GNU/Linuxwangjianan@wang-pc:~$gcc-vUsingbuilt-inspecs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto
  • 标签:解决 编译 jdk 异常
wangjianan@wang-pc:~$ uname -a
Linux wang-pc 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


wangjianan@wang-pc:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)

wangjianan@wang-pc:~$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)


具体版本openjdk-8-src-b132-03_mar_2014.zip,发生了如下错误,麻烦博主百忙之中帮忙看下,谢谢
具体日志在附件里:


    rm -f libjvm.so.1; ln -s libjvm.so libjvm.so.1;                                  \
            if [ \"\" = \"\" ] ; then                    \
      if [ -x /usr/sbin/selinuxenabled ] ; then                 \
        /usr/sbin/selinuxenabled;                               \
                if [ $? = 0 ] ; then \
  /usr/bin/chcon -t textrel_shlib_t libjvm.so;                 \
  if [ $? != 0 ]; then                                 \
    echo "ERROR: Cannot chcon libjvm.so"; \
  fi \
        fi \
      fi                                                        \
            fi \
}
Linking vm...
/usr/bin/objcopy --only-keep-debug libjvm.so libjvm.debuginfo
/usr/bin/objcopy --add-gnu-debuglink=libjvm.debuginfo libjvm.so
strip -g libjvm.so
zip -q -y libjvm.diz libjvm.debuginfo
rm -f libjvm.debuginfo
make[4]: Leaving directory '/home/wangjianan/work/jvm/jdksource/linux_i486_compiler1/debug'
All done.
make[3]: Leaving directory '/home/wangjianan/work/jvm/jdksource/linux_i486_compiler1/debug'
make[2]: Leaving directory '/home/wangjianan/work/jvm/jdksource'
make[1]: Leaving directory '/home/wangjianan/work/jvm/openjdk/hotspot/make'
上一篇: android.os.NetworkOnMainThreadException 下一篇: 没有下一篇了!
发表评论
用户名: 匿名