Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2003 11:20:29 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Alfred Perlstein <bright@mu.org>
Cc:        cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, "David E. O'Brien" <obrien@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/boot/common ufsread.c
Message-ID:  <XFMail.20030225112029.jhb@FreeBSD.org>
In-Reply-To: <20030225012409.GO27224@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25-Feb-2003 Alfred Perlstein wrote:
> * David E. O'Brien <obrien@FreeBSD.org> [030224 16:10] wrote:
>> obrien      2003/02/24 16:10:20 PST
>> 
>>   Modified files:
>>     sys/boot/common      ufsread.c 
>>   Log:
>>   Only apply rev 1.10 (which hacks around the i386 boot2 being too big for
>>   both ufs1 and ufs2 support) on i386.
> 
> Wouldn't it be possible to add a dependancy to "all" (possibly) that
> would compare the size of the generated binary to something and cause
> the target to fail if it was too big?
> 
> This could catch such things early.

That's pretty much what happened.  It prints out how many bytes over it
is and then fails.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030225112029.jhb>