From owner-freebsd-stable@FreeBSD.ORG Tue Mar 23 19:27:28 2010 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 5393F106564A for ; Tue, 23 Mar 2010 19:27:28 +0000 (UTC) (envelope-from alexz@visp.ru) Received: from mail.visp.ru (srv1.visp.ru [91.215.204.2]) by mx1.freebsd.org (Postfix) with ESMTP id 055AE8FC08 for ; Tue, 23 Mar 2010 19:27:27 +0000 (UTC) Received: from 91-215-205-255.static.visp.ru ([91.215.205.255] helo=zagrebin) by mail.visp.ru with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1Nu9l6-000OzR-W0; Tue, 23 Mar 2010 22:27:25 +0300 From: "Alexander Zagrebin" To: "'John Baldwin'" References: <74426BABA82C4FD28FDF848FB65197FF@vosz.local> <201003231009.54872.jhb@freebsd.org> Date: Tue, 23 Mar 2010 22:27:24 +0300 Keywords: freebsd-stable Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 In-Reply-To: <201003231009.54872.jhb@freebsd.org> Thread-Index: AcrKlXvVoTfOd6wUS02H4yL2CZX4QwAJLNFA Cc: freebsd-stable@freebsd.org Subject: RE: upcoming 7.3-RELEASE: zfsloader doesn't support ZFS (doesn't link with libzfsboot) 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: Tue, 23 Mar 2010 19:27:28 -0000 > On Tuesday 23 March 2010 3:41:06 am Alexander Zagrebin wrote: > > I have tried to build RELENG_7_3_0_RELEASE and have noticed > that zfsloader > > really doesn't supports ZFS due to incomplete Makefiles > (LOADER_ZFS_SUPPORT > > issue). > > Will be this issue fixed in 7.3-RELEASE? > > Can you provide the output of the errors you are seeing? There are no build errors. IMHO, to support a ZFS, the loader have to be linked with the libzfsboot. But (IMHO again) in the RELENG_7_3_0_RELEASE zfsloader builds without this library. To build zfsloader, the /usr/src/sys/boot/i386/zfsloader/Makefile contains the following most important lines: LOADER_ZFS_SUPPORT=yes ... .include "${.CURDIR}/../loader/Makefile" So the /usr/src/sys/boot/i386/loader/Makefile have to set required CFLAGS and so on, but it don't. It contains the folowing ZFS related lines: # Set by zfsloader Makefile #.if ${MK_ZFS} != "no" #CFLAGS+= -DLOADER_ZFS_SUPPORT #LIBZFS= ${.OBJDIR}/../../zfs/libzfsboot.a #.else LIBZFS= #.endif As you can see, all ZFS related stuff is commented out. So "LOADER_ZFS_SUPPORT=yes" (/usr/src/sys/boot/i386/zfsloader/Makefile) doesn't affects a build process. -- Alexander Zagrebin