JDK-8238217 : panama fails to build because of use of x87 instructions in 64 bit mode
  • Type: Bug
  • Component: tools
  • Sub-Component: jextract
  • Affected Version: repo-panama
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2020-01-30
  • Updated: 2020-02-05
  • Resolved: 2020-01-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-panamaFixed
Related Reports
Relates :  
Description
universalNativeInvoker_x86.cpp and universalUpcallHandler_x86.cpp use fld_x and fstp_x instructions. These have been removed (ifdef'ed out for LP64 mode) from MacroAssembler class (see also JDK-7175279). This results in build failure.

panama/src/hotspot/cpu/x86/universalNativeInvoker_x86.cpp:161:8: error: no member named ���fstp_x��� in ���MacroAssembler���
  __ fstp_x(Address(ctxt_reg, (int)offs)); //pop ST(0)
  ~~ ^
1 error generated.
make[3]: *** [panama/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/universalNativeInvoker_x86.o] Error 1
make[3]: *** Waiting for unfinished jobs....
panama/src/hotspot/cpu/x86/universalUpcallHandler_x86.cpp:219:10: error: no member named ���fld_x��� in ���MacroAssembler���
   __ fld_x (Address(rsp, (int)offs));
   ~~ ^
1 error generated.
make[3]: *** [panama/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/universalUpcallHandler_x86.o] Error 1
make[2]: *** [hotspot-server-libs] Error 2
ERROR: Build failed for target ���images��� in configuration ���macosx-x86_64-server-release��� (exit code 2)
Comments
Changeset: d10d186f Author: Athijegannathan Sundararajan <sundar@openjdk.org> Date: 2020-01-30 21:10:04 +0000 URL: https://git.openjdk.java.net/panama-foreign/commit/d10d186f
05-02-2020

changeset: 59682:9d48c5f2fc6b branch: foreign-abi tag: tip parent: 59679:32793dec0cdc user: sundar date: Thu Jan 30 21:10:04 2020 +0530 summary: 8238217: panama fails to build because of use of x87 instructions in 64 bit mode
30-01-2020

changeset: 59681:703b9d70fb31 branch: foreign tag: tip parent: 59678:3304f293efca user: sundar date: Thu Jan 30 19:10:07 2020 +0530 summary: 8238217: panama fails to build because of use of x87 instructions in 64 bit mode
30-01-2020