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

2008-11-24 Thread Doug Rabson


On 20 Nov 2008, at 19:41, Olivier SMEDTS wrote:


2008/11/20 Olivier SMEDTS [EMAIL PROTECTED]:

2008/11/20 Olivier SMEDTS [EMAIL PROTECTED]:

2008/11/20 Pascal Hofstee [EMAIL PROTECTED]:

On Thu, 20 Nov 2008 01:46:31 -
Pegasus Mc Cleaft [EMAIL PROTECTED] 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.0 +0100
+++ sys/boot/i386/gptzfsboot/Makefile   2008-11-20  
20:01:53.0 +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.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-11-24 Thread Pegasus Mc Cleaft


- Original Message - 
From: Doug Rabson [EMAIL PROTECTED]

To: Olivier SMEDTS [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Pegasus Mc Cleaft 
[EMAIL PROTECTED]; Pascal Hofstee [EMAIL PROTECTED]

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 [EMAIL PROTECTED]:

2008/11/20 Olivier SMEDTS [EMAIL PROTECTED]:

2008/11/20 Pascal Hofstee [EMAIL PROTECTED]:

On Thu, 20 Nov 2008 01:46:31 -
Pegasus Mc Cleaft [EMAIL PROTECTED] 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.0 +0100
+++ sys/boot/i386/gptzfsboot/Makefile   2008-11-20  20:01:53.0 
+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

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-11-20 Thread Pascal Hofstee
On Thu, 20 Nov 2008 01:46:31 -
Pegasus Mc Cleaft [EMAIL PROTECTED] 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

-- 
  Pascal Hofstee
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-11-20 Thread Olivier SMEDTS
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.

Olivier


2008/11/20 Olivier SMEDTS [EMAIL PROTECTED]:
 2008/11/20 Pascal Hofstee [EMAIL PROTECTED]:
 On Thu, 20 Nov 2008 01:46:31 -
 Pegasus Mc Cleaft [EMAIL PROTECTED] 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).


 --
  Pascal Hofstee
 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]




 --
 Olivier Smedts _
ASCII ribbon campaign ( )
 e-mail: [EMAIL PROTECTED]- 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: [EMAIL PROTECTED]- 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.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-11-20 Thread Olivier SMEDTS
2008/11/20 Pascal Hofstee [EMAIL PROTECTED]:
 On Thu, 20 Nov 2008 01:46:31 -
 Pegasus Mc Cleaft [EMAIL PROTECTED] 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).


 --
  Pascal Hofstee
 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]




-- 
Olivier Smedts _
ASCII ribbon campaign ( )
e-mail: [EMAIL PROTECTED]- 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.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-11-20 Thread Olivier SMEDTS
2008/11/20 Olivier SMEDTS [EMAIL PROTECTED]:
 2008/11/20 Pascal Hofstee [EMAIL PROTECTED]:
 On Thu, 20 Nov 2008 01:46:31 -
 Pegasus Mc Cleaft [EMAIL PROTECTED] 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.0 +0100
+++ sys/boot/i386/gptzfsboot/Makefile   2008-11-20 20:01:53.0 +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

I've cc'ed current@ because HEAD is broken on amd64 for now.

Cheers,

Olivier




 --
  Pascal Hofstee
 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]




 --
 Olivier Smedts _
ASCII ribbon campaign ( )
 e-mail: [EMAIL PROTECTED]- 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: [EMAIL PROTECTED]- 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.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-11-20 Thread Olivier SMEDTS
2008/11/20 Olivier SMEDTS [EMAIL PROTECTED]:
 2008/11/20 Olivier SMEDTS [EMAIL PROTECTED]:
 2008/11/20 Pascal Hofstee [EMAIL PROTECTED]:
 On Thu, 20 Nov 2008 01:46:31 -
 Pegasus Mc Cleaft [EMAIL PROTECTED] 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.0 +0100
 +++ sys/boot/i386/gptzfsboot/Makefile   2008-11-20 20:01:53.0 +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've cc'ed current@ because HEAD is broken on amd64 for now.

 Cheers,

 Olivier




 --
  Pascal Hofstee
 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]




 --
 Olivier Smedts _
ASCII ribbon campaign ( )
 e-mail: [EMAIL PROTECTED]- 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: [EMAIL PROTECTED]- 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: [EMAIL PROTECTED]- 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.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-11-20 Thread Pegasus Mc Cleaft
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.

 Olivier

 2008/11/20 Olivier SMEDTS [EMAIL PROTECTED]:
  2008/11/20 Pascal Hofstee [EMAIL PROTECTED]:
  On Thu, 20 Nov 2008 01:46:31 -
 
  Pegasus Mc Cleaft [EMAIL PROTECTED] 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
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-11-20 Thread Olivier SMEDTS
On Thu, Nov 20, 2008 at 07:49:06PM +, 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.

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 [EMAIL PROTECTED]:
   2008/11/20 Pascal Hofstee [EMAIL PROTECTED]:
   On Thu, 20 Nov 2008 01:46:31 -
  
   Pegasus Mc Cleaft [EMAIL PROTECTED] 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: [EMAIL PROTECTED] - 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.
--- boot2/Makefile.orig 2008-11-20 20:56:31.0 +0100
+++ boot2/Makefile  2008-11-20 20:56:42.0 +0100
@@ -94,11 +94,4 @@
ORG1=`printf %d ${ORG1}` \
REL1=`printf %d ${REL1}`  ${.TARGET}
 
-.if ${MACHINE_ARCH} == amd64
-beforedepend boot2.s: machine
-CLEANFILES+=   machine
-machine:
-   ln -sf ${.CURDIR}/../../../i386/include machine
-.endif
-
 .include bsd.prog.mk
--- gptboot/Makefile.orig   2008-11-20 20:50:34.0 +0100
+++ gptboot/Makefile2008-11-20 20:50:40.0 +0100
@@ -67,11 +67,4 @@
 
 gptboot.o: ${.CURDIR}/../../common/ufsread.c
 
-.if ${MACHINE_ARCH} == amd64
-beforedepend gptboot.o: machine
-CLEANFILES+=   machine
-machine:
-   ln -sf ${.CURDIR}/../../../i386/include machine
-.endif
-
 .include bsd.prog.mk
--- libfirewire/Makefile.orig   2008-11-20 20:56:07.0 +0100
+++ libfirewire/Makefile2008-11-20 20:56:18.0 +0100
@@ -16,15 +16,4 @@
 
 CFLAGS+=   -Wformat -Wall
 
-.if ${MACHINE_ARCH} == amd64
-CLEANFILES+=machine
-machine:
-   ln -sf ${.CURDIR}/../../../i386/include machine
-.endif
-
 .include bsd.lib.mk
-
-.if ${MACHINE_ARCH} == amd64
-beforedepend ${OBJS}: machine
-.endif
-
--- libi386/Makefile.orig   2008-11-20 20:55:38.0 +0100
+++ libi386/Makefile2008-11-20 20:55:55.0 +0100
@@ -45,14 +45,4 @@
 # the location of libstand
 CFLAGS+=   -I${.CURDIR}/../../../../lib/libstand/
 
-.if ${MACHINE_ARCH} == amd64
-CLEANFILES+=   machine
-machine:
-   ln -sf ${.CURDIR}/../../../i386/include machine
-.endif
-
 .include bsd.lib.mk
-
-.if ${MACHINE_ARCH} == amd64
-beforedepend ${OBJS}: machine
-.endif
--- loader/Makefile.orig2008-11-20 20:54:43.0 +0100
+++ loader/Makefile 2008-11-20 20:54:58.0 +0100
@@ -110,10 +110,3 @@
 LDADD= ${LIBFICL} ${LIBFIREWIRE} ${LIBZFS} ${LIBI386} -lstand
 
 .include bsd.prog.mk
-
-.if ${MACHINE_ARCH} == amd64
-beforedepend ${OBJS}: machine
-CLEANFILES+=   machine
-machine:
-   ln -sf ${.CURDIR}/../../../i386/include machine
-.endif
--- zfsboot/Makefile.orig   2008-11-20 20:54:18.0 +0100
+++ zfsboot/Makefile2008-11-20 20:54:27.0 +0100
@@ -98,11 +98,4 @@
ORG1=`printf %d ${ORG1}` \
REL1=`printf %d ${REL1}`  ${.TARGET}
 
-.if ${MACHINE_ARCH} == amd64
-beforedepend zfsboot.s: machine
-CLEANFILES+=   machine
-machine:
-   ln -sf ${.CURDIR}/../../../i386/include machine
-.endif
-
 .include bsd.prog.mk
--- gptzfsboot/Makefile.orig2008-11-20 19:58:45.0 +0100
+++ gptzfsboot/Makefile 2008-11-20 20:50:25.0 +0100
@@ -64,11 +64,4 @@
 
 zfsboot.o: ${.CURDIR}/../../zfs/zfsimpl.c
 
-.if ${MACHINE_ARCH} == amd64
-beforedepend gptzfsboot.o: machine
-CLEANFILES+=   machine
-machine:
-   ln -sf ${.CURDIR}/../../../i386/include machine
-.endif
-
 .include bsd.prog.mk
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]

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

2008-11-20 Thread Olivier SMEDTS
2008/11/20 Olivier SMEDTS [EMAIL PROTECTED]:
 On Thu, Nov 20, 2008 at 07:49:06PM +, 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 [EMAIL PROTECTED]:
   2008/11/20 Pascal Hofstee [EMAIL PROTECTED]:
   On Thu, 20 Nov 2008 01:46:31 -
  
   Pegasus Mc Cleaft [EMAIL PROTECTED] 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: [EMAIL PROTECTED]- 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.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


build problems with gptzfsboot (AMD64) 8.0-CURRENT

2008-11-19 Thread Pegasus Mc Cleaft
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

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
feathers#
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]