Re: Inquiry whether jdk8u can compile with icc?
yumin qi
yumin.qi at gmail.com
Tue Jun 26 16:41:08 UTC 2018
The first error is known issue and fixed in jdk 9:
https://bugs.openjdk.java.net/browse/JDK-8016451
For the second one, I am not familiar with icc/icpc, it looks the linker
find a static version which is not an expected version. you need to check
the detail of library dependency.
Yumin
On Mon, Jun 25, 2018 at 11:57 PM Vic Wang(BJ-RD) <VicWang at zhaoxin.com>
wrote:
> Hi Erik,
>
> Yeah, it need to modify some configure files before generating the
> Makefile file. But I am not lucky to build the binary successfully. It
> occurs some ld's error.
> >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
> Do you have any ideas for this?
> I want to build JVM on intel i5-6600k platform.
> Thanks very much.
>
> Best Regards!
> VicWang
>
>
> -----邮件原件-----
> 发件人: Erik Joelsson [mailto:erik.joelsson at oracle.com]
> 发送时间: 2018年6月26日 0:20
> 收件人: Vic Wang(BJ-RD) <VicWang at zhaoxin.com>; build-dev at openjdk.java.net
> 主题: Re: Inquiry whether jdk8u can compile with icc?
>
> Hello,
>
> There is no support for ICC as far as I know. If ICC is compatible with
> the default toolchain for the platform, you may get something to work, but
> I doubt you will have any luck without modifying build logic.
>
> Which platform are you trying to build on?
>
> /Erik
>
>
> On 2018-06-25 08:19, Vic Wang(BJ-RD) 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