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

From: David Woodhouse
Date: Fri Aug 25 2006 - 05:34:44 EST


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

-
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/