United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7172226 : HotSpot fails to build with GCC 4.7 because of stricter c++ argument dependent lookup

Details
Type:
Bug
Submit Date:
2012-05-28
Status:
Resolved
Updated Date:
2013-06-19
Project Name:
JDK
Resolved Date:
2012-06-16
Component:
hotspot
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs24
Fixed Versions:
hs24 (b14)

Related Reports
Backport:
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
GCC 4.7 fails to compile HotSpot because they have changed the rules for unqualified lookup in templates
The recent templatification of binaryTreeDictionary (9f059abe8cf2) does not follow these stricter rules and this causes gcc to not accept the sources.

The GCC fix is that introduces this is:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24163

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/a297b0e14605
                                     
2012-06-29
EVALUATION

GCC 4.7 is more strict about name lookup to parent classes dependent on template parameters.
                                     
2012-06-04
SUGGESTED FIX

Use "using" keyword to import the correct functions into the subclass namespace.
                                     
2012-06-04
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/a297b0e14605
                                     
2012-06-04



Hardware and Software, Engineered to Work Together