buildworld broken on globaldata.h

2001-12-12 Thread Poul-Henning Kamp


My buildworld breaks:

[...]
/flat/src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c:52: machine/globaldata.h: No 
such file or directory

Any workarounds/fixes ?

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



RE: buildworld broken on globaldata.h

2001-12-12 Thread Alan Edmonds

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of 
 Poul-Henning Kamp
 Sent: 12 December 2001 11:43
 To: [EMAIL PROTECTED]
 Subject: buildworld broken on globaldata.h
 
 
 
 My buildworld breaks:
 
 [...]
 /flat/src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c:52: 
 machine/globaldata.h: No 
 such file or directory
 
 Any workarounds/fixes ?

Ditto here.  I just tried a rm -fr /usr/obj and then make buildworld. 
It's still running but it's a slow machine.

Alan Edmonds


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: buildworld broken on globaldata.h

2001-12-12 Thread Harti Brandt

On Wed, 12 Dec 2001, Poul-Henning Kamp wrote:

PK
PKMy buildworld breaks:
PK
PK[...]
PK/flat/src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c:52: machine/globaldata.h: No
PKsuch file or directory
PK
PKAny workarounds/fixes ?

This was broken by jhb's large commit yesterday to break globaldata in MI
and MD parts. The following patch to
gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c let's you compile gdb. Don't know
whether it works. Maybe there are other problems further down in the
buildworld (mine is still working)

harti

Index: kvm-fbsd.c
===
RCS file: /usr/ncvs/src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c,v
retrieving revision 1.32
diff -r1.32 kvm-fbsd.c
52c52,53
 #include machine/globaldata.h
---
 #include sys/pcpu.h
 #include machine/pcpu.h
121c122
   offsetof(struct globaldata, gd_ ## name)
---
   offsetof(struct pcpu, pc_ ## name)
788,789c789,790
   struct globaldata lgd;
   struct globaldata *gd;
---
   struct pcpu lgd;
   struct pcpu *gd;
794c795
   for (; gd != NULL; gd = SLIST_NEXT (lgd, gd_allcpu))
---
   for (; gd != NULL; gd = SLIST_NEXT (lgd, pc_allcpu))
797c798
   if (lgd.gd_cpuid == cpuid)
---
   if (lgd.pc_cpuid == cpuid)

-- 
harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
  [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: buildworld broken on globaldata.h

2001-12-12 Thread David Wolfskill

Date: Wed, 12 Dec 2001 13:50:48 +0100 (CET)
From: Harti Brandt [EMAIL PROTECTED]

PKMy buildworld breaks:
PK[...]

This was broken by jhb's large commit yesterday to break globaldata in MI
and MD parts. The following patch to
gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c let's you compile gdb. Don't know
whether it works. Maybe there are other problems further down in the
buildworld (mine is still working)

Maybe I'm just lucky, but today's -CURRENT built just fine for me on my
build machine (without hand-patching of any kind):

Last login: Wed Dec 12 06:42:43 2001 from bunrab.catwhiske
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights reserved.
FreeBSD 5.0-CURRENT (FREEBEAST) #6: Wed Dec 12 07:19:55 PST 2001
freebeast[1] uname -a
FreeBSD freebeast.catwhisker.org 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Wed Dec 12 
07:19:55 PST 2001 
[EMAIL PROTECTED]:/common/S4/obj/usr/src/sys/FREEBEAST  i386
freebeast[2] tail /var/log/cvsup-history.log
CVSup ended from cvsup14.freebsd.org at Sat Dec  8 03:53:49 PST 2001
CVSup begin from cvsup14.freebsd.org at Sun Dec  9 03:47:03 PST 2001
CVSup ended from cvsup14.freebsd.org at Sun Dec  9 03:53:45 PST 2001
CVSup begin from cvsup10.freebsd.org at Mon Dec 10 03:47:33 PST 2001
CVSup begin from cvsup13.freebsd.org at Mon Dec 10 04:04:34 PST 2001
CVSup ended from cvsup13.freebsd.org at Mon Dec 10 04:11:34 PST 2001
CVSup begin from cvsup14.freebsd.org at Tue Dec 11 03:47:02 PST 2001
CVSup ended from cvsup14.freebsd.org at Tue Dec 11 03:53:23 PST 2001
CVSup begin from cvsup14.freebsd.org at Wed Dec 12 03:47:02 PST 2001
CVSup ended from cvsup14.freebsd.org at Wed Dec 12 03:53:39 PST 2001
freebeast[3] 


(Still cranking away on the laptop)

Cheers,
david
-- 
David H. Wolfskill  [EMAIL PROTECTED]
I believe it would be irresponsible (and thus, unethical) for me to advise,
recommend, or support the use of any product that is or depends on any
Microsoft product for any purpose other than personal amusement.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: buildworld broken on globaldata.h

2001-12-12 Thread John Baldwin


On 12-Dec-01 Harti Brandt wrote:
 On Wed, 12 Dec 2001, Poul-Henning Kamp wrote:
 
 PK
 PKMy buildworld breaks:
 PK
 PK[...]
 PK/flat/src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c:52:
 machine/globaldata.h: No
 PKsuch file or directory
 PK
 PKAny workarounds/fixes ?
 
 This was broken by jhb's large commit yesterday to break globaldata in MI
 and MD parts. The following patch to
 gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c let's you compile gdb. Don't know
 whether it works. Maybe there are other problems further down in the
 buildworld (mine is still working)

You should only have to include sys/pcpu.h (it includes machine/pcpu.h
already), but that patch looks ok.  libkvm will need the same fix.  My bad, I
was so busy testing kernels and making sure they worked in various combinations
I didn't test a buildworld. :(

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message