United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7005007 : Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage

Details
Type:
Bug
Submit Date:
2010-12-07
Status:
Closed
Updated Date:
2011-04-23
Project Name:
JDK
Resolved Date:
2011-04-23
Component:
hotspot
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs20
Fixed Versions:
hs20 (b04)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
6953477 added some support for cross-compilation. When cross-compiling the ALT_COMPILER_PATH is used to the find the cross-compiler and other tools that operate on the foreign binaries. Unfortunately JPRT also uses ALT_COMPILER_PATH to redirect only the compiler usage to the cccache, which means that the other tools (nm, strip) will not be found and so part of the build will fail. This only affects the Linux build at present.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/build/hotspot/rev/a5610f0862fe
                                     
2010-12-25
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/a5610f0862fe
                                     
2010-12-10
EVALUATION

Change the cross-compilation support to explicitly check for CROSS_COMPILE_ARCH being set, not for ALT_COMPILER_PATH being set. JPRT won't touch ALT_COMPILER_PATH when actually cross-compiling.
                                     
2010-12-07
PUBLIC COMMENTS

Here is error from JPRT:

/tmp/jprt/P1/B/212610.coleenp/source/make/linux/makefiles/build_vm_def.sh: line 10: /opt/jprt/products/P1/ccache2.4/bin/nm: No such file or directory
                                     
2010-12-07



Hardware and Software, Engineered to Work Together