Re: kernel.h question

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

 



On Mon, Nov 19, 2001 at 01:16:05PM -0800, Peter Jay Salzman wrote:
> can that be right?   i was able to compile both the devfs and non-devfs
> versions of grumpy with -O3.
> 
> the only difference between the two is that -O3 implies -finline-functions,
> and -O2 doesn't.  would that really break compiling?
> 
> pete

I read somewhere that a lot of kernel code depends on the characterstics of optimization 
generated code and would simply not work without -O2. I can't provide a pointer to that info.
>From my own experience I know that without optimization at all your module would fail insmod
for unresolved symbols. I haven't tried -o3. Perhaps someone else can elaborate on this point.

-Etay Meiri
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux