From owner-freebsd-tinderbox@FreeBSD.ORG Sun Dec 25 11:42:53 2011 Return-Path: Delivered-To: tinderbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1391A1065672; Sun, 25 Dec 2011 11:42:53 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C7E568FC13; Sun, 25 Dec 2011 11:42:52 +0000 (UTC) Received: by dakp5 with SMTP id p5so9806713dak.13 for ; Sun, 25 Dec 2011 03:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=GnMQMNBhnGA47z/Fg+slWKtqpBRCsS2v/iwsDV/Q44c=; b=AU1tzdDfe6JGgHs4fWohP/qIGs8Ab5yg4j0Lb/97qSBxxPUoxgt6yJC4/FHIvZoMx4 Emv+yPgOhViaP7mGtwOE17MzYgCi3NmT+0IdfCZOcdGnSONQrEXxZffe5EQ9Bo8cZ6EF PuhDYqRkcbBOs2daTygPF9cyyTEu5zoAXg8+M= MIME-Version: 1.0 Received: by 10.68.192.97 with SMTP id hf1mr48061298pbc.5.1324813372035; Sun, 25 Dec 2011 03:42:52 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.142.100.21 with HTTP; Sun, 25 Dec 2011 03:42:51 -0800 (PST) Received: by 10.142.100.21 with HTTP; Sun, 25 Dec 2011 03:42:51 -0800 (PST) In-Reply-To: <4EF6F633.80803@fgznet.ch> References: <201112242345.pBONjh5K008411@freebsd-current.sentex.ca> <4EF6F633.80803@fgznet.ch> Date: Sun, 25 Dec 2011 06:42:51 -0500 X-Google-Sender-Auth: NXeInwEf8TaIGIAfD9hu7nUVx7A Message-ID: From: Justin Hibbits To: Andreas Tobler Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: powerpc64@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Tinderbox reports, responses, and meta-comments" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2011 11:42:53 -0000 On Dec 25, 2011 5:27 AM, "Andreas Tobler" wrote: > > On 25.12.11 00:59, Justin Hibbits wrote: >> >> On Dec 24, 2011 6:46 PM, "FreeBSD Tinderbox" wrote: >>> >>> >>> TB --- 2011-12-24 21:13:44 - tinderbox 2.8 running on >> >> freebsd-current.sentex.ca >>> >>> TB --- 2011-12-24 21:13:44 - starting HEAD tinderbox run for >> >> powerpc64/powerpc >>> >>> TB --- 2011-12-24 21:13:44 - cleaning the object tree >>> TB --- 2011-12-24 21:13:56 - cvsupping the source tree >>> TB --- 2011-12-24 21:13:56 - /usr/bin/csup -z -r 3 -g -L 1 -h >> >> cvsup.sentex.ca /tinderbox/HEAD/powerpc64/powerpc/supfile >>> >>> TB --- 2011-12-24 21:14:08 - building world >>> TB --- 2011-12-24 21:14:08 - CROSS_BUILD_TESTING=YES >>> TB --- 2011-12-24 21:14:08 - MAKEOBJDIRPREFIX=/obj >>> TB --- 2011-12-24 21:14:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin >>> TB --- 2011-12-24 21:14:08 - SRCCONF=/dev/null >>> TB --- 2011-12-24 21:14:08 - TARGET=powerpc >>> TB --- 2011-12-24 21:14:08 - TARGET_ARCH=powerpc64 >>> TB --- 2011-12-24 21:14:08 - TZ=UTC >>> TB --- 2011-12-24 21:14:08 - __MAKE_CONF=/dev/null >>> TB --- 2011-12-24 21:14:08 - cd /src >>> TB --- 2011-12-24 21:14:08 - /usr/bin/make -B buildworld >>>>>> >>>>>> World build started on Sat Dec 24 21:14:08 UTC 2011 >>>>>> 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 >>>>>> stage 5.1: building 32 bit shim libraries >>>>>> World build completed on Sat Dec 24 23:35:25 UTC 2011 >>> >>> TB --- 2011-12-24 23:35:25 - generating LINT kernel config >>> TB --- 2011-12-24 23:35:25 - cd /src/sys/powerpc/conf >>> TB --- 2011-12-24 23:35:25 - /usr/bin/make -B LINT >>> TB --- 2011-12-24 23:35:25 - cd /src/sys/powerpc/conf >>> TB --- 2011-12-24 23:35:25 - /usr/sbin/config -m LINT >>> TB --- 2011-12-24 23:35:25 - building LINT kernel >>> TB --- 2011-12-24 23:35:25 - CROSS_BUILD_TESTING=YES >>> TB --- 2011-12-24 23:35:25 - MAKEOBJDIRPREFIX=/obj >>> TB --- 2011-12-24 23:35:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin >>> TB --- 2011-12-24 23:35:25 - SRCCONF=/dev/null >>> TB --- 2011-12-24 23:35:25 - TARGET=powerpc >>> TB --- 2011-12-24 23:35:25 - TARGET_ARCH=powerpc64 >>> TB --- 2011-12-24 23:35:25 - TZ=UTC >>> TB --- 2011-12-24 23:35:25 - __MAKE_CONF=/dev/null >>> TB --- 2011-12-24 23:35:25 - cd /src >>> TB --- 2011-12-24 23:35:25 - /usr/bin/make -B buildkernel KERNCONF=LINT >>>>>> >>>>>> Kernel build for LINT started on Sat Dec 24 23:35:25 UTC 2011 >>>>>> 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 -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs >> >> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >> -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions >> -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. >> -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -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 -msoft-float -Wa,-many >> -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc >> -ffreestanding -fstack-protector -Werror /src/sys/dev/fb/fb.c >>> >>> cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs >> >> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >> -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions >> -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. >> -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -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 -msoft-float -Wa,-many >> -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc >> -ffreestanding -fstack-protector -Werror /src/sys/dev/hwpmc/hwpmc_powerpc.c >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c: In function 'powerpc_intr': >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'AMD_PMC_ENABLE' >> >> undeclared (first use in this function) >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: (Each undeclared >> >> identifier is reported only once >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: for each function it >> >> appears in.) >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'union pmc_md_pmc' has no >> >> member named 'pm_amd' >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'union pmc_md_pmc' has no >> >> member named 'pm_amd' >>> >>> *** Error code 1 >>> >>> Stop in /obj/powerpc.powerpc64/src/sys/LINT. >>> *** Error code 1 >>> >>> Stop in /src. >>> *** Error code 1 >>> >>> Stop in /src. >>> TB --- 2011-12-24 23:45:43 - WARNING: /usr/bin/make returned exit code 1 >>> TB --- 2011-12-24 23:45:43 - ERROR: failed to build LINT kernel >>> TB --- 2011-12-24 23:45:43 - 7497.27 user 1367.80 system 9118.84 real >>> >>> >>> http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc64-powerpc.full >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to " freebsd-current-unsubscribe@freebsd.org" >> >> >> Sorry about this, bad patch when I tested the build. I'll fix it tomorrow >> when I get time. > > > Something like this? > > Andreas > > Index: hwpmc_powerpc.c > =================================================================== > --- hwpmc_powerpc.c (revision 228872) > +++ hwpmc_powerpc.c (working copy) > @@ -686,10 +686,10 @@ > v = pm->pm_sc.pm_reloadcount; > config = mfspr(SPR_MMCR0); > > - KASSERT((config & ~AMD_PMC_ENABLE) == > - (pm->pm_md.pm_amd.pm_amd_evsel & ~AMD_PMC_ENABLE), > + KASSERT((config & ~POWERPC_PMC_ENABLE) == > + (pm->pm_md.pm_powerpc.pm_powerpc_evsel & ~POWERPC_PMC_ENABLE), > ("[powerpc,%d] config mismatch reg=0x%x pm=0x%x", __LINE__, > - config, pm->pm_md.pm_amd.pm_amd_evsel)); > + config, pm->pm_md.pm_powerpc.pm_powerpc_evsel)); > > mtspr(SPR_MMCR0, config | SPR_MMCR0_FC); > powerpc_pmcn_write(i, v); > > It's fine to delete the assert, I sent Nathan a patch to do so, but don't expect to commit it until tonight or tomorrow. You could commit a deletion if you want. - Justin