Recommended GCC version?
aph at redhat.com
Mon Jun 23 08:38:55 PDT 2008
David Holmes - Sun Microsystems wrote:
> Andrew Haley said the following on 06/20/08 20:55:
>> The changes we had to make to build OpenJDK with gcc 4.3 were to fix
>> nonstandard C++ code and to turn off -Werror because gcc 4.3 is much
>> more fulsome in its warnings. Rather than insist on using an older
>> compiler, we would probably be better off fixing the code that
>> generates the warnings.
> It isn't compilation that is the issue (we should certainly fix the
> OpenJDK code to compile cleanly on a standards-compliant compiler) but
> the actual runtime behaviour of the compiled code. WE don't "recommend"
> the old compiler because it allows old sloppy code to get through, but
> because we've already uncovered the bugs that affect us at runtime,
> through literally years of use and testing.
Sure. I was counselling against the (oft-seen) practice of using an old
compiler because the code doesn't run on the new one.
More information about the build-dev