Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 17:11:31 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-stable@FreeBSD.ORG
Cc:        Kip Macy <kmacy@FreeBSD.ORG>
Subject:   on 'btxld: zfsboot.ldr: Invalid argument' again
Message-ID:  <4A1D4A13.7030702@icyb.net.ua>

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

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
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A1D4A13.7030702>