On 22/07/2008, Andrew Haley <[EMAIL PROTECTED]> wrote: > Kelly O'Hair wrote: > > > > > > Jeffrey Baker wrote: > >> On Tue, Jul 22, 2008 at 12:17 PM, Kelly O'Hair <[EMAIL PROTECTED]> > >> wrote: > >>> Jeffrey Baker wrote: > > [snip] > >> > >>>> Second problem: the build dumped core in test_gamma with an error in > >>>> ciTypeFlow.hpp:395. I filed this bug at sun.com with Review ID > >>>> 1299675. I worked around this by exiting the test_gamma script early. > >>> Since you are using a newer gcc compiler, it's quite possible you have > >>> found a bug of some kind, in gcc or in hotspot or somewhere in between. > >>> You may want to see about trying a different gcc to isolate what the > >>> issue might be. > >> > >> What is the officially blessed compiler? This one appears to be gcc > >> 4.2.3, but I have numerous other revisions of gcc kicking around, > >> including 4.1 and 4.2. > > > > You won't like this, but it's 3.2. > > We get gcc from the Linux system, and unfortunately we haven't upgraded > > the official Linux systems for JDK7, yet. > > I know people have used gcc4, but I don't know what the exact version is. > > > > Maybe someone from one of the linux distros and speak up on this topic?? > > > We have used 4.1 and 4.3. We don't much like 4.2 so we're not going to > use it. > > > Andrew. >
I've successfully built b31 with gcc 4.3.1 via IcedTea7: ./openjdk/build/linux-amd64/bin/java -version java version "1.7.0_0" IcedTea Runtime Environment (build 1.7.0_0-b31) OpenJDK 64-Bit Server VM (build 1.7.0_0-b31, mixed mode) Notably, we were able to drop a patch from IcedTea that removes the -Werror flag because the gcc 4.3 problems have been fixed: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6718830 -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8