[Hyrum K Wright] > Although I don't know if this has any impact on the processor > i-cache, I still don't see much reason for using '-g -O2' in > non-maintainer mode.
As others have said, no, it should have no effect on the icache, at least on systems I know (mainly ELF). The debug section isn't even loaded into memory at runtime, it's just sitting there eating disk until someone like gdb comes along and reads it explicitly. With my Linux distribution packager hat on, though, I wouldn't mind if the default were changed. I'd change it back so I could provide out-of-band debug symbols in my packages, but overriding CFLAGS at build time is so trivial that anyone doing any special handling like this shouldn't really be inconvenienced. -- Peter Samuelson | org-tld!p12n!peter | http://p12n.org/