From owner-cvs-all Fri Feb 22 9:32:21 2002 Delivered-To: cvs-all@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 46E0A37B429; Fri, 22 Feb 2002 09:31:47 -0800 (PST) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g1MHVgK38708; Fri, 22 Feb 2002 19:31:42 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200202221731.g1MHVgK38708@zibbi.icomtek.csir.co.za> Subject: Re: cvs commit: src/sys/alpha/alpha mp_machdep.c src/sys/i386/i386 mp_machdep.c src/sys/ia64/ia64 mp_machdep.c src/s In-Reply-To: <200202221332.g1MDW2g73525@freefall.freebsd.org> from Poul-Henning Kamp at "Feb 22, 2002 05:32:02 am" To: phk@FreeBSD.org (Poul-Henning Kamp) Date: Fri, 22 Feb 2002 19:31:42 +0200 (SAT) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > phk 2002/02/22 05:32:02 PST > > Modified files: > sys/alpha/alpha mp_machdep.c > sys/i386/i386 mp_machdep.c > sys/ia64/ia64 mp_machdep.c > sys/sparc64/sparc64 mp_machdep.c > sys/kern init_main.c kern_exit.c kern_fork.c > kern_proc.c kern_resource.c kern_synch.c > sys/sys pcpu.h proc.h > Log: > Convert p->p_runtime and PCPU(switchtime) to bintime format. This breaks libkvm. Line 316 of kvm_proc.c looks like this: kp->ki_runtime = proc.p_runtime; toby# grep ki_runtime sys/sys/* sys/sys/user.h: u_int64_t ki_runtime; /* Real time in microsec */ toby# grep p_runtime sys/sys/* sys/sys/proc.h: struct bintime p_runtime; /* (j) Real time. */ The compile error is: cc -O -pipe -march=pentiumpro -DLIBC_SCCS -I/home/src/lib/libkvm -c /home/src/lib/libkvm/kvm_proc.c -o kvm_proc.o /home/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist': /home/src/lib/libkvm/kvm_proc.c:316: incompatible types in assignment *** Error code 1 Stop in /home/src/lib/libkvm. *** Error code 1 John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message