README
author johnc
Wed, 18 Aug 2010 10:59:06 -0700
changeset 6263 9bce7c2a073f
parent 0 fd16c54261b3
child 7360 39aa1820e934
permissions -rw-r--r--
6977924: Changes for 6975078 produce build error with certain gcc versions Summary: The changes introduced for 6975078 assign badHeapOopVal to the _allocation field in the ResourceObj class. In 32 bit linux builds with certain versions of gcc this assignment will be flagged as an error while compiling allocation.cpp. In 32 bit builds the constant value badHeapOopVal (which is cast to an intptr_t) is negative. The _allocation field is typed as an unsigned intptr_t and gcc catches this as an error. Reviewed-by: jcoomes, ysr, phh
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
fd16c54261b3 Initial load
duke
parents:
diff changeset
     1
README:
fd16c54261b3 Initial load
duke
parents:
diff changeset
     2
  This file should be located at the top of the OpenJDK Mercurial repository
fd16c54261b3 Initial load
duke
parents:
diff changeset
     3
  forest. This top or enclosing repository will include a "make" directory,
fd16c54261b3 Initial load
duke
parents:
diff changeset
     4
  and a Makefile at the very top of the repository.
fd16c54261b3 Initial load
duke
parents:
diff changeset
     5
  It should also include the 6 repositories: "jdk", "hotspot", "langtools",
fd16c54261b3 Initial load
duke
parents:
diff changeset
     6
  "corba", "jaxws"  and "jaxp".
fd16c54261b3 Initial load
duke
parents:
diff changeset
     7
fd16c54261b3 Initial load
duke
parents:
diff changeset
     8
  See http://openjdk.java.net/ for more information about the OpenJDK.
fd16c54261b3 Initial load
duke
parents:
diff changeset
     9
fd16c54261b3 Initial load
duke
parents:
diff changeset
    10
Simple Build Instructions:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    11
fd16c54261b3 Initial load
duke
parents:
diff changeset
    12
  1. Download and install a JDK 6 from
fd16c54261b3 Initial load
duke
parents:
diff changeset
    13
     http://java.sun.com/javase/downloads/index.jsp
fd16c54261b3 Initial load
duke
parents:
diff changeset
    14
     Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    15
fd16c54261b3 Initial load
duke
parents:
diff changeset
    16
  2. Download and install the Binary Plugs for the most recent JDK7 from
fd16c54261b3 Initial load
duke
parents:
diff changeset
    17
     http://download.java.net/openjdk/jdk7/
fd16c54261b3 Initial load
duke
parents:
diff changeset
    18
     Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
fd16c54261b3 Initial load
duke
parents:
diff changeset
    19
     these binary plugs.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    20
     
fd16c54261b3 Initial load
duke
parents:
diff changeset
    21
  3. Check the sanity of doing a build with the current machine:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    22
       gnumake sanity
fd16c54261b3 Initial load
duke
parents:
diff changeset
    23
     See README-builds.html if you run into problems.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    24
  
fd16c54261b3 Initial load
duke
parents:
diff changeset
    25
  4. Do a complete build of the jdk:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    26
       gnumake all
fd16c54261b3 Initial load
duke
parents:
diff changeset
    27
     The resulting JDK image should be found in build/*/j2sdk-image
fd16c54261b3 Initial load
duke
parents:
diff changeset
    28
fd16c54261b3 Initial load
duke
parents:
diff changeset
    29
where gnumake is GNU make 3.78.1 or newer, /usr/bin/make on Linux and
fd16c54261b3 Initial load
duke
parents:
diff changeset
    30
/usr/sfw/bin/gmake or /opt/sfw/bin/gmake on Solaris.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    31