[PATCHES] Building newest src/ tree with gcc3 fails.

Luigi Rizzo rizzo at icir.org
Mon Dec 3 16:49:47 PST 2007


On Tue, Dec 04, 2007 at 12:04:13AM +0000, Wojciech A. Koszek wrote:
> Hello all,
> 
> I had to rebuild my two disks, each with pre-gcc 4.x era. There seem to
> be a number of small bugs which gcc4 doesn't uncover while gcc3 does.
> Thus, several problems you can encounter with WITH_GCC3 on newest src/ tree:

i cannot tell about the 'function body not available' but some
'uninitialized' errors only come out because the compiler is not
smart enough in the analysis of execution paths. Sometimes this also
depends on the -O level used in compilation.
So technically they are not bugs in the code, though of course it
is a good idea to rewrite the source to be compatible with dumber
compilers.


cheers
luigi


More information about the freebsd-current mailing list