Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6697238
Votes 0
Synopsis missing dependencies for precompiled headers with platform dependent includes
Category hotspot:compiler2
Reported Against
Release Fixed hs14(b01)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 02-MAY-2008
Description
MakeDeps generates dependencies for when to rebuild the precompiled headers but doesn't properly take into account the platform dependent includes which are directly included by some of the platform independent files.  The includes are of the form:


  // Platform specifics                                                                                                              
  #include "incls/_templateTable_pd.hpp.incl"

Currently if you modify the platform dependent include and do an incremental build it won't rebuild the precompiled headers which can result in compilation problems like this where it seems to both know about and no know about a newly added method:

/net/smite/export/ws/fused/src/cpu/x86/vm/templateTable_x86_64.cpp:510: error: no ?void TemplateTable::string_index_check(RegisterImpl*, RegisterImpl*)? member function declared in class ?TemplateTable?
/net/smite/export/ws/fused/src/cpu/x86/vm/templateTable_x86_64.cpp: In static member function ?static void TemplateTable::scstore()?:
/net/smite/export/ws/fused/src/cpu/x86/vm/templateTable_x86_64.cpp:963: error: cannot call member function ?void TemplateTable::string_index_check(RegisterImpl*, RegisterImpl*)? without  customer 
Posted Date : 2008-05-02 22:36:04.0
Work Around
N/A
Evaluation
The platform dependent files should be collected and emitted when the main file is emitted in the dependencies.
Posted Date : 2008-05-02 22:37:10.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang