[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: defaulting to GCC-4.7 for kfreebsd



On 27/04/12 13:31, Matthias Klose wrote:
> I'm now planning to default to GCC 4.7 for amd64 and i386.  Should kfreebsd and
> the hurd do change at the same time, or should these stay with 4.6?

Hi Matthias,

As long as amd64 and i386 switch too, then I think it would be okay for
us to do the same?  But I really want to hear confirmation from Robert
and/or Christoph.

My own reasons for wanting gcc-4.7 would be:  keep consistency with
amd64/i386;  stricter checking of code, which might catch something
important for us;  hopefully less memory used by the linker.  And I
think this would be the last chance to do this before the freeze.


The most sensitive thing on kFreeBSD would be the kernel.  Upstream
still builds kfreebsd-8 with gcc-4.4.  The Debian kfreebsd packages will
ignore the system's default GCC and use gcc-4.6, so a change of default
shouldn't be an issue.

I tried anyway with gcc-4.7, and src:kfreebsd-9 successfully built a
kfreebsd-i386 kernel that seems stable for a few days now.  Also the
freebsd-utils (essential stuff for kfreebsd-* arches) were okay.

I guess upstream has spent a lot of time already fixing up code for
Clang/LLVM, which might reduce the impact of switching to gcc-4.7.

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: