Re: [PATCH 2/4] Core support for --combine -fwhole-program

David Woodhouse
2006-08-25T09:37:28Z

On Thu, 2006-08-24 at 23:33 +0200, Adrian Bunk wrote:
> If a "build everything except for assembler files at once" approach is
> possible, it should be possible to revert this and get even further
> savings.

Only if we build _everything_ at once, which may take an insane amount
of RAM. Doing it a directory at a time makes a certain amount of sense,
and tends to combine the most incestuous code -- although maybe
combinations like building arch/$ARCH/kernel/ with kernel/ (and likewise
mm) could be an interesting experiment.

I suspected that most of the 'further savings' to which you refer above
could be achieved more easily with -ffunction-sections -fdata-sections
--gc-sections

--
dwmw2