Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: [matt-nb5-mips64] src/sys/conf
- Subject: Re: CVS commit: [matt-nb5-mips64] src/sys/conf
- From: David Laight <david%l8s.co.uk@localhost>
- Date: Sat, 5 Sep 2009 10:45:52 +0100
On Sat, Sep 05, 2009 at 07:01:51PM +1000, Simon Burge wrote:
> matthew green wrote:
>
> > > I see no reason to make it fatal.
> >
> > Otherwise we cannot detect errors on release build,
> > i.e. no ksym(4) supports.
> >
> > > It means that when I build a kernel
> > > with
> > > DEBUG, my kernel build will fail. That's stupid.
> >
> > Then disable it only if DEBUG, or keep it only in your local tree.
> >
> >
> > why can't we make it size for DEBUG builds and not fail anywhere?
>
> The proper fix would be to dynamically size this somehow, so that no
> space is ever wasted.
One possible option is to 'ld -r' all the kernel except the symtab bit.
Then generate the symtab data (or just its size!) and include in a
final link phase.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index