From owner-freebsd-stable@FreeBSD.ORG Wed May 27 14:11:34 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFDBC1065785; Wed, 27 May 2009 14:11:34 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id E7CA28FC13; Wed, 27 May 2009 14:11:33 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA29800; Wed, 27 May 2009 17:11:32 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A1D4A13.7030702@icyb.net.ua> Date: Wed, 27 May 2009 17:11:31 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.21 (X11/20090406) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Kip Macy Subject: on 'btxld: zfsboot.ldr: Invalid argument' again X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 14:11:35 -0000 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