[EMAIL PROTECTED] wrote:
> Hello, I have a problem with -CURRENT. As I try to btxld:
> 
> /usr/src/sys/boot/i386/boot2
> 
> btxld -v -E 0x2000 -f bin -b
> /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o
> boot2.ld -P 1 boot2.bin
> kernel: ver=1.01 size=780 load=9000 entry=9010 map=16M pgctl=1:1
> client: fmt=bin size=1691 text=0 data=0 bss=0 entry=0
> output: fmt=bin size=1f25 text=114 data=1e11 org=0 entry=0
> -293 bytes available
> *** Error code 1
> 
> Assumption: -293 bytes available is due to some sector mapping on the
> disk of some kind, where we need boot2 to fit into.

This is caused by Kirk Mckusick's recent commits to src/sys/ufs/ffs/fs.h
where he changed a couple of macros to do operations with 64 bit precision
instead of 32 bit like before (and that was a bug).  Unfortunately, gcc/i386
is really inefficient at doing 64 bit operations and this has blown boot2's
code size through the roof.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to