[haiku-development] Re: zlib & bootloader on m68k
- From: "François Revol" <revol@xxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 29 Apr 2009 03:50:59 +0200 CEST
> I've been having trouble with zlib on the m68k floppy...
> it's giving an error on some data, first it was on the 1st 2k block,
> then I noticed libz.a was included in the loader + inflate.c was
> again
> included in tarfs/Jamfile... any reason to include the userland zlib
> this way ??? (+ it was giving an error but leaving the msg to
> NULL...)
I'll commit a change to build it separately for the bootloader, works
fine here on both 68k & x86.
>
> it ends up on bad data error...
> Any idea ?
>
> I can't help but think the fact it stops at 1440th block is not a
> coincidence.
Nevermind ARAnyM was just blindly trusting the boot sector data which
told it it was a 720kB disk and it was happily overflowing back to the
start of it...
François.
Other related posts: