JDK-6793825 : Missing include dependancies for GCC without predefined headers
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs15
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2009-01-14
  • Updated: 2012-10-08
  • Resolved: 2009-02-11
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.
JDK 6 JDK 7 Other
6u18Fixed 7Fixed hs15Fixed
Description
Without USE_PREDEFINED_HEADERS a bunch of .inline.hpp dependancies are missing causing newer GCC compilers to get the warning below.

Compiling /net/philli/scratch1/coleenp/hg/ubuntu/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.cpp
cc1plus: warnings being treated as errors
/net/philli/scratch1/coleenp/hg/ubuntu/src/share/vm/utilities/bitMap.hpp:155: warning: inline function 'void BitMap::set_bit(size_t)' used but never defined
gnumake[2]: *** [adaptiveSizePolicy.o] Error 1
gnumake[2]: *** Waiting for unfinished jobs....
cc1plus: warnings being treated as errors
/net/philli/scratch1/coleenp/hg/ubuntu/src/share/vm/utilities/bitMap.hpp:155: warning: inline function 'void BitMap::set_bit(size_t)' used but never defined
gnumake[2]: *** [adjoiningGenerations.o] Error 1


I think the gcc version was 4.3.2 and also
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

Comments
EVALUATION Fixed in hotspot-rt repostory, going to hotspot repo next week.
15-01-2009

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/37b3ca071522
15-01-2009