Re: Kernel GCC Optimizations

John Bradford (john@grabjohn.com)
Sat, 21 Dec 2002 18:11:39 +0000 (GMT)


> Is there any risk using -O3 instead of -O2 to compile the kernel, and why?

* It might uncover subtle bugs that would otherwise not occur.

* Compiling with unusual options means that less people will know about
any problems it causes you.

> Also what about compiling against glibc 2.3.1 and gcc 3.2.x??

The kernel does not use glibc functions, so you can compile the kernel
and glibc with different compilers.

Bug reports about GCC 3.2.x compiled kernels will probably be welcomed
by most developers.

John.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/