[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1156538115.3038.6.camel@pmac.infradead.org>
Date: Fri, 25 Aug 2006 21:35:15 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: Rob Landley <rob@...dley.net>
Cc: linux-kernel@...r.kernel.org, linux-tiny@...enic.com,
devel@...top.org
Subject: Re: [PATCH 0/4] Compile kernel with -fwhole-program --combine
On Fri, 2006-08-25 at 16:11 -0400, Rob Landley wrote:
> BusyBox has been doing this for months now: "build at once" is one of our
> config options. I'd like to point out that gcc eats needs several hundred
> megabytes of ram to do this and you have no useful progress indicator between
> starting and ending. But the result is definitely smaller.
It isn't that bad when you're only building a few files at a time -- I
wouldn't suggest doing it for the whole kernel.
And you get a nice progress indicator at the moment -- a new warning
about global register variables every time it eats a new file, due to
GCC PR27899 :)
> We also tell the linker "--sort-common --gc-sections" which may or may not
> apply here...
We want --gc-sections (which requires -ffunction-sections
-fdata-sections to be useful) but that's a separate issue. We were doing
it a long time ago for the FR-V kernel; Marcelo has been looking at it
recently for other architectures.
--
dwmw2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists