Recommended GCC version?
David Holmes - Sun Microsystems
David.Holmes at Sun.COM
Thu Jun 19 16:30:54 PDT 2008
Do we need to be careful about the word "recommended" here? There is a
big difference between "compiles fine" and "works fine". Anyone using
alternate compilers to build the JDK (Hotspot in particular) may
encounter compiler specific bugs at runtime.
Do we have a big disclaimer/warning somewhere about this? Any bug
reports would need to include which compiler was used.
John Coomes said the following on 06/20/08 06:54:
> Mario Torre (neugens at limasoftware.net) wrote:
>> Il giorno lun, 31/03/2008 alle 18.37 +0200, Clemens Eisserer ha scritto:
>>> 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:
> 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.
More information about the build-dev