Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers



On Thu, Dec 29, 2005 at 08:41:07AM +0100, Ingo Molnar wrote:
>
> * Krzysztof Halasa <khc@xxxxxxxxx> wrote:
>
> > Ingo Molnar <mingo@xxxxxxx> 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.

The bug referenced is also fixed in gcc 4.1

Dave

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



Relevant Pages

  • Re: Development tree, PLEASE?
    ... hardware reliably/runs on most hardware reliably is one part, the other part is limited change, usually limited to bugfixes and minor feature fixes or updates. ... This means that instead of having to take how ever many of lines of difference, and any of those potential new bugs etc, to a much reduced set that just deals with specific subsections in order to close specific bugs. ... Worse than that because there is so much major change now I have to stress test basically every kernel before we can actually start to use it at my day job. ...
    (Linux-Kernel)
  • Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
    ... bugs when Fedora switched to it for the kernel, ... savings were certainly worth it in terms of icache footprint. ... is a major change for how the compiler works, and the kernel is a major ...
    (Linux-Kernel)
  • Re: [PATCH] Blacklist binary-only modules lying about their license
    ... >> more support in the kernel to support WINE. ... > All software has bugs. ... > is not only horribly immoral, it's also likely illegal under the DMCA. ...
    (Linux-Kernel)
  • Re: 2.6.16-rc6-rt1
    ... You can enable it via CONFIG_RT_MUTEX_TESTER, and the userspace scripts ... Try to compile the kernel ... out where the bugs really were. ... You mean that you have to run deadlock detection for all futexes to avoid ...
    (Linux-Kernel)
  • Re: [bug] build failure in net/netfilter/nf_conntrack_sip.c, on latest -git
    ... about how people should do this or that wrt. kernel development. ... state of trees that will be merged to Linus in the future. ... I'm not out here looking for bugs. ... that is larger and even more central one than networking. ...
    (Linux-Kernel)