on 'btxld: zfsboot.ldr: Invalid argument' again

Ruben van Staveren ruben at verweg.com
Wed May 27 14:48:44 UTC 2009


On 27 May 2009, at 16:11, Andriy Gapon wrote:

>
> So I have LOADER_ZFS_SUPPORT=yes in make.conf, building the most  
> recent stable/7
> and I am getting:
> ...
> btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/ 
> zfsboot/../btx/btx/btx
> -l zfsboot.ldr  -o zfsboot.ld -P 1 zfsboot.bin
> btxld: zfsboot.ldr: Invalid argument
>
> The problem seems to be that /usr/bin/btxld can not properly

Shouldn't it be able to bootstrap itself using the btxld from the  
current build instead of what is installed ?
Are we sure the btxld residing somewhere in /usr/obj is used during  
builds instead of the one in /usr/bin ?

> handle '-l zfsboot.ldr.'
> On the other hand, freshly built btxld in /usr/obj can handle it  
> very well.
> So I worked around this by making a small temporary hack in zfsboot/ 
> Makefile.
>
> But what is the proper solution for such source upgrade scenarios?
>
> -- 
> Andriy Gapon
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org 
> "
>

Regards,
	Ruben


More information about the freebsd-stable mailing list