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

From: Olivier SMEDTS <olivier_at_gid0.org>
Date: Thu, 20 Nov 2008 22:51:59 +0100
2008/11/20 Olivier SMEDTS <olivier_at_gid0.org>:
> On Thu, Nov 20, 2008 at 07:49:06PM +0000, Pegasus Mc Cleaft wrote:
>> On Thursday 20 November 2008 18:57:53 Olivier SMEDTS wrote:
>> > What is your MACHINE_ARCH ?
>> > Mine is amd64, I think there's a problem with the conditional in
>> > sys/boot/i386/gptzfsboot/Makefile.
>> > ld doesn't need gptzfsboot.o on i386.
>
> Now I think I've got it :
>
> All the '.if ${MACHINE_ARCH} == "amd64"' which replace the amd64 machine
> link with an i386 one are useless on 7.0 and -CURRENT since rev. 1.17 of
> sys/boot/efi/libefi/Makefile. This file already takes care of replacing
> MACHINE_ARCH. And I don't think zfs*boot will be in 6-STABLE.

Wow, still not good... I was too enthusiastic while waiting for a
fresh buildworld to finish. It worked without cleaning though
(buildworld without patch then patch then make clean in sys/boot/i386
then finish buildworld without cleaning).
Must have missed something. I give up for today, I think I really must sleep :)


>
> You can apply the following patch in sys/boot/i386. I'll submit a PR if
> it's not committed before.
>
> Cheers,
> Olivier
>
>
>> >
>> > Olivier
>> >
>> > 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?
>>
>>  <SNIP>
>>
>> Hi Oliver,
>>       My machine is an Core2 Quad running under AMD64. (CPUTYPE?=core2)
>>
>>       Thanks for replying. It puts my mind to ease because I was thinking it was a
>> problem I created (I recently moved the /usr/src directory into a seperate zfs
>> filing system)
>>
>> Peg

-- 
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 - 20:52:01 UTC

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