IMPORTANT: fix for Hotspot build issue in b130/b131

Erik Trimble erik.trimble at oracle.com
Fri Feb 25 16:35:30 PST 2011


Around the b130 timeframe, we discovered an issue using precompiled
headers and certain versions of SunStudio 11 and GCC 4.

The issue manifests itself as a potential improper inclusion of the
wrong header. Thus, there will be *intermittent* build failures of the
b130 and b131 codebase.

I'd pushed a fix for Oracle's b130 codebase, but we didn't include that
fix in the OpenJDK b130 snapshot, as the fix was already present in the
Hotspot-RT repo (http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot ).  

I'll own up to forgetting to make sure they were in-sync for the
promotions.

In any case, as this produces a potential build failure, I've pushed a
new changeset (and BugID) to the master OpenJDK repo to fix the issue
Right Now.


This changeset was just pushed to
http://hg.openjdk.java.net/jdk7/jdk7/hotspot


changeset:   2096:7dc5384467e0
tag:         tip
user:        coleenp
date:        Sat Feb 12 10:28:34 2011 -0500
files:       src/share/vm/utilities/errorReporter.hpp
description:
7022659: errorHandler doesn't compile without precompiled headers
Summary: add proper includes in errorHandler.hpp
Reviewed-by: phh, kamg


It is a code duplicate of:

changeset:   2075:7aa1f99ca301
user:        coleenp
date:        Sat Feb 12 10:28:34 2011 -0500
files:       src/share/vm/utilities/errorReporter.hpp
description:
7019157: errorHandler doesn't compile with super old gcc without
precompiled headers
Summary: old gccs don't support precompiled headers so have to supply
includes
Reviewed-by: phh, kamg



I've tested the merges, and everything  merges cleanly, so there will be
no need to re-clone the entire repository.


HOWEVER, anyone using a b130 or b131 copy should IMMEDIATELY pull from
the OpenJDK hotspot master.




-- 
Erik Trimble
Java System Support
Mailstop:  usca22-317
Phone:  x67195
Santa Clara, CA
Timezone: US/Pacific (GMT-0800)



More information about the jdk7-dev mailing list