On Fri, 22 Mar 2013 13:41:25 +0800, ishare said:
Is it needed or must to compile fs and driver with -O2 option when
compiling kernel ?
It's not strictly mandatory to use -O2 (for a while, -Os was the default). There
are a few places that for correctness, you *cannot* use -O0. For instance,
On Fri, Mar 22, 2013 at 09:55:53AM -0400, valdis.kletni...@vt.edu wrote:
On Fri, 22 Mar 2013 13:41:25 +0800, ishare said:
Is it needed or must to compile fs and driver with -O2 option when
compiling kernel ?
It's not strictly mandatory to use -O2 (for a while, -Os was the default).
On Fri, 22 Mar 2013 22:32:40 +0800, ishare said:
are a few places that for correctness, you *cannot* use -O0. For instance,
a
few places where we use builtin_return_address() inside an inline (-O0
won't inline so builtin_return_address() ends up returning a pointer to
a function when we
On Fri, 22 Mar 2013 10:52:56 -0400, valdis.kletni...@vt.edu said:
No debug information is stripped by -O2. Debug information isn't emitted if
you don't compile with -g. At one time, long ago (quite possibly literally
before you were born for some of the younger readers on the list), gcc was
Is it needed or must to compile fs and driver with -O2 option when compiling
kernel ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies