From owner-freebsd-sparc64@FreeBSD.ORG Sun May 31 15:22:09 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A2D8106564A; Sun, 31 May 2009 15:22:09 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id E63098FC17; Sun, 31 May 2009 15:22:08 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n4VFM6G2056451; Sun, 31 May 2009 11:22:06 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4VFM62t071530; Sun, 31 May 2009 11:22:06 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 5D65B7302F; Sun, 31 May 2009 11:22:06 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090531152206.5D65B7302F@freebsd-current.sentex.ca> Date: Sun, 31 May 2009 11:22:06 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 15:22:09 -0000 TB --- 2009-05-31 14:07:40 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-31 14:07:40 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2009-05-31 14:07:40 - cleaning the object tree TB --- 2009-05-31 14:08:20 - cvsupping the source tree TB --- 2009-05-31 14:08:20 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2009-05-31 14:08:45 - building world TB --- 2009-05-31 14:08:45 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-31 14:08:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-31 14:08:45 - TARGET=sparc64 TB --- 2009-05-31 14:08:45 - TARGET_ARCH=sparc64 TB --- 2009-05-31 14:08:45 - TZ=UTC TB --- 2009-05-31 14:08:45 - __MAKE_CONF=/dev/null TB --- 2009-05-31 14:08:45 - cd /src TB --- 2009-05-31 14:08:45 - /usr/bin/make -B buildworld >>> World build started on Sun May 31 14:08:46 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] gzip -cn /src/usr.bin/jot/jot.1 > jot.1.gz ===> usr.bin/kdump (all) cc -O2 -pipe -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. -std=gnu99 -fstack-protector -c /src/usr.bin/kdump/kdump.c cc -O2 -pipe -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. -std=gnu99 -fstack-protector -c ioctl.c ioctl.c: In function 'ioctlname': ioctl.c:151: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' ioctl.c:185: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' ioctl.c:2607: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' *** Error code 1 Stop in /src/usr.bin/kdump. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-31 15:22:06 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-31 15:22:06 - ERROR: failed to build world TB --- 2009-05-31 15:22:06 - 3452.33 user 350.86 system 4465.84 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Sun May 31 16:18:15 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 975CB106566C; Sun, 31 May 2009 16:18:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4383F8FC13; Sun, 31 May 2009 16:18:14 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4VGICWH078989; Sun, 31 May 2009 12:18:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n4VGIC7K001324; Sun, 31 May 2009 12:18:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 0D6AE7302F; Sun, 31 May 2009 12:18:12 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090531161812.0D6AE7302F@freebsd-current.sentex.ca> Date: Sun, 31 May 2009 12:18:12 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 16:18:16 -0000 TB --- 2009-05-31 15:11:21 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-31 15:11:21 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2009-05-31 15:11:21 - cleaning the object tree TB --- 2009-05-31 15:11:55 - cvsupping the source tree TB --- 2009-05-31 15:11:55 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2009-05-31 15:12:03 - building world TB --- 2009-05-31 15:12:03 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-31 15:12:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-31 15:12:03 - TARGET=sun4v TB --- 2009-05-31 15:12:03 - TARGET_ARCH=sparc64 TB --- 2009-05-31 15:12:03 - TZ=UTC TB --- 2009-05-31 15:12:03 - __MAKE_CONF=/dev/null TB --- 2009-05-31 15:12:03 - cd /src TB --- 2009-05-31 15:12:03 - /usr/bin/make -B buildworld >>> World build started on Sun May 31 15:12:05 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] gzip -cn /src/usr.bin/jot/jot.1 > jot.1.gz ===> usr.bin/kdump (all) cc -O2 -pipe -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. -std=gnu99 -fstack-protector -c /src/usr.bin/kdump/kdump.c cc -O2 -pipe -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. -std=gnu99 -fstack-protector -c ioctl.c ioctl.c: In function 'ioctlname': ioctl.c:151: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' ioctl.c:185: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' ioctl.c:2607: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' *** Error code 1 Stop in /src/usr.bin/kdump. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-31 16:18:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-31 16:18:12 - ERROR: failed to build world TB --- 2009-05-31 16:18:12 - 3434.06 user 341.05 system 4010.34 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 1 11:07:00 2009 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9F811065672 for ; Mon, 1 Jun 2009 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8FFB38FC19 for ; Mon, 1 Jun 2009 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n51B70Qa021241 for ; Mon, 1 Jun 2009 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n51B70ha021237 for freebsd-sparc64@FreeBSD.org; Mon, 1 Jun 2009 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Jun 2009 11:07:00 GMT Message-Id: <200906011107.n51B70ha021237@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sparc64@FreeBSD.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 11:07:05 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f sparc/127051 sparc64 [hme] hme interfaces "pause" with the message "device o sparc/119244 sparc64 X11Forwarding to X11 server on sparc crashes Xorg o sparc/119240 sparc64 top has WCPU over 100% on UP system s sparc/119239 sparc64 gdb coredumps on sparc64 o sparc/119017 sparc64 [install] 7.0 Beta won't install on U60 o sparc/113556 sparc64 [panic] trap: memory address not aligned; Rebooting... f sparc/108732 sparc64 ping(8) reports 14 digit time on sparc64 s sparc/107087 sparc64 [hang] system is hung during boot from CD o sparc/105048 sparc64 [trm] trm(4) panics on sparc64 o sparc/104428 sparc64 [nullfs] nullfs panics on E4500 (but not E420) o sparc/80890 sparc64 [panic] kmem_malloc(73728): kmem_map too small running o sparc/80410 sparc64 [netgraph] netgraph is causing crash with mpd on sparc o sparc/71729 sparc64 printf in kernel thread causes panic on SPARC 13 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 1 19:19:27 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 690A4106566B; Mon, 1 Jun 2009 19:19:27 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2F24A8FC24; Mon, 1 Jun 2009 19:19:27 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n51JJOhW054462; Mon, 1 Jun 2009 15:19:24 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n51JJOcr020574; Mon, 1 Jun 2009 15:19:24 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 4E21C7302F; Mon, 1 Jun 2009 15:19:24 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090601191924.4E21C7302F@freebsd-current.sentex.ca> Date: Mon, 1 Jun 2009 15:19:24 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 19:19:28 -0000 TB --- 2009-06-01 17:49:26 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-01 17:49:26 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2009-06-01 17:49:26 - cleaning the object tree TB --- 2009-06-01 17:50:00 - cvsupping the source tree TB --- 2009-06-01 17:50:00 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2009-06-01 17:50:11 - building world TB --- 2009-06-01 17:50:11 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-01 17:50:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-01 17:50:11 - TARGET=sun4v TB --- 2009-06-01 17:50:11 - TARGET_ARCH=sparc64 TB --- 2009-06-01 17:50:11 - TZ=UTC TB --- 2009-06-01 17:50:11 - __MAKE_CONF=/dev/null TB --- 2009-06-01 17:50:11 - cd /src TB --- 2009-06-01 17:50:11 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 1 17:50:14 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Mon Jun 1 19:04:25 UTC 2009 TB --- 2009-06-01 19:04:25 - generating LINT kernel config TB --- 2009-06-01 19:04:25 - cd /src/sys/sun4v/conf TB --- 2009-06-01 19:04:25 - /usr/bin/make -B LINT TB --- 2009-06-01 19:04:25 - building LINT kernel TB --- 2009-06-01 19:04:25 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-01 19:04:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-01 19:04:25 - TARGET=sun4v TB --- 2009-06-01 19:04:25 - TARGET_ARCH=sparc64 TB --- 2009-06-01 19:04:25 - TZ=UTC TB --- 2009-06-01 19:04:25 - __MAKE_CONF=/dev/null TB --- 2009-06-01 19:04:25 - cd /src TB --- 2009-06-01 19:04:25 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Jun 1 19:04:25 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hvcons.c cc -c -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hcall.S cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hviommu.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sparc64/sparc64/identcpu.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sparc64/sparc64/in_cksum.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/intr_machdep.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/machdep.c /src/sys/sun4v/sun4v/machdep.c:192: error: size of array '__assert192' is negative *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-01 19:19:24 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-01 19:19:24 - ERROR: failed to build lint kernel TB --- 2009-06-01 19:19:24 - 4649.84 user 424.29 system 5397.73 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 2 03:24:42 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B495106564A; Tue, 2 Jun 2009 03:24:42 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1D0128FC0C; Tue, 2 Jun 2009 03:24:41 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n523OdY4012052; Mon, 1 Jun 2009 23:24:39 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n523OdIw078490; Mon, 1 Jun 2009 23:24:39 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id A6F8F7302F; Mon, 1 Jun 2009 23:24:39 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090602032439.A6F8F7302F@freebsd-current.sentex.ca> Date: Mon, 1 Jun 2009 23:24:39 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 03:24:43 -0000 TB --- 2009-06-02 01:53:56 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-02 01:53:56 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2009-06-02 01:53:56 - cleaning the object tree TB --- 2009-06-02 01:54:26 - cvsupping the source tree TB --- 2009-06-02 01:54:26 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2009-06-02 01:54:38 - building world TB --- 2009-06-02 01:54:38 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 01:54:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 01:54:38 - TARGET=sparc64 TB --- 2009-06-02 01:54:38 - TARGET_ARCH=sparc64 TB --- 2009-06-02 01:54:38 - TZ=UTC TB --- 2009-06-02 01:54:38 - __MAKE_CONF=/dev/null TB --- 2009-06-02 01:54:38 - cd /src TB --- 2009-06-02 01:54:38 - /usr/bin/make -B buildworld >>> World build started on Tue Jun 2 01:54:39 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jun 2 03:16:26 UTC 2009 TB --- 2009-06-02 03:16:26 - generating LINT kernel config TB --- 2009-06-02 03:16:26 - cd /src/sys/sparc64/conf TB --- 2009-06-02 03:16:26 - /usr/bin/make -B LINT TB --- 2009-06-02 03:16:26 - building LINT kernel TB --- 2009-06-02 03:16:26 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 03:16:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 03:16:26 - TARGET=sparc64 TB --- 2009-06-02 03:16:26 - TARGET_ARCH=sparc64 TB --- 2009-06-02 03:16:26 - TZ=UTC TB --- 2009-06-02 03:16:26 - __MAKE_CONF=/dev/null TB --- 2009-06-02 03:16:26 - cd /src TB --- 2009-06-02 03:16:26 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jun 2 03:16:26 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/dev/pci/pci.c:320: error: for each function it appears in.) /src/sys/dev/pci/pci.c:320: error: expected ';' before 'ap' cc1: warnings being treated as errors /src/sys/dev/pci/pci.c:325: warning: implicit declaration of function 'va_start' /src/sys/dev/pci/pci.c:325: warning: nested extern declaration of 'va_start' /src/sys/dev/pci/pci.c:325: error: 'ap' undeclared (first use in this function) /src/sys/dev/pci/pci.c:327: warning: implicit declaration of function 'va_end' /src/sys/dev/pci/pci.c:327: warning: nested extern declaration of 'va_end' *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-02 03:24:39 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-02 03:24:39 - ERROR: failed to build lint kernel TB --- 2009-06-02 03:24:39 - 4214.37 user 413.52 system 5443.38 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 2 03:59:22 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59CE4106564A; Tue, 2 Jun 2009 03:59:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 19F698FC1B; Tue, 2 Jun 2009 03:59:21 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n523xJ5G017670; Mon, 1 Jun 2009 23:59:19 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n523xJnr050659; Mon, 1 Jun 2009 23:59:19 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 5E0687302F; Mon, 1 Jun 2009 23:59:19 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090602035919.5E0687302F@freebsd-current.sentex.ca> Date: Mon, 1 Jun 2009 23:59:19 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 03:59:23 -0000 TB --- 2009-06-02 02:32:55 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-02 02:32:55 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2009-06-02 02:32:55 - cleaning the object tree TB --- 2009-06-02 02:33:34 - cvsupping the source tree TB --- 2009-06-02 02:33:34 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2009-06-02 02:33:44 - building world TB --- 2009-06-02 02:33:44 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 02:33:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 02:33:44 - TARGET=sun4v TB --- 2009-06-02 02:33:44 - TARGET_ARCH=sparc64 TB --- 2009-06-02 02:33:44 - TZ=UTC TB --- 2009-06-02 02:33:44 - __MAKE_CONF=/dev/null TB --- 2009-06-02 02:33:44 - cd /src TB --- 2009-06-02 02:33:44 - /usr/bin/make -B buildworld >>> World build started on Tue Jun 2 02:33:45 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jun 2 03:52:26 UTC 2009 TB --- 2009-06-02 03:52:26 - generating LINT kernel config TB --- 2009-06-02 03:52:26 - cd /src/sys/sun4v/conf TB --- 2009-06-02 03:52:26 - /usr/bin/make -B LINT TB --- 2009-06-02 03:52:26 - building LINT kernel TB --- 2009-06-02 03:52:26 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 03:52:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 03:52:26 - TARGET=sun4v TB --- 2009-06-02 03:52:26 - TARGET_ARCH=sparc64 TB --- 2009-06-02 03:52:26 - TZ=UTC TB --- 2009-06-02 03:52:26 - __MAKE_CONF=/dev/null TB --- 2009-06-02 03:52:26 - cd /src TB --- 2009-06-02 03:52:26 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jun 2 03:52:26 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/dev/pci/pci.c:320: error: for each function it appears in.) /src/sys/dev/pci/pci.c:320: error: expected ';' before 'ap' cc1: warnings being treated as errors /src/sys/dev/pci/pci.c:325: warning: implicit declaration of function 'va_start' /src/sys/dev/pci/pci.c:325: warning: nested extern declaration of 'va_start' /src/sys/dev/pci/pci.c:325: error: 'ap' undeclared (first use in this function) /src/sys/dev/pci/pci.c:327: warning: implicit declaration of function 'va_end' /src/sys/dev/pci/pci.c:327: warning: nested extern declaration of 'va_end' *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-02 03:59:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-02 03:59:19 - ERROR: failed to build lint kernel TB --- 2009-06-02 03:59:19 - 4193.07 user 412.66 system 5184.16 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 2 12:06:14 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C15861065689; Tue, 2 Jun 2009 12:06:14 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7F3EA8FC1A; Tue, 2 Jun 2009 12:06:14 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n52C6CxC002721; Tue, 2 Jun 2009 08:06:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n52C6CVp091621; Tue, 2 Jun 2009 08:06:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 37D267302F; Tue, 2 Jun 2009 08:06:12 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090602120612.37D267302F@freebsd-current.sentex.ca> Date: Tue, 2 Jun 2009 08:06:12 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 12:06:18 -0000 TB --- 2009-06-02 10:35:20 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-02 10:35:20 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2009-06-02 10:35:20 - cleaning the object tree TB --- 2009-06-02 10:35:45 - cvsupping the source tree TB --- 2009-06-02 10:35:46 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2009-06-02 10:35:56 - building world TB --- 2009-06-02 10:35:56 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 10:35:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 10:35:56 - TARGET=sparc64 TB --- 2009-06-02 10:35:56 - TARGET_ARCH=sparc64 TB --- 2009-06-02 10:35:56 - TZ=UTC TB --- 2009-06-02 10:35:56 - __MAKE_CONF=/dev/null TB --- 2009-06-02 10:35:56 - cd /src TB --- 2009-06-02 10:35:56 - /usr/bin/make -B buildworld >>> World build started on Tue Jun 2 10:35:58 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jun 2 11:57:50 UTC 2009 TB --- 2009-06-02 11:57:50 - generating LINT kernel config TB --- 2009-06-02 11:57:50 - cd /src/sys/sparc64/conf TB --- 2009-06-02 11:57:50 - /usr/bin/make -B LINT TB --- 2009-06-02 11:57:50 - building LINT kernel TB --- 2009-06-02 11:57:50 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 11:57:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 11:57:50 - TARGET=sparc64 TB --- 2009-06-02 11:57:50 - TARGET_ARCH=sparc64 TB --- 2009-06-02 11:57:50 - TZ=UTC TB --- 2009-06-02 11:57:50 - __MAKE_CONF=/dev/null TB --- 2009-06-02 11:57:50 - cd /src TB --- 2009-06-02 11:57:50 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jun 2 11:57:51 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/dev/pci/pci.c:320: error: for each function it appears in.) /src/sys/dev/pci/pci.c:320: error: expected ';' before 'ap' cc1: warnings being treated as errors /src/sys/dev/pci/pci.c:325: warning: implicit declaration of function 'va_start' /src/sys/dev/pci/pci.c:325: warning: nested extern declaration of 'va_start' /src/sys/dev/pci/pci.c:325: error: 'ap' undeclared (first use in this function) /src/sys/dev/pci/pci.c:327: warning: implicit declaration of function 'va_end' /src/sys/dev/pci/pci.c:327: warning: nested extern declaration of 'va_end' *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-02 12:06:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-02 12:06:12 - ERROR: failed to build lint kernel TB --- 2009-06-02 12:06:12 - 4208.81 user 415.77 system 5451.59 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 2 12:42:43 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38577106567A; Tue, 2 Jun 2009 12:42:43 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id EE50A8FC1A; Tue, 2 Jun 2009 12:42:42 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n52CgeoT056230; Tue, 2 Jun 2009 08:42:40 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n52CgdMY070291; Tue, 2 Jun 2009 08:42:40 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id E79987302F; Tue, 2 Jun 2009 08:42:39 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090602124239.E79987302F@freebsd-current.sentex.ca> Date: Tue, 2 Jun 2009 08:42:39 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 12:42:44 -0000 TB --- 2009-06-02 11:16:33 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-02 11:16:33 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2009-06-02 11:16:33 - cleaning the object tree TB --- 2009-06-02 11:17:18 - cvsupping the source tree TB --- 2009-06-02 11:17:18 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2009-06-02 11:17:24 - building world TB --- 2009-06-02 11:17:24 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 11:17:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 11:17:24 - TARGET=sun4v TB --- 2009-06-02 11:17:24 - TARGET_ARCH=sparc64 TB --- 2009-06-02 11:17:24 - TZ=UTC TB --- 2009-06-02 11:17:24 - __MAKE_CONF=/dev/null TB --- 2009-06-02 11:17:24 - cd /src TB --- 2009-06-02 11:17:24 - /usr/bin/make -B buildworld >>> World build started on Tue Jun 2 11:17:29 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jun 2 12:35:43 UTC 2009 TB --- 2009-06-02 12:35:43 - generating LINT kernel config TB --- 2009-06-02 12:35:43 - cd /src/sys/sun4v/conf TB --- 2009-06-02 12:35:43 - /usr/bin/make -B LINT TB --- 2009-06-02 12:35:43 - building LINT kernel TB --- 2009-06-02 12:35:43 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 12:35:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 12:35:43 - TARGET=sun4v TB --- 2009-06-02 12:35:43 - TARGET_ARCH=sparc64 TB --- 2009-06-02 12:35:43 - TZ=UTC TB --- 2009-06-02 12:35:43 - __MAKE_CONF=/dev/null TB --- 2009-06-02 12:35:43 - cd /src TB --- 2009-06-02 12:35:43 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jun 2 12:35:43 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/dev/pci/pci.c:320: error: for each function it appears in.) /src/sys/dev/pci/pci.c:320: error: expected ';' before 'ap' cc1: warnings being treated as errors /src/sys/dev/pci/pci.c:325: warning: implicit declaration of function 'va_start' /src/sys/dev/pci/pci.c:325: warning: nested extern declaration of 'va_start' /src/sys/dev/pci/pci.c:325: error: 'ap' undeclared (first use in this function) /src/sys/dev/pci/pci.c:327: warning: implicit declaration of function 'va_end' /src/sys/dev/pci/pci.c:327: warning: nested extern declaration of 'va_end' *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-02 12:42:39 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-02 12:42:39 - ERROR: failed to build lint kernel TB --- 2009-06-02 12:42:39 - 4191.83 user 410.93 system 5165.93 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 2 13:00:30 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07023106566B; Tue, 2 Jun 2009 13:00:30 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id A294C8FC1E; Tue, 2 Jun 2009 13:00:29 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=OuBKs5jxhh2cLEEBBkkH7c7sn1rf5o/xuFXyhQWLmrQ7cbfQf+77qNzTAzUcYmXqT7yoa4hR7zKQEB6nqwikkxOOxxRHZD9rfCGx8CBmHguVtvJ9Q38lVn1OpN4dsXfJxIQz/3uorfLFoWnZ+d7ut+SFwEL+oPVyN+IzQU/f8D4=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MBTPn-000KyA-7X; Tue, 02 Jun 2009 16:48:27 +0400 Date: Tue, 2 Jun 2009 16:48:24 +0400 From: Eygene Ryabinkin To: FreeBSD Tinderbox Message-ID: References: <20090602120612.37D267302F@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="fmvA4kSBHQVZhkR6" Content-Disposition: inline In-Reply-To: <20090602120612.37D267302F@freebsd-current.sentex.ca> Sender: rea-fbsd@codelabs.ru Cc: current@freebsd.org, sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 13:00:30 -0000 --fmvA4kSBHQVZhkR6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Tue, Jun 02, 2009 at 08:06:12AM -0400, FreeBSD Tinderbox wrote: > /src/sys/dev/pci/pci.c:320: error: for each function it appears in.) > /src/sys/dev/pci/pci.c:320: error: expected ';' before 'ap' > cc1: warnings being treated as errors > /src/sys/dev/pci/pci.c:325: warning: implicit declaration of function 'va_start' > /src/sys/dev/pci/pci.c:325: warning: nested extern declaration of 'va_start' > /src/sys/dev/pci/pci.c:325: error: 'ap' undeclared (first use in this function) > /src/sys/dev/pci/pci.c:327: warning: implicit declaration of function 'va_end' > /src/sys/dev/pci/pci.c:327: warning: nested extern declaration of 'va_end' > *** Error code 1 Perhaps the attached patch will fix the stuff? For enabled ACPI (__HAVE_ACPI) machine/stdarg.h is brought by contrib/dev/acpica/acpi.h, but seems like sparc64 nave no ACPI. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # --fmvA4kSBHQVZhkR6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 5055762..63d9cee 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #if defined(__i386__) || defined(__amd64__) #include --fmvA4kSBHQVZhkR6-- From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 2 13:41:22 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 906B11065677; Tue, 2 Jun 2009 13:41:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE6D8FC27; Tue, 2 Jun 2009 13:41:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 1203946B38; Tue, 2 Jun 2009 09:41:22 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 09D978A02B; Tue, 2 Jun 2009 09:41:21 -0400 (EDT) From: John Baldwin To: rea-fbsd@codelabs.ru Date: Tue, 2 Jun 2009 09:19:40 -0400 User-Agent: KMail/1.9.7 References: <20090602120612.37D267302F@freebsd-current.sentex.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906020919.41339.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 02 Jun 2009 09:41:21 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: sparc64@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 13:41:25 -0000 On Tuesday 02 June 2009 8:48:24 am Eygene Ryabinkin wrote: > Tue, Jun 02, 2009 at 08:06:12AM -0400, FreeBSD Tinderbox wrote: > > /src/sys/dev/pci/pci.c:320: error: for each function it appears in.) > > /src/sys/dev/pci/pci.c:320: error: expected ';' before 'ap' > > cc1: warnings being treated as errors > > /src/sys/dev/pci/pci.c:325: warning: implicit declaration of function 'va_start' > > /src/sys/dev/pci/pci.c:325: warning: nested extern declaration of 'va_start' > > /src/sys/dev/pci/pci.c:325: error: 'ap' undeclared (first use in this function) > > /src/sys/dev/pci/pci.c:327: warning: implicit declaration of function 'va_end' > > /src/sys/dev/pci/pci.c:327: warning: nested extern declaration of 'va_end' > > *** Error code 1 > > Perhaps the attached patch will fix the stuff? For enabled ACPI > (__HAVE_ACPI) machine/stdarg.h is brought by contrib/dev/acpica/acpi.h, > but seems like sparc64 nave no ACPI. I had already committed this, but thanks for the hint on why it compiled on amd64. -- John Baldwin From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 2 22:24:47 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF792106568B; Tue, 2 Jun 2009 22:24:47 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8A3278FC2C; Tue, 2 Jun 2009 22:24:47 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n52MOjC2077840; Tue, 2 Jun 2009 18:24:45 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n52MOjBh088332; Tue, 2 Jun 2009 18:24:45 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 2F6017302F; Tue, 2 Jun 2009 18:24:45 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090602222445.2F6017302F@freebsd-current.sentex.ca> Date: Tue, 2 Jun 2009 18:24:45 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 22:24:48 -0000 TB --- 2009-06-02 20:49:59 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-02 20:49:59 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2009-06-02 20:49:59 - cleaning the object tree TB --- 2009-06-02 20:50:33 - cvsupping the source tree TB --- 2009-06-02 20:50:33 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2009-06-02 20:50:43 - building world TB --- 2009-06-02 20:50:43 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 20:50:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 20:50:43 - TARGET=sun4v TB --- 2009-06-02 20:50:43 - TARGET_ARCH=sparc64 TB --- 2009-06-02 20:50:43 - TZ=UTC TB --- 2009-06-02 20:50:43 - __MAKE_CONF=/dev/null TB --- 2009-06-02 20:50:43 - cd /src TB --- 2009-06-02 20:50:43 - /usr/bin/make -B buildworld >>> World build started on Tue Jun 2 20:50:45 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jun 2 22:09:39 UTC 2009 TB --- 2009-06-02 22:09:39 - generating LINT kernel config TB --- 2009-06-02 22:09:39 - cd /src/sys/sun4v/conf TB --- 2009-06-02 22:09:39 - /usr/bin/make -B LINT TB --- 2009-06-02 22:09:39 - building LINT kernel TB --- 2009-06-02 22:09:39 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-02 22:09:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-02 22:09:39 - TARGET=sun4v TB --- 2009-06-02 22:09:39 - TARGET_ARCH=sparc64 TB --- 2009-06-02 22:09:39 - TZ=UTC TB --- 2009-06-02 22:09:39 - __MAKE_CONF=/dev/null TB --- 2009-06-02 22:09:39 - cd /src TB --- 2009-06-02 22:09:39 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jun 2 22:09:39 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hvcons.c cc -c -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hcall.S cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hviommu.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sparc64/sparc64/identcpu.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sparc64/sparc64/in_cksum.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/intr_machdep.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/machdep.c /src/sys/sun4v/sun4v/machdep.c:192: error: size of array '__assert192' is negative *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-02 22:24:45 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-02 22:24:45 - ERROR: failed to build lint kernel TB --- 2009-06-02 22:24:45 - 4661.38 user 422.42 system 5685.48 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 3 05:25:43 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51F141065675; Wed, 3 Jun 2009 05:25:43 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id EEB328FC17; Wed, 3 Jun 2009 05:25:42 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=otFgK3cEVSZeeEBNSf6F+DZDeDDExRbQo+AU+ObSAHTBlEdaaeffViZ8pMagBhb5zXY1ioiuMVxY7s2qnCxIcK328H1gj5DhKSEBWlT+CjH7pHCZRiY4MSEhecq32GHlD2gzgZXO5eU6w2s5L17EbAM6tVMqbzwZUH+Nx/YnE2U=; Received: from phoenix.codelabs.ru (ppp91-78-250-129.pppoe.mtu-net.ru [91.78.250.129]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MBiyr-000K3z-RD; Wed, 03 Jun 2009 09:25:42 +0400 Date: Wed, 3 Jun 2009 09:25:38 +0400 From: Eygene Ryabinkin To: FreeBSD Tinderbox Message-ID: References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090602222445.2F6017302F@freebsd-current.sentex.ca> Sender: rea-fbsd@codelabs.ru Cc: marius@freebsd.org, kmacy@freebsd.org, rwatson@freebsd.org, current@freebsd.org, sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 05:25:43 -0000 Tue, Jun 02, 2009 at 06:24:45PM -0400, FreeBSD Tinderbox wrote: > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/machdep.c > /src/sys/sun4v/sun4v/machdep.c:192: error: size of array '__assert192' is negative > *** Error code 1 > > Stop in /obj/sun4v/src/sys/LINT. This seems to be related to the recent NETISR changes, namely, the addition of the pc_netisr member to the struct pcpu: http://svn.freebsd.org/viewvc/base/head/sys/sys/pcpu.h?r1=187679&r2=193219&diff_format=u I am not sure how large (void *) is on sun4v, but it seems to me that it is 4 bytes long, so PCPU_MD_FIELDS_PAD inside sun4v/include/pcpu.h should be compensated for this change. Something like ----- #ifdef KTR #define PCPU_MD_FIELDS_PAD (3 - (PCPU_NAME_LEN + 7) / 8) #else #define PCPU_MD_FIELDS_PAD 3 #endif ----- though I am not very sure about KTR's case. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 3 08:43:14 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C906110656CA; Wed, 3 Jun 2009 08:43:14 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 945698FC21; Wed, 3 Jun 2009 08:43:14 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n538hCnX037358; Wed, 3 Jun 2009 04:43:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n538hCl8038753; Wed, 3 Jun 2009 04:43:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 346F47302F; Wed, 3 Jun 2009 04:43:12 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090603084312.346F47302F@freebsd-current.sentex.ca> Date: Wed, 3 Jun 2009 04:43:12 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 08:43:15 -0000 TB --- 2009-06-03 07:11:10 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-03 07:11:10 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2009-06-03 07:11:10 - cleaning the object tree TB --- 2009-06-03 07:12:01 - cvsupping the source tree TB --- 2009-06-03 07:12:01 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2009-06-03 07:12:15 - building world TB --- 2009-06-03 07:12:15 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-03 07:12:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-03 07:12:15 - TARGET=sun4v TB --- 2009-06-03 07:12:15 - TARGET_ARCH=sparc64 TB --- 2009-06-03 07:12:15 - TZ=UTC TB --- 2009-06-03 07:12:15 - __MAKE_CONF=/dev/null TB --- 2009-06-03 07:12:15 - cd /src TB --- 2009-06-03 07:12:15 - /usr/bin/make -B buildworld >>> World build started on Wed Jun 3 07:12:17 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Wed Jun 3 08:28:10 UTC 2009 TB --- 2009-06-03 08:28:10 - generating LINT kernel config TB --- 2009-06-03 08:28:10 - cd /src/sys/sun4v/conf TB --- 2009-06-03 08:28:10 - /usr/bin/make -B LINT TB --- 2009-06-03 08:28:10 - building LINT kernel TB --- 2009-06-03 08:28:10 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-03 08:28:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-03 08:28:10 - TARGET=sun4v TB --- 2009-06-03 08:28:10 - TARGET_ARCH=sparc64 TB --- 2009-06-03 08:28:10 - TZ=UTC TB --- 2009-06-03 08:28:10 - __MAKE_CONF=/dev/null TB --- 2009-06-03 08:28:10 - cd /src TB --- 2009-06-03 08:28:10 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jun 3 08:28:10 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hvcons.c cc -c -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hcall.S cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hviommu.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sparc64/sparc64/identcpu.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sparc64/sparc64/in_cksum.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/intr_machdep.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/machdep.c /src/sys/sun4v/sun4v/machdep.c:192: error: size of array '__assert192' is negative *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-03 08:43:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-03 08:43:12 - ERROR: failed to build lint kernel TB --- 2009-06-03 08:43:12 - 4650.09 user 424.72 system 5521.49 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 3 09:54:35 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02CA51065678; Wed, 3 Jun 2009 09:54:35 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 9C25B8FC1B; Wed, 3 Jun 2009 09:54:34 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=CeONk6T3gWwMvRUQZ9MNgIeeyWfoQz+0AqRe3TgcTHHbK3kbevFembeXcdBjRemZ1lL2BmlMShOi9q8zH8ZDcptjSlR77LrV2j7VpuxmgnLahFcd7Kr1BjvCD0vr3BKMyvOQAFvj4IQKs1TZWsTP1wwpSckRueQ2ihDgMpcKQGc=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MBnB2-000Lfc-SZ; Wed, 03 Jun 2009 13:54:33 +0400 Date: Wed, 3 Jun 2009 13:54:30 +0400 From: Eygene Ryabinkin To: FreeBSD Tinderbox Message-ID: References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1X+6QtwRodzgDPAC" Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru Cc: marius@freebsd.org, sparc64@freebsd.org, rwatson@freebsd.org, kmacy@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 09:54:36 -0000 --1X+6QtwRodzgDPAC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Wed, Jun 03, 2009 at 09:25:38AM +0400, Eygene Ryabinkin wrote: > Tue, Jun 02, 2009 at 06:24:45PM -0400, FreeBSD Tinderbox wrote: > > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/machdep.c > > /src/sys/sun4v/sun4v/machdep.c:192: error: size of array '__assert192' is negative > > *** Error code 1 > > > > Stop in /obj/sun4v/src/sys/LINT. > > This seems to be related to the recent NETISR changes, namely, the > addition of the pc_netisr member to the struct pcpu: > http://svn.freebsd.org/viewvc/base/head/sys/sys/pcpu.h?r1=187679&r2=193219&diff_format=u > > I am not sure how large (void *) is on sun4v, but it seems to me > that it is 4 bytes long, so PCPU_MD_FIELDS_PAD inside sun4v/include/pcpu.h ^^^^^^^^^^^^ Sorry, eight bytes long: wrote 4, but really meant 8 ;)) > should be compensated for this change. Something like > ----- > #ifdef KTR > #define PCPU_MD_FIELDS_PAD (3 - (PCPU_NAME_LEN + 7) / 8) > #else > #define PCPU_MD_FIELDS_PAD 3 > #endif > ----- > though I am not very sure about KTR's case. KTR's case seems to be wrong for PCPU_NAME_LEN larger than 24 bytes. Just now we won't be able to reach this with the current definition for PCPU_NAME_LEN, but some day (N - (PCPU_NAME_LEN + 7)/8) can become negative and that's bad. The attached patch should fix this (although I have no sun4v to test on, so take it with a grain of salt). By the way, having looked at sys/sys/pcpu.h, I see that there are parts of 'struct pcpu' that depend on the KTR_PERCPU being defined and they are never compensated with padding in PCPU_MD_FIELDS for sun4v. Is KTR_PERCPU constant for sun4v (inexisting or defined everytime) or I am missing something? Thanks. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # --1X+6QtwRodzgDPAC Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p diff --git a/sys/sun4v/include/pcpu.h b/sys/sun4v/include/pcpu.h index 434f1cd..12eddf2 100644 --- a/sys/sun4v/include/pcpu.h +++ b/sys/sun4v/include/pcpu.h @@ -38,11 +38,20 @@ struct pmap; -#ifdef KTR -#define PCPU_MD_FIELDS_PAD (4 - (PCPU_NAME_LEN + 7) / 8) -#else -#define PCPU_MD_FIELDS_PAD 4 -#endif +/* Alignment requirements for 'struct pcpu', must be power of two. */ +#define PCPU_ALIGN (1<<6) +/* Bytes per one pad entry */ +#define PCPU_BPP 8 +/* Maximal size of padding */ +#define PCPU_MAXPAD (PCPU_ALIGN / PCPU_BPP) + +#if defined(KTR) +#define _KTR_PAD (PCPU_MAXPAD - ((PCPU_NAME_LEN + PCPU_BPP - 1)/PCPU_BPP) % PCPU_MAXPAD) +#else /* defined(KTR) */ +#define _KTR_PAD 0 +#endif /* defined(KTR) */ + +#define PCPU_MD_FIELDS_PAD ((3 + _KTR_PAD) % PCPU_MAXPAD) /* * Inside the kernel, the globally reserved register g7 is used to --1X+6QtwRodzgDPAC-- From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 3 10:15:59 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 993C91065672; Wed, 3 Jun 2009 10:15:59 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 29BBB8FC0C; Wed, 3 Jun 2009 10:15:59 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=dADtYcmglARoP51HU6R6t4BA2pNhAp65i8B60iB2z4ghl8hs7WvWA0v3T/JKVXNFrVyiYbHoHAsp3DKlauxd1U5yywS4NpMX2upMosCMKfhPZPk7qSidwSEK5wiilWie6we/vszs1h2jfyUms57SE/MViwLKGkILvXqRr4vGpBk=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MBnVl-000NsR-T1; Wed, 03 Jun 2009 14:15:57 +0400 Date: Wed, 3 Jun 2009 14:15:55 +0400 From: Eygene Ryabinkin To: FreeBSD Tinderbox Message-ID: References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="EE8jvUPYYQjJtG7J" Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru Cc: current@freebsd.org, marius@freebsd.org, rwatson@freebsd.org, kmacy@freebsd.org, sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 10:16:00 -0000 --EE8jvUPYYQjJtG7J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Wed, Jun 03, 2009 at 01:54:30PM +0400, Eygene Ryabinkin wrote: > KTR's case seems to be wrong for PCPU_NAME_LEN larger than 24 bytes. > Just now we won't be able to reach this with the current definition > for PCPU_NAME_LEN, but some day (N - (PCPU_NAME_LEN + 7)/8) can > become negative and that's bad. And while I am here: definition for PCPU_NAME_LEN seems to be wrong. It is intended to fit ("CPU %d", cpuid) where cpuid <= MAXCPU. If this is correct, then (sys/sys/pcpu.h, line 57) 1. sizeof(__XSTRING(MAXCPU) + 1) is a typo: typeof(__XSTRING(...) + 1) is 'char *', so sizeof() will return the size of the pointer, not the size of the string contents. The proper expression should be 'sizeof(__XSTRING(MAXCPU)) + 1'. 2. one should not add one, but substract it: sizeof() accounts for the trailing '\0' and we have two sizeof's, so the size of one '\0' should be substracted -- this will give the maximal string buffer length for CPU with its number, no less, no more. Does the attached patch looks sane? -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # --EE8jvUPYYQjJtG7J Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p1 diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h index 63c3fa3..98705eb 100644 --- a/sys/sys/pcpu.h +++ b/sys/sys/pcpu.h @@ -54,7 +54,7 @@ struct rm_queue { struct rm_queue* volatile rmq_prev; }; -#define PCPU_NAME_LEN (sizeof("CPU ") + sizeof(__XSTRING(MAXCPU) + 1)) +#define PCPU_NAME_LEN (sizeof("CPU ") + sizeof(__XSTRING(MAXCPU)) - 1) /* --EE8jvUPYYQjJtG7J-- From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 3 18:59:31 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A29E51065686; Wed, 3 Jun 2009 18:59:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 6B2848FC1A; Wed, 3 Jun 2009 18:59:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n53IxOvq035427; Wed, 3 Jun 2009 14:59:24 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n53IxOPA044377; Wed, 3 Jun 2009 14:59:24 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id B5CF17302F; Wed, 3 Jun 2009 14:59:20 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090603185920.B5CF17302F@freebsd-current.sentex.ca> Date: Wed, 3 Jun 2009 14:59:20 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 18:59:32 -0000 TB --- 2009-06-03 17:29:44 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-03 17:29:44 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2009-06-03 17:29:45 - cleaning the object tree TB --- 2009-06-03 17:30:14 - cvsupping the source tree TB --- 2009-06-03 17:30:14 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2009-06-03 17:30:22 - building world TB --- 2009-06-03 17:30:22 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-03 17:30:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-03 17:30:22 - TARGET=sun4v TB --- 2009-06-03 17:30:22 - TARGET_ARCH=sparc64 TB --- 2009-06-03 17:30:22 - TZ=UTC TB --- 2009-06-03 17:30:22 - __MAKE_CONF=/dev/null TB --- 2009-06-03 17:30:22 - cd /src TB --- 2009-06-03 17:30:22 - /usr/bin/make -B buildworld >>> World build started on Wed Jun 3 17:30:23 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Wed Jun 3 18:44:17 UTC 2009 TB --- 2009-06-03 18:44:17 - generating LINT kernel config TB --- 2009-06-03 18:44:17 - cd /src/sys/sun4v/conf TB --- 2009-06-03 18:44:17 - /usr/bin/make -B LINT TB --- 2009-06-03 18:44:18 - building LINT kernel TB --- 2009-06-03 18:44:18 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-03 18:44:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-03 18:44:18 - TARGET=sun4v TB --- 2009-06-03 18:44:18 - TARGET_ARCH=sparc64 TB --- 2009-06-03 18:44:18 - TZ=UTC TB --- 2009-06-03 18:44:18 - __MAKE_CONF=/dev/null TB --- 2009-06-03 18:44:18 - cd /src TB --- 2009-06-03 18:44:18 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jun 3 18:44:18 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hvcons.c cc -c -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hcall.S cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/hviommu.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sparc64/sparc64/identcpu.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sparc64/sparc64/in_cksum.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/intr_machdep.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/machdep.c /src/sys/sun4v/sun4v/machdep.c:192: error: size of array '__assert192' is negative *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-03 18:59:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-03 18:59:20 - ERROR: failed to build lint kernel TB --- 2009-06-03 18:59:20 - 4644.33 user 426.38 system 5375.64 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 3 20:02:19 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 306E910656EF; Wed, 3 Jun 2009 20:02:19 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 9793F8FC1C; Wed, 3 Jun 2009 20:02:18 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id n53K0DXQ043438; Wed, 3 Jun 2009 22:00:13 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id n53K0DTo043437; Wed, 3 Jun 2009 22:00:13 +0200 (CEST) (envelope-from marius) Date: Wed, 3 Jun 2009 22:00:13 +0200 From: Marius Strobl To: Eygene Ryabinkin , jeff@freebsd.org Message-ID: <20090603200013.GB43137@alchemy.franken.de> References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org, kmacy@freebsd.org, rwatson@freebsd.org, FreeBSD Tinderbox , sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 20:02:20 -0000 On Wed, Jun 03, 2009 at 02:15:55PM +0400, Eygene Ryabinkin wrote: > Wed, Jun 03, 2009 at 01:54:30PM +0400, Eygene Ryabinkin wrote: > > KTR's case seems to be wrong for PCPU_NAME_LEN larger than 24 bytes. > > Just now we won't be able to reach this with the current definition > > for PCPU_NAME_LEN, but some day (N - (PCPU_NAME_LEN + 7)/8) can > > become negative and that's bad. > > And while I am here: definition for PCPU_NAME_LEN seems to be wrong. > It is intended to fit ("CPU %d", cpuid) where cpuid <= MAXCPU. If this > is correct, then (sys/sys/pcpu.h, line 57) > > 1. sizeof(__XSTRING(MAXCPU) + 1) is a typo: typeof(__XSTRING(...) + 1) > is 'char *', so sizeof() will return the size of the pointer, not > the size of the string contents. The proper expression should be > 'sizeof(__XSTRING(MAXCPU)) + 1'. > > 2. one should not add one, but substract it: sizeof() accounts for the > trailing '\0' and we have two sizeof's, so the size of one '\0' > should be substracted -- this will give the maximal string buffer > length for CPU with its number, no less, no more. > > Does the attached patch looks sane? > diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h > index 63c3fa3..98705eb 100644 > --- a/sys/sys/pcpu.h > +++ b/sys/sys/pcpu.h > @@ -54,7 +54,7 @@ struct rm_queue { > struct rm_queue* volatile rmq_prev; > }; > > -#define PCPU_NAME_LEN (sizeof("CPU ") + sizeof(__XSTRING(MAXCPU) + 1)) > +#define PCPU_NAME_LEN (sizeof("CPU ") + sizeof(__XSTRING(MAXCPU)) - 1) > > > /* This looks correct to me. Jeff? Marius From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 3 20:05:47 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 597B61065786; Wed, 3 Jun 2009 20:05:47 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id C1EB98FC0A; Wed, 3 Jun 2009 20:05:46 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id n53JisHU043301; Wed, 3 Jun 2009 21:44:54 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id n53JirEU043300; Wed, 3 Jun 2009 21:44:53 +0200 (CEST) (envelope-from marius) Date: Wed, 3 Jun 2009 21:44:53 +0200 From: Marius Strobl To: Eygene Ryabinkin Message-ID: <20090603194453.GA43137@alchemy.franken.de> References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org, sparc64@freebsd.org, rwatson@freebsd.org, FreeBSD Tinderbox , kmacy@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 20:05:48 -0000 On Wed, Jun 03, 2009 at 01:54:30PM +0400, Eygene Ryabinkin wrote: > Wed, Jun 03, 2009 at 09:25:38AM +0400, Eygene Ryabinkin wrote: > > Tue, Jun 02, 2009 at 06:24:45PM -0400, FreeBSD Tinderbox wrote: > > > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/sun4v/sun4v/machdep.c > > > /src/sys/sun4v/sun4v/machdep.c:192: error: size of array '__assert192' is negative > > > *** Error code 1 > > > > > > Stop in /obj/sun4v/src/sys/LINT. > > > > This seems to be related to the recent NETISR changes, namely, the > > addition of the pc_netisr member to the struct pcpu: > > http://svn.freebsd.org/viewvc/base/head/sys/sys/pcpu.h?r1=187679&r2=193219&diff_format=u > > > > I am not sure how large (void *) is on sun4v, but it seems to me > > that it is 4 bytes long, so PCPU_MD_FIELDS_PAD inside sun4v/include/pcpu.h > ^^^^^^^^^^^^ > Sorry, eight bytes long: wrote 4, but really meant 8 ;)) > > > should be compensated for this change. Something like > > ----- > > #ifdef KTR > > #define PCPU_MD_FIELDS_PAD (3 - (PCPU_NAME_LEN + 7) / 8) > > #else > > #define PCPU_MD_FIELDS_PAD 3 > > #endif > > ----- > > though I am not very sure about KTR's case. > > KTR's case seems to be wrong for PCPU_NAME_LEN larger than 24 bytes. > Just now we won't be able to reach this with the current definition > for PCPU_NAME_LEN, but some day (N - (PCPU_NAME_LEN + 7)/8) can > become negative and that's bad. If it actually becomes negative the build should break again, which IMO is sufficient protection. > > The attached patch should fix this (although I have no sun4v to test > on, so take it with a grain of salt). I think this is overengineered, especially if not also adjusting the padding for other macros which may change the size of both MD and MI parts of struct pcpu. > > By the way, having looked at sys/sys/pcpu.h, I see that there are parts > of 'struct pcpu' that depend on the KTR_PERCPU being defined and they > are never compensated with padding in PCPU_MD_FIELDS for sun4v. Is > KTR_PERCPU constant for sun4v (inexisting or defined everytime) or I am > missing something? > It's just not taken into account but AFAICT also dead code. Marius From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 3 20:06:06 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C1F610656C9; Wed, 3 Jun 2009 20:06:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 22A4F8FC0A; Wed, 3 Jun 2009 20:06:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id B368F46B4C; Wed, 3 Jun 2009 16:06:05 -0400 (EDT) Date: Wed, 3 Jun 2009 21:06:05 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Eygene Ryabinkin In-Reply-To: Message-ID: References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org, marius@freebsd.org, sparc64@freebsd.org, FreeBSD Tinderbox , kmacy@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 20:06:08 -0000 On Wed, 3 Jun 2009, Eygene Ryabinkin wrote: >> This seems to be related to the recent NETISR changes, namely, the >> addition of the pc_netisr member to the struct pcpu: >> http://svn.freebsd.org/viewvc/base/head/sys/sys/pcpu.h?r1=187679&r2=193219&diff_format=u >> >> I am not sure how large (void *) is on sun4v, but it seems to me >> that it is 4 bytes long, so PCPU_MD_FIELDS_PAD inside sun4v/include/pcpu.h > ^^^^^^^^^^^^ > Sorry, eight bytes long: wrote 4, but really meant 8 ;)) > >> should be compensated for this change. Something like >> ----- >> #ifdef KTR >> #define PCPU_MD_FIELDS_PAD (3 - (PCPU_NAME_LEN + 7) / 8) >> #else >> #define PCPU_MD_FIELDS_PAD 3 >> #endif >> ----- >> though I am not very sure about KTR's case. > > KTR's case seems to be wrong for PCPU_NAME_LEN larger than 24 bytes. Just > now we won't be able to reach this with the current definition for > PCPU_NAME_LEN, but some day (N - (PCPU_NAME_LEN + 7)/8) can become negative > and that's bad. > > The attached patch should fix this (although I have no sun4v to test on, so > take it with a grain of salt). > > By the way, having looked at sys/sys/pcpu.h, I see that there are parts of > 'struct pcpu' that depend on the KTR_PERCPU being defined and they are never > compensated with padding in PCPU_MD_FIELDS for sun4v. Is KTR_PERCPU > constant for sun4v (inexisting or defined everytime) or I am missing > something? Is there a reason not just to use __aligned(64) or the like on the first entry of the MD PCPU structure for sun4v to avoid future MI pcpu changes from causing similar discomfort for the MD pcpu parts? Also, do we know why these alignment/sizing requirements exist for struct pcpu on sun4v but not other platforms? If this is about packing pcpu structures into properly aligned cache lines, again __aligned() might be the right approach to take... Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 3 23:35:37 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60FFC106564A; Wed, 3 Jun 2009 23:35:37 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 374218FC15; Wed, 3 Jun 2009 23:35:37 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id CE13046B2C; Wed, 3 Jun 2009 19:35:36 -0400 (EDT) Date: Thu, 4 Jun 2009 00:35:36 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Marcel Moolenaar In-Reply-To: <15550775-6B8A-414E-A579-8B518D62E06E@mac.com> Message-ID: References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> <15550775-6B8A-414E-A579-8B518D62E06E@mac.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: kmacy@freebsd.org, marius@freebsd.org, FreeBSD Tinderbox , sparc64@freebsd.org, Eygene Ryabinkin , current@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 23:35:38 -0000 On Wed, 3 Jun 2009, Marcel Moolenaar wrote: >> Is there a reason not just to use __aligned(64) or the like on the first >> entry of the MD PCPU structure for sun4v to avoid future MI pcpu changes >> from causing similar discomfort for the MD pcpu parts? Also, do we know >> why these alignment/sizing requirements exist for struct pcpu on sun4v but >> not other platforms? If this is about packing pcpu structures into >> properly aligned cache lines, again __aligned() might be the right approach >> to take... > > Adding __aligned(xx) doesn't make it aligned. For example, malloc(3) only > aligns at 16-byte boundaries, so any user-space structure that has > __aligned(x>16) must manually make sure that this is actually the case by > over-allocating and then adjusting the pointer to an x>16 aligned address. > Likewise for the kernel, though it's easier in the kernel to get something > that's page-aligned... FYI, I wan't sure if that was the problem that caused the alignment code in this case. However, I agree that malloc(9)'s lack of alignment support is a problem, and one that should be pretty easy to resolve by simply putting a bit of over-allocation code in malloc(9), and adding a malloc_aligned(9) variation, or perhaps just an M_CACHEALIGN flag. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 4 00:14:40 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 641231065672; Thu, 4 Jun 2009 00:14:40 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id 494CF8FC1D; Thu, 4 Jun 2009 00:14:40 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [172.24.105.139] (natint3.juniper.net [66.129.224.36]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KKO00BF3R8F1J70@asmtp011.mac.com>; Wed, 03 Jun 2009 16:14:40 -0700 (PDT) Message-id: <15550775-6B8A-414E-A579-8B518D62E06E@mac.com> From: Marcel Moolenaar To: Robert Watson In-reply-to: Date: Wed, 03 Jun 2009 16:14:38 -0700 References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> X-Mailer: Apple Mail (2.935.3) Cc: kmacy@freebsd.org, marius@freebsd.org, FreeBSD Tinderbox , sparc64@freebsd.org, Eygene Ryabinkin , current@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 00:14:41 -0000 On Jun 3, 2009, at 1:06 PM, Robert Watson wrote: > > Is there a reason not just to use __aligned(64) or the like on the > first entry of the MD PCPU structure for sun4v to avoid future MI > pcpu changes from causing similar discomfort for the MD pcpu parts? > Also, do we know why these alignment/sizing requirements exist for > struct pcpu on sun4v but not other platforms? If this is about > packing pcpu structures into properly aligned cache lines, again > __aligned() might be the right approach to take... Adding __aligned(xx) doesn't make it aligned. For example, malloc(3) only aligns at 16-byte boundaries, so any user-space structure that has __aligned(x>16) must manually make sure that this is actually the case by over-allocating and then adjusting the pointer to an x>16 aligned address. Likewise for the kernel, though it's easier in the kernel to get something that's page-aligned... FYI, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 4 03:26:22 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA9C1065670; Thu, 4 Jun 2009 03:26:22 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 119BE8FC15; Thu, 4 Jun 2009 03:26:22 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=kmbRGkKw9GitWXfA3Z7SogtG+eNtymOIW8v3Oow0N7GISobsQhJbjNdHQaZ/2UXzGHWnwhTMMjAUtpk2ztKC0hZnz+HGoOJyd0WhjdTJfNPtZqd2PeCjiuQ/3T+zh0klpWeEPe3f2jHAEy21smZhUvDEF0pcNTNexQBicF0PQVo=; Received: from phoenix.codelabs.ru (ppp85-141-161-25.pppoe.mtu-net.ru [85.141.161.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MC3au-0000Ch-Rq; Thu, 04 Jun 2009 07:26:21 +0400 Date: Thu, 4 Jun 2009 07:26:17 +0400 From: Eygene Ryabinkin To: Marius Strobl Message-ID: References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> <20090603194453.GA43137@alchemy.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090603194453.GA43137@alchemy.franken.de> Sender: rea-fbsd@codelabs.ru Cc: kmacy@freebsd.org, sparc64@freebsd.org, rwatson@freebsd.org, FreeBSD Tinderbox , khb@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 03:26:23 -0000 Marius, good day. First, thanks for committing the fix. Wed, Jun 03, 2009 at 09:44:53PM +0200, Marius Strobl wrote: > On Wed, Jun 03, 2009 at 01:54:30PM +0400, Eygene Ryabinkin wrote: > > KTR's case seems to be wrong for PCPU_NAME_LEN larger than 24 bytes. > > Just now we won't be able to reach this with the current definition > > for PCPU_NAME_LEN, but some day (N - (PCPU_NAME_LEN + 7)/8) can > > become negative and that's bad. > > If it actually becomes negative the build should break again, > which IMO is sufficient protection. Yes, "protection" is here. But it will break the build again and that's a bit uncomfortable. > > The attached patch should fix this (although I have no sun4v to test > > on, so take it with a grain of salt). > > I think this is overengineered, especially if not also > adjusting the padding for other macros which may change the > size of both MD and MI parts of struct pcpu. Hmm, don't fully understand about "other macros". Could you, please, provide an example? > > By the way, having looked at sys/sys/pcpu.h, I see that there are parts > > of 'struct pcpu' that depend on the KTR_PERCPU being defined and they > > are never compensated with padding in PCPU_MD_FIELDS for sun4v. Is > > KTR_PERCPU constant for sun4v (inexisting or defined everytime) or I am > > missing something? > > It's just not taken into account but AFAICT also dead code. Yes, seems like so. John, may be we can eliminate the only reference to KTR_PERCPU from sys/sys/pcpu.h? Both 'struct pcpu' fields seem to be unused (grep'ped -CURRENT sources). -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 4 12:22:21 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 468141065670; Thu, 4 Jun 2009 12:22:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 14E088FC08; Thu, 4 Jun 2009 12:22:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id B955846B38; Thu, 4 Jun 2009 08:22:20 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 8E0C58A02D; Thu, 4 Jun 2009 08:22:19 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org, rea-fbsd@codelabs.ru Date: Thu, 4 Jun 2009 08:02:25 -0400 User-Agent: KMail/1.9.7 References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> <20090603194453.GA43137@alchemy.franken.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906040802.27057.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 04 Jun 2009 08:22:19 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: kmacy@freebsd.org, khb@freebsd.org, Marius Strobl , rwatson@freebsd.org, FreeBSD Tinderbox , sparc64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 12:22:22 -0000 On Wednesday 03 June 2009 11:26:17 pm Eygene Ryabinkin wrote: > > > By the way, having looked at sys/sys/pcpu.h, I see that there are parts > > > of 'struct pcpu' that depend on the KTR_PERCPU being defined and they > > > are never compensated with padding in PCPU_MD_FIELDS for sun4v. Is > > > KTR_PERCPU constant for sun4v (inexisting or defined everytime) or I am > > > missing something? > > > > It's just not taken into account but AFAICT also dead code. > > Yes, seems like so. John, may be we can eliminate the only reference to > KTR_PERCPU from sys/sys/pcpu.h? Both 'struct pcpu' fields seem to be > unused (grep'ped -CURRENT sources). Yes. -- John Baldwin From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 4 12:22:23 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E02C6106564A; Thu, 4 Jun 2009 12:22:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id AE03D8FC12; Thu, 4 Jun 2009 12:22:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 6185A46B06; Thu, 4 Jun 2009 08:22:22 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 424528A02E; Thu, 4 Jun 2009 08:22:21 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 4 Jun 2009 08:16:50 -0400 User-Agent: KMail/1.9.7 References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> <15550775-6B8A-414E-A579-8B518D62E06E@mac.com> In-Reply-To: <15550775-6B8A-414E-A579-8B518D62E06E@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906040816.51244.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 04 Jun 2009 08:22:21 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: kmacy@freebsd.org, marius@freebsd.org, Robert Watson , FreeBSD Tinderbox , sparc64@freebsd.org, Eygene Ryabinkin , current@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 12:22:23 -0000 On Wednesday 03 June 2009 7:14:38 pm Marcel Moolenaar wrote: > > On Jun 3, 2009, at 1:06 PM, Robert Watson wrote: > > > > Is there a reason not just to use __aligned(64) or the like on the > > first entry of the MD PCPU structure for sun4v to avoid future MI > > pcpu changes from causing similar discomfort for the MD pcpu parts? > > Also, do we know why these alignment/sizing requirements exist for > > struct pcpu on sun4v but not other platforms? If this is about > > packing pcpu structures into properly aligned cache lines, again > > __aligned() might be the right approach to take... > > Adding __aligned(xx) doesn't make it aligned. For example, > malloc(3) only aligns at 16-byte boundaries, so any > user-space structure that has __aligned(x>16) must manually > make sure that this is actually the case by over-allocating > and then adjusting the pointer to an x>16 aligned address. > Likewise for the kernel, though it's easier in the kernel > to get something that's page-aligned... > FYI, Yes, but struct pcpu is a bit special I think. The MD code is responsible for allocating it (and in at least some cases it just allocates a complete page). As long as sun4v allocates struct pcpu on a 64 byte boundary, simply throwing __aligned() in will fix it. Also, since the existing code is just computing explicit padding space, it is already assuming the alignment of struct pcpu. It is simply implementing __aligned() in a harder-to-maintain way. It also doesn't make any sense the way it is doing it now since it is simply adding padding to the end of the structure. Perhaps it is attempting to round up the size of the entire structure? If so, that can easily be fixed in the MD code that allocates the structures by doing 'roundup(sizeof(struct pcpu), N)' when allocating the structure. The comments in pcpu.h seem to imply that it wants a section of the fields in the middle to be aligned to a certain boundary in which case I think the proper solution is to stick an __aligned() on the first such member and then to allocate the structures on a suitable alignment when allocating PCPU structures in the MD code. Presumably it would need the special work when allocating these structures even with the current hard-to-maintain padding hack. Again, that hack is no better than __aligned(), just a much bigger pain to maintain AFAICT. -- John Baldwin From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 4 13:17:50 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21A651065677; Thu, 4 Jun 2009 13:17:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id D50788FC0A; Thu, 4 Jun 2009 13:17:49 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n54DHl3W085324; Thu, 4 Jun 2009 09:17:47 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n54DHlEA029387; Thu, 4 Jun 2009 09:17:47 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 900E17302F; Thu, 4 Jun 2009 09:17:47 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090604131747.900E17302F@freebsd-current.sentex.ca> Date: Thu, 4 Jun 2009 09:17:47 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 13:17:50 -0000 TB --- 2009-06-04 11:40:30 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-04 11:40:30 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2009-06-04 11:40:30 - cleaning the object tree TB --- 2009-06-04 11:41:00 - cvsupping the source tree TB --- 2009-06-04 11:41:00 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2009-06-04 11:41:07 - building world TB --- 2009-06-04 11:41:07 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-04 11:41:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-04 11:41:07 - TARGET=sparc64 TB --- 2009-06-04 11:41:07 - TARGET_ARCH=sparc64 TB --- 2009-06-04 11:41:07 - TZ=UTC TB --- 2009-06-04 11:41:07 - __MAKE_CONF=/dev/null TB --- 2009-06-04 11:41:07 - cd /src TB --- 2009-06-04 11:41:07 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 4 11:41:08 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu Jun 4 13:02:39 UTC 2009 TB --- 2009-06-04 13:02:39 - generating LINT kernel config TB --- 2009-06-04 13:02:39 - cd /src/sys/sparc64/conf TB --- 2009-06-04 13:02:39 - /usr/bin/make -B LINT TB --- 2009-06-04 13:02:39 - building LINT kernel TB --- 2009-06-04 13:02:39 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-04 13:02:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-04 13:02:39 - TARGET=sparc64 TB --- 2009-06-04 13:02:39 - TARGET_ARCH=sparc64 TB --- 2009-06-04 13:02:39 - TZ=UTC TB --- 2009-06-04 13:02:39 - __MAKE_CONF=/dev/null TB --- 2009-06-04 13:02:39 - cd /src TB --- 2009-06-04 13:02:39 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 4 13:02:39 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/nfsserver/nfs_srvsubs.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/nfsserver/nfs_syscalls.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/nfs/nfs_nfssvc.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/nlm/nlm_advlock.c /src/sys/nlm/nlm_advlock.c: In function 'nlm_record_lock': /src/sys/nlm/nlm_advlock.c:719: error: 'errno' undeclared (first use in this function) /src/sys/nlm/nlm_advlock.c:719: error: (Each undeclared identifier is reported only once /src/sys/nlm/nlm_advlock.c:719: error: for each function it appears in.) *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-04 13:17:47 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-04 13:17:47 - ERROR: failed to build lint kernel TB --- 2009-06-04 13:17:47 - 4601.70 user 428.40 system 5837.15 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Fri Jun 5 06:30:02 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9C8A1065670; Fri, 5 Jun 2009 06:30:02 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 4F3018FC13; Fri, 5 Jun 2009 06:30:01 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=Vm+WuY32gQFKLlEXyE+/Q31WPGDthy7bBNNIujOVB9S+qVBFgC003PGibGB6G4CcHCI0v2Z5a4/6fhYBVaFf8LViM1ssbwwUOU2Wh3EWd+Xf9WO9xQwpfU3sxOIpRjAS8JIz9hHTpCuKQ7/BK+J8tXsYJxHinEM/9hR1BqzNdR4=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MCSwC-000BEk-2y; Fri, 05 Jun 2009 10:30:00 +0400 Date: Fri, 5 Jun 2009 10:29:56 +0400 From: Eygene Ryabinkin To: John Baldwin Message-ID: References: <20090602222445.2F6017302F@freebsd-current.sentex.ca> <20090603194453.GA43137@alchemy.franken.de> <200906040802.27057.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Er1qpsOqk0l6oMce" Content-Disposition: inline In-Reply-To: <200906040802.27057.jhb@freebsd.org> Sender: rea-fbsd@codelabs.ru Cc: kmacy@freebsd.org, Marius Strobl , freebsd-current@freebsd.org, rwatson@freebsd.org, FreeBSD Tinderbox , sparc64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 06:30:03 -0000 --Er1qpsOqk0l6oMce Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Thu, Jun 04, 2009 at 08:02:25AM -0400, John Baldwin wrote: > On Wednesday 03 June 2009 11:26:17 pm Eygene Ryabinkin wrote: > > Yes, seems like so. John, may be we can eliminate the only reference to > > KTR_PERCPU from sys/sys/pcpu.h? Both 'struct pcpu' fields seem to be > > unused (grep'ped -CURRENT sources). > > Yes. Fine. Then the attached patch should remove the stuff. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # --Er1qpsOqk0l6oMce Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-pcpu.h-eliminate-dead-code-with-KTR_PERCPU.patch" Content-Transfer-Encoding: quoted-printable =46rom fdb33fbebb9470529fd7dea56905f0454ac53905 Mon Sep 17 00:00:00 2001 =46rom: Eygene Ryabinkin Date: Fri, 5 Jun 2009 10:25:52 +0400 Subject: [PATCH] pcpu.h: eliminate dead code with KTR_PERCPU As per words of John Baldwin, http://lists.freebsd.org/pipermail/freebsd-current/2009-June/007749.html and as discovered by grep'ping -CURRENT sources, KTR_PERCPU is not used anywhere and there is no intention to support it. Signed-off-by: Eygene Ryabinkin --- sys/sys/pcpu.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h index 98705eb..500657e 100644 --- a/sys/sys/pcpu.h +++ b/sys/sys/pcpu.h @@ -76,10 +76,6 @@ struct pcpu { cpumask_t pc_other_cpus; /* Mask of all other cpus */ SLIST_ENTRY(pcpu) pc_allcpu; struct lock_list_entry *pc_spinlocks; -#ifdef KTR_PERCPU - int pc_ktr_idx; /* Index into trace table */ - char *pc_ktr_buf; -#endif #ifdef KTR char pc_name[PCPU_NAME_LEN]; /* String name for KTR. */ #endif --=20 1.6.3.1 --Er1qpsOqk0l6oMce--