From owner-freebsd-current@FreeBSD.ORG Sun Dec 25 10:27:02 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F4F3106564A; Sun, 25 Dec 2011 10:27:02 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id A8A078FC0C; Sun, 25 Dec 2011 10:27:00 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id pBPA5dA2063187; Sun, 25 Dec 2011 11:05:41 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <4EF6F633.80803@fgznet.ch> Date: Sun, 25 Dec 2011 11:08:51 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Justin Hibbits References: <201112242345.pBONjh5K008411@freebsd-current.sentex.ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: powerpc64@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2011 10:27:02 -0000 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);