* Krzysztof Halasa <[email protected]> wrote: > Ingo Molnar <[email protected]> writes: > > >> gcc version 4.0.2 20051109 (Red Hat 4.0.2-6) > > > another thing: i wanted to decrease the size of -Os > > (CONFIG_CC_OPTIMIZE_FOR_SIZE) kernels, which e.g. Fedora uses too (to > > keep the icache footprint down). > > Remember the above gcc miscompiles the x86-32 kernel with -Os: > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173764 i'm not sure what the point is. There was no sudden rush of -Os related bugs when Fedora switched to it for the kernel, and the 35% code-size savings were certainly worth it in terms of icache footprint. Yes, -Os is a major change for how the compiler works, and the kernel is a major piece of software. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Krzysztof Halasa <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Dave Jones <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- References:
- [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Ingo Molnar <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Linus Torvalds <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Arjan van de Ven <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Linus Torvalds <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Ingo Molnar <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Ingo Molnar <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Krzysztof Halasa <[email protected]>
- [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Prev by Date: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Next by Date: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Previous by thread: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Next by thread: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Index(es):