Re: build problems with gptzfsboot (AMD64) 8.0-CURRENT

From: Olivier SMEDTS <olivier_at_gid0.org>
Date: Thu, 20 Nov 2008 20:41:11 +0100
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
> _at__at_ -65,7 +65,7 _at__at_
>  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've cc'ed current_at_ because HEAD is broken on amd64 for now.
>
> Cheers,
>
> Olivier
>
>
>>
>>>
>>> --
>>>  Pascal Hofstee
>>> _______________________________________________
>>> freebsd-hackers_at_freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe_at_freebsd.org"
>>>
>>
>>
>>
>> --
>> Olivier Smedts                                                 _
>>                                        ASCII ribbon campaign ( )
>> e-mail: olivier_at_gid0.org        - against HTML email & vCards  X
>> www: http://www.gid0.org    - against proprietary attachments / \
>>
>>  "Il y a seulement 10 sortes de gens dans le monde :
>>  ceux qui comprennent le binaire,
>>  et ceux qui ne le comprennent pas."
>>
>
>
>
> --
> Olivier Smedts                                                 _
>                                        ASCII ribbon campaign ( )
> e-mail: olivier_at_gid0.org        - against HTML email & vCards  X
> www: http://www.gid0.org    - against proprietary attachments / \
>
>  "Il y a seulement 10 sortes de gens dans le monde :
>  ceux qui comprennent le binaire,
>  et ceux qui ne le comprennent pas."
>



-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier_at_gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
Received on Thu Nov 20 2008 - 18:41:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC