From owner-freebsd-tinderbox@FreeBSD.ORG Fri Jun 30 18:11:05 2006 Return-Path: X-Original-To: tinderbox@freebsd.org Delivered-To: freebsd-tinderbox@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5538E16A403; Fri, 30 Jun 2006 18:11:05 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7F9743D55; Fri, 30 Jun 2006 18:11:04 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id IBA74465; Fri, 30 Jun 2006 11:10:59 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id BDCD345047; Fri, 30 Jun 2006 11:10:58 -0700 (PDT) To: David Wolfskill In-reply-to: Your message of "Fri, 30 Jun 2006 10:44:02 PDT." <20060630174402.GB16552@bunrab.catwhisker.org> Date: Fri, 30 Jun 2006 11:10:58 -0700 From: "Kevin Oberman" Message-Id: <20060630181058.BDCD345047@ptavv.es.net> Cc: i386@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Tinderbox reports, responses, and meta-comments" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 18:11:05 -0000 > Date: Fri, 30 Jun 2006 10:44:02 -0700 > From: David Wolfskill > Sender: owner-freebsd-current@freebsd.org > > On Fri, Jun 30, 2006 at 01:18:21AM -0400, FreeBSD Tinderbox wrote: > > ... > > /src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c:584> : error: 'for' loop initial declaration used outside C99 mode > > *** Error code 1 > > OK; I got that with thsi morning's build on my laptop, but not on > yesterday's. > > I don't have a fix, but here's a complete list of each file that changed > in the interim on my laptop: > > share/man/man4/sched_core.4 > sys/conf/files.ia64 > sys/conf/kern.mk > sys/conf/kern.pre.mk > sys/dev/puc/puc.c > sys/dev/puc/puc_cfg.c > sys/dev/puc/puc_pccard.c > sys/dev/puc/puc_pci.c > sys/dev/puc/pucdata.c > sys/dev/sio/sio.c > sys/ia64/ia64/emulate.c > sys/ia64/ia64/trap.c > sys/ia64/include/md_var.h > sys/kern/kern_thread.c > sys/kern/sched_4bsd.c > sys/kern/sched_core.c > sys/kern/sysv_sem.c > sys/net/if.c > sys/net/if_atmsubr.c > sys/net/if_stf.c > sys/net/if_tun.c > sys/netinet/if_ether.c > sys/netinet/in_pcb.c > sys/netinet/ip_divert.c > sys/netinet/ip_fw2.c > sys/netinet/ip_output.c > sys/netinet/tcp_input.c > sys/netinet6/in6.c > sys/netinet6/in6_pcb.c > sys/netinet6/in6_var.h > sys/nfsclient/bootp_subr.c > sys/nfsclient/nfs_diskless.c > usr.bin/tail/extern.h > usr.bin/tail/forward.c > usr.bin/tail/tail.1 > usr.bin/tail/tail.c > > Of those, I suspect that the man pages can likely be excluded as > suspects, as may many others. :-} > > But I need to get back to my paying job at the moment.... > > Peace, > david Jung-uk Kim set a note to david that he missed kmod.mk when he added the dialect knob to the kernel make files. Here is his patch that fixed it for me: Index: sys/conf/kmod.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kmod.mk,v retrieving revision 1.208 diff -u -r1.208 kmod.mk --- sys/conf/kmod.mk 27 May 2006 16:32:05 -0000 1.208 +++ sys/conf/kmod.mk 30 Jun 2006 00:57:37 -0000 @@ -85,8 +85,10 @@ .if ${CC} == "icc" NOSTDINC= -X .else +C_DIALECT= -std=c99 NOSTDINC= -nostdinc .endif +CFLAGS+= ${C_DIALECT} CFLAGS:= ${CFLAGS:N-I*} ${NOSTDINC} -I- ${INCLMAGIC} ${CFLAGS:M-I*} .if defined(KERNBUILDDIR) CFLAGS+= -DHAVE_KERNEL_OPTION_HEADERS -include ${KERNBUILDDIR}/opt_global.h -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634