From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 09:30:11 2008 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 110D3106567D; Mon, 28 Apr 2008 09:30:11 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id BA1FD8FC15; Mon, 28 Apr 2008 09:30:10 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id m3S8oIZA029937; Mon, 28 Apr 2008 02:50:18 -0600 Message-ID: <48158FC7.6010909@semihalf.com> Date: Mon, 28 Apr 2008 10:50:15 +0200 From: Rafal Jaworowski MIME-Version: 1.0 To: Marcel Moolenaar References: <20080427115038.16EBB73039@freebsd-current.sentex.ca> <1978FD78-2D00-4E28-B928-3852F5F8A4A4@mac.com> In-Reply-To: <1978FD78-2D00-4E28-B928-3852F5F8A4A4@mac.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: powerpc@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc/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: Mon, 28 Apr 2008 09:30:11 -0000 Marcel Moolenaar wrote: >> [...] >> cc -c -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 -I/src/sys/contrib/ipfilter >> -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm >> -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD >> -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h >> -finline-limit=15000 --param inline-unit-growth=100 --param >> large-function-growth=1000 -fno-builtin -msoft-float >> -fno-omit-frame-pointer -msoft-float -ffreestanding >> /src/sys/powerpc/powerpc/genassym.c >> In file included from /src/sys/sys/lock_profile.h:39, >> from /src/sys/sys/proc.h:48, >> from /src/sys/powerpc/powerpc/genassym.c:40: >> ./machine/cpufunc.h: In function 'mfsvr': >> ./machine/cpufunc.h:131: error: 'SPR_SVR' undeclared (first use in >> this function) >> ./machine/cpufunc.h:131: error: (Each undeclared identifier is >> reported only once >> ./machine/cpufunc.h:131: error: for each function it appears in.) >> *** Error code 1 > > Fixed. > > Rafal: I removed mfsvr() in favor of just using mfspr(SPR_SVR). Feel free > to tweak further. Thanks Marcel, my apologies for overlooking this. Rafal