From owner-freebsd-current Sun Jan 26 10:43:11 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8015D37B401 for ; Sun, 26 Jan 2003 10:43:10 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADE7E43F13 for ; Sun, 26 Jan 2003 10:43:09 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h0QIh8Ql009198 for ; Sun, 26 Jan 2003 19:43:09 +0100 (CET) (envelope-from phk@freebsd.org) Cc: current@freebsd.org Subject: Re: alpha/GENERIC børked From: phk@freebsd.org In-Reply-To: Your message of "Sun, 26 Jan 2003 19:36:48 +0100." <9147.1043606208@critter.freebsd.dk> Date: Sun, 26 Jan 2003 19:43:08 +0100 Message-ID: <9197.1043606588@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <9147.1043606208@critter.freebsd.dk>, Poul-Henning Kamp writes: > ># make >cc -c -O -pipe -mcpu=ev4 -mtune=ev5 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL > -include opt_global.h -fno-common -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Werror ../../../alpha/alpha/interrupt.c >cc1: warnings being treated as errors >../../../alpha/alpha/interrupt.c: In function `alpha_clock_interrupt': >../../../alpha/alpha/interrupt.c:483: warning: passing arg 1 of `statclock_process' from incompatible pointer type >*** Error code 1 Sorry for replying to myself, but it seems to me that the KSE-intelligensia needs to test on more than i386-UP. Considering that we can cross-build kernels, I think there is no valid excuse for such blatant: "it works for me!" testing: bang# sh gsys statclock_process ./alpha/alpha/interrupt.c: statclock_process(curkse, TRAPF_PC(framep), ./i386/i386/critical.c: statclock_process(curthread, ./i386/i386/mp_machdep.c: * WARNING! unpend() will call statclock_process() directly and skip this ./i386/i386/mp_machdep.c: statclock_process(curthread->td_kse, TRAPF_PC(&frame), ./ia64/ia64/interrupt.c: statclock_process(curkse, TRAPF_PC(framep), ./kern/kern_clock.c:statclock_process(struct thread *td, register_t pc, int user) ./kern/kern_clock.c: statclock_process(curthread, CLKF_PC(frame), CLKF_USERMODE(frame)); ./sparc64/sparc64/tick.c: statclock_process(curthread->td_kse, CLKF_PC(cf), ./sys/systm.h:void statclock_process(struct thread *td, register_t pc, int user); -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message