From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 10:35:21 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 052511065708; Mon, 24 Nov 2008 10:35:21 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id ADB0D8FC1A; Mon, 24 Nov 2008 10:35:20 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc] (unknown [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id 89A3A3FB8; Mon, 24 Nov 2008 10:34:06 +0000 (GMT) Message-Id: <16BCBB6C-2BF4-4007-9A19-9976BEBAAD1E@rabson.org> From: Doug Rabson To: Olivier SMEDTS In-Reply-To: <367b2c980811201141j42977204ne6052000a0d095ab@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 24 Nov 2008 10:35:19 +0000 References: <20081120134836.2870a827@nebuchadnezzar> <367b2c980811201038s7d2ae03bnf36a6630f36bc188@mail.gmail.com> <367b2c980811201107x7fc859b8yeee0816a37eae470@mail.gmail.com> <367b2c980811201141j42977204ne6052000a0d095ab@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: ClamAV 0.92/8669/Mon Nov 24 08:21:48 2008 on itchy.rabson.org X-Virus-Status: Clean Cc: hackers@freebsd.org, current@freebsd.org, Pegasus Mc Cleaft , Pascal Hofstee Subject: Re: build problems with gptzfsboot (AMD64) 8.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 10:35:21 -0000 On 20 Nov 2008, at 19:41, Olivier SMEDTS wrote: > 2008/11/20 Olivier SMEDTS : >> 2008/11/20 Olivier SMEDTS : >>> 2008/11/20 Pascal Hofstee : >>>> On Thu, 20 Nov 2008 01:46:31 -0000 >>>> "Pegasus Mc Cleaft" wrote: >>>> >>>>> Hi everyone, >>>>> >>>>> I am having difficulties rebuilding the world after some >>>>> patches >>>>> were made today. I was wondering if anyone else is experiencing >>>>> the >>>>> same troubles? >>>>> >>>>> ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext >>>>> 0x0 -o >>>>> gptzfsboot.out /usr/obj/usr/src/sys/boot/i386/gptzfsboot/../btx/ >>>>> lib/crt0.o >>>>> zfsboot.o sio.o gptzfsboot.o ld: gptzfsboot.o: No such file: No >>>>> such >>>>> file or directory *** Error code 1 >>>>> >>>>> Stop in /usr/src/sys/boot/i386/gptzfsboot. >>>>> *** Error code 1 >>>> >>>> I am experiencing the exact same problem with a fresh svn checkout >>> >>> Just my "me too". >>> I did not experience the problem 24 hours ago (after ZFS version 13 >>> update and zfsboot import). >> >> That's it. Seems to work with the following patch : >> >> --- sys/boot/i386/gptzfsboot/Makefile.orig 2008-11-20 >> 19:58:45.000000000 +0100 >> +++ sys/boot/i386/gptzfsboot/Makefile 2008-11-20 >> 20:01:53.000000000 +0100 >> @@ -65,7 +65,7 @@ >> zfsboot.o: ${.CURDIR}/../../zfs/zfsimpl.c >> >> .if ${MACHINE_ARCH} == "amd64" >> -beforedepend gptzfsboot.o: machine >> +beforedepend gptzfsboot.bin: machine >> CLEANFILES+= machine >> machine: >> ln -sf ${.CURDIR}/../../../i386/include machine > > Sorry for replying again to my own post :) > The patch is crap, in fact it just breaks the already broken > conditional. At least I can buildworld on amd64 now (I don't use the > recently introduced gptzfsboot). > > Makefile experts ? I think I fixed this in r185175. Sorry for the inconvenience.