答复: Inquiry whether jdk8u can compile with icc?
Vic Wang(BJ-RD)
VicWang at zhaoxin.com
Tue Jun 26 06:46:28 UTC 2018
Hi Yumin:
When exporting CC=icc and CXX=icc, and modifying some lines in the configure files, it can work to generate the Makefile successfully. But it occurs some errors in the end when execute “make images”.
The first error is as follows, does it harmful? And how to eliminate these errors?
>Aliases: Table size 1024 (10 bits), shift 0, max chain depth 3
>Classes: Table size 32 (5 bits), shift 1, max chain depth 3
>Cache: Table size 32 (5 bits), shift 1, max chain depth 3
>Generating X11 wrapper (64-bit version)
>Generating beaninfo
>Generating Nimbus source files
>[Error] encoded value was less than 0: encode(-8.326673E-17, 5.0, 11.0, 16.0)
>Verifying /home/vic/Desktop/JVM/sourcecode/tmp/tmp/openjdk-jdk8u-jdk8u/build/linux-x86_64-normal-server-release/jdk/gensrc_x11wrappers/sizes.64.verification.tmp to /home/vic/Desktop/JVM/sourcecode/tmp/tmp/openjdk-jdk8u-jdk8u/build/linux-x86_64-normal-server-release/jdk/gensrc_x11wrappers/sizes.64
>[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
>[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
>[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
>[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
>[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
>[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
>[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
>[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
>[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
>[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
>[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
>[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
>[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
>[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
>[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
>[Error] Encountered Infinity: encode(-0.00877193, 0.0, 7.0, 7.0)
>Generating HTML DTD file
>Compiling 4 files for BUILD_BREAKITERATOR
And the other kind of error is :
>ld: /home/vic/Desktop/JVM/sourcecode/tmp/tmp/openjdk-jdk8u-jdk8u/build/linux-x86_64-normal-server-release/jdk/bin/extcheck: local symbol `__intel_sse2_strrchr' in /opt/intel/composer_xe_2015.2.164/compiler/lib/intel64/libirc.a(sse2_strrchr.o) is referenced by DSO
>ld: final link failed: Bad value
>ld: /home/vic/Desktop/JVM/sourcecode/tmp/tmp/openjdk-jdk8u-jdk8u/build/linux-x86_64-normal-server-release/jdk/objs/java_objs/java: local symbol `__intel_sse2_strrchr' in /opt/intel/composer_xe_2015.2.164/compiler/lib/intel64/libirc.a(sse2_strrchr.o) is referenced by DSO
>ld: final link failed: Bad value
make[2]: *** [/home/vic/Desktop/JVM/sourcecode/tmp/tmp/openjdk-jdk8u-jdk8u/build/linux-x86_64-normal-server-release/jdk/bin/extcheck] Error 1
>make[2]: *** Waiting for unfinished jobs....
>make[2]: *** [/home/vic/Desktop/JVM/sourcecode/tmp/tmp/openjdk-jdk8u-jdk8u/build/linux-x86_64-normal-server-release/jdk/objs/java_objs/java] Error 1
Does anyone have some suggestions for these? Thanks!
Best Regards!
VicWang
发件人: yumin qi [mailto:yumin.qi at gmail.com]
发送时间: 2018年6月25日 23:43
收件人: Vic Wang(BJ-RD) <VicWang at zhaoxin.com>
抄送: build-dev at openjdk.java.net
主题: Re: Inquiry whether jdk8u can compile with icc?
Hi, Vic
You can try the help:
sh configure --help
Also
export CC='your ICC'
Yumin
On Mon, Jun 25, 2018 at 8:20 AM Vic Wang(BJ-RD) <VicWang at zhaoxin.com<mailto:VicWang at zhaoxin.com>> wrote:
Hi,
I get the openjdk-jdk8u-jdk8u source code, and I want to compile jvm with ICC compiler.
How to configure jvm before using ICC compiling?
If there are any tips for ICC compiling, please let me know. Thanks a lot.
Best Regards!
VicWang
保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
More information about the build-dev
mailing list