Mario Torre ([EMAIL PROTECTED]) wrote: > Il giorno lun, 31/03/2008 alle 18.37 +0200, Clemens Eisserer ha scritto: > > Hello, > > > > I wonder which version of GCC is recommended for building OpenJDK? > > 4.3 will probably not work out-of-the-box, should I downgrade to 4.2 or 4.1? > > ... > > Thanks a lot, lg Clemens > > I had to "steal" a couple of patches from icedtea to be able to build > hotspot with gcc 4-3, works fine otherwise.
FWIW, the fix for 6681796: hotspot build failure on gcc 4.2.x (ubuntu 8.04) w/ openjdk 6 went into the hotspot runtime repository a few days ago: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/f139919897d2 It should make its way up to jdk7/jdk7/hotspot fairly soon for jdk7 build 30 or 31. I expect that will allow hotspot to build on current linux distros, but I haven't tried yet. -John