United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6793825 Missing include dependancies for GCC without predefined headers
JDK-6793825 : Missing include dependancies for GCC without predefined headers

Details
Type:
Bug
Submit Date:
2009-01-14
Status:
Closed
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2009-02-11
Component:
hotspot
OS:
linux
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs15
Fixed Versions:
hs15 (b01)

Related Reports
Backport:
Backport:

Sub Tasks

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

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

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



Hardware and Software, Engineered to Work Together