United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7003786 sort Obj_Files before compiling
JDK-7003786 : sort Obj_Files before compiling

Details
Type:
Bug
Submit Date:
2010-12-01
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:
P5
Resolution:
Fixed
Affected Versions:
hs20
Fixed Versions:
hs20 (b04)

Related Reports
Backport:
Backport:

Sub Tasks

Description
The MakeDeps removal removed the sorting of Obj_Files.

                                    

Comments
SUGGESTED FIX

diff -r 6e3c7dc13834 make/linux/makefiles/vm.make
--- a/make/linux/makefiles/vm.make	Wed Dec 01 15:04:06 2010 +0100
+++ b/make/linux/makefiles/vm.make	Wed Dec 01 16:53:40 2010 +0100
@@ -173,7 +173,7 @@
 
 Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e)))
 
-Obj_Files = $(addsuffix .o,$(basename $(Src_Files)))
+Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files))))
 
 JVM_OBJ_FILES = $(Obj_Files)
 
diff -r 6e3c7dc13834 make/solaris/makefiles/vm.make
--- a/make/solaris/makefiles/vm.make	Wed Dec 01 15:04:06 2010 +0100
+++ b/make/solaris/makefiles/vm.make	Wed Dec 01 16:53:40 2010 +0100
@@ -189,7 +189,7 @@
 
 Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e)))
 
-Obj_Files = $(addsuffix .o,$(basename $(Src_Files)))
+Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files))))
 
 JVM_OBJ_FILES = $(Obj_Files) $(DTRACE_OBJS)
                                     
2010-12-01
EVALUATION

OK
                                     
2010-12-01
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/2968675b413e
                                     
2010-12-03
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/2968675b413e
                                     
2010-12-09
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/2968675b413e
                                     
2010-12-10
EVALUATION

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



Hardware and Software, Engineered to Work Together