build problems with gptzfsboot (AMD64) 8.0-CURRENT
Pegasus Mc Cleaft
ken at mthelicon.com
Mon Nov 24 02:41:24 PST 2008
----- Original Message -----
From: "Doug Rabson" <dfr at rabson.org>
To: "Olivier SMEDTS" <olivier at gid0.org>
Cc: <hackers at freebsd.org>; <current at freebsd.org>; "Pegasus Mc Cleaft"
<ken at mthelicon.com>; "Pascal Hofstee" <caelian at gmail.com>
Sent: Monday, November 24, 2008 10:35 AM
Subject: Re: build problems with gptzfsboot (AMD64) 8.0-CURRENT
>
> On 20 Nov 2008, at 19:41, Olivier SMEDTS wrote:
>
>> 2008/11/20 Olivier SMEDTS <olivier at gid0.org>:
>>> 2008/11/20 Olivier SMEDTS <olivier at gid0.org>:
>>>> 2008/11/20 Pascal Hofstee <caelian at gmail.com>:
>>>>> On Thu, 20 Nov 2008 01:46:31 -0000
>>>>> "Pegasus Mc Cleaft" <ken at mthelicon.com> 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.
>
Hi Doug,
Yes and thank you. I am able to build the world now :> No appologies
necessary, I'm just glad it wasent something I did on my machine (The build
failure happened exactly at the same time I moved /usr/src and /usr/obj into
a seperate zfs..
-Peg
More information about the freebsd-hackers
mailing list