构建JDK8报错了,哪位大神能帮忙看下什么原因 ?

原创 2015年08月23日 10:48:47

我的代码是从java.net网站下载的,名称为openjdk-8-src-b132-03_mar_2014.zip

CPU:i54469

OS:Ubuntu 15.04

执行CONFIGURE之前需要 unset JAVA_TOOL_OPTIONS

configure执行成功后,运行下面语句报错了,具体错误请看标黄的部分


/Desktop/openjdk$ make CONF=linux-x86_64-normal-server-fastdebug

Building 'linux-x86_64-normal-server-fastdebug' (matching CONF=linux-x86_64-normal-server-fastdebug)
Building OpenJDK for target 'default' in configuration 'linux-x86_64-normal-server-fastdebug'

## Starting langtools
## Finished langtools (build time 00:00:00)

## 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
/usr/bin/make: invalid option -- '/'
/usr/bin/make: invalid option -- 'a'
/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
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  --eval=STRING               Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
make[5]: *** [ad_stuff] Error 2
/home/dxt/Desktop/openjdk/hotspot/make/linux/makefiles/top.make:91: recipe for target 'ad_stuff' failed
/home/dxt/Desktop/openjdk/hotspot/make/linux/Makefile:289: recipe for target 'fastdebug' failed
make[4]: *** [fastdebug] Error 2
Makefile:216: recipe for target 'generic_build2' failed
make[3]: *** [generic_build2] Error 2
Makefile:167: recipe for target 'fastdebug' failed
make[2]: *** [fastdebug] Error 2
HotspotWrapper.gmk:44: recipe for target '/home/dxt/Desktop/openjdk/build/linux-x86_64-normal-server-fastdebug/hotspot/_hotspot.timestamp' failed
make[1]: *** [/home/dxt/Desktop/openjdk/build/linux-x86_64-normal-server-fastdebug/hotspot/_hotspot.timestamp] Error 2
/home/dxt/Desktop/openjdk//make/Main.gmk:108: recipe for target 'hotspot-only' failed
make: *** [hotspot-only] Error 2
dxt@dxt-All-Series:~/Desktop/openjdk$ pon dsl-provider
Plugin rp-pppoe.so loaded.

Ubuntu16.04中编译openjdk7

根据《深入理解java虚拟机》一书学习。 首先是获取openjdk7的源码,https://jdk7.java.net/source.html 在这个网页下载相应的源码 编译源码所需要的工具有gcc ...

如何用Mac完美编译OpenJDK 7

前段时间为了研究JVM,于是去下了OpenJDK6编译一把,就因为少声卡驱动,又没查到如何解决,结果总是编译不成功,遂放弃。但是近来调试jdk源码的时候,发现很多调试信息都没有,看得我那个辛苦啊。正好...

【JDK编译】Mac OS编译OpenJDK8

在Centos上编译过OPENJDK7后,现在试着在MAC系统编译一下OPENJDK,由于OPENJDK7在MAC上编译设置太多,所以直接选择OPENJDK8进行编译,编译步骤如下: 1.安...

(找到原因了)(又改了下,感觉有个最下面那块函数,应传入指针的指针)求求哪位大神给看看吧,为何注释部分放开竟然会出错,琢磨一天了啊,万分感谢!!!!!!!!!!!!!!!!!!!!

SharedPtr.h #pragma once #include #include using namespace std; class SharedPtr { public: friend ...

关于spring、hibernate 整合错误,请大神们帮忙看看哪里出错了

在网上找了个项目,准备做 spring + hibernate 整合测试的时候,update()方法出现问题了。update()是用Spring+Hibernate,程序不报错,但是数据库里面的数据没...

请问有哪位大神能破解这个DLL?

  • 2016年06月11日 16:46
  • 1.68MB
  • 下载

请各位大神帮我看看,这是什么原因造成的。。。。。。

[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building...

static的应用原理(不知道哪位大神写的)

static对象如果出现在类中,那么该对象即使从未被使用到,它也会被构造以及析构。而函数中的static对象,如果该函数从未被调用,这个对象也就绝不会诞生,但是在函数每次被调用时检查对象是否需要诞生。...

不知道是哪位java大神写给女神的情书~~~~~

我能抽象出整个世界... 但是我却不能抽象出你... 你肯定是一个单例,因为你是那样的独一无二... 所以我的世界并不完整... 我可以重载甚至覆盖这个世界里的任何一种方法... 但是却不能覆盖对你的...

#跪求 有没有哪位大神知道怎么加入多线程断点续传功能

package jluzh; import java.awt.BorderLayout; import java.awt.GridBagConstraints;   import jav...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:构建JDK8报错了,哪位大神能帮忙看下什么原因 ?
举报原因:
原因补充:

(最多只允许输入30个字)