From owner-freebsd-tinderbox@FreeBSD.ORG Sun Apr 27 17:17:36 2008 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 B50B31065685; Sun, 27 Apr 2008 17:17:36 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.75]) by mx1.freebsd.org (Postfix) with ESMTP id 9518D8FC21; Sun, 27 Apr 2008 17:17:36 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp004-s [10.150.69.67]) by smtpoutm.mac.com (Xserve/smtpout012/MantshX 4.0) with ESMTP id m3RHHae6016945; Sun, 27 Apr 2008 10:17:36 -0700 (PDT) Received: from [192.168.1.100] (209-128-86-226.bayarea.net [209.128.86.226]) (authenticated bits=0) by mac.com (Xserve/asmtp004/MantshX 4.0) with ESMTP id m3RHHYo1024535 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 27 Apr 2008 10:17:34 -0700 (PDT) Message-Id: <1978FD78-2D00-4E28-B928-3852F5F8A4A4@mac.com> From: Marcel Moolenaar To: FreeBSD Tinderbox In-Reply-To: <20080427115038.16EBB73039@freebsd-current.sentex.ca> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 27 Apr 2008 10:17:34 -0700 References: <20080427115038.16EBB73039@freebsd-current.sentex.ca> X-Mailer: Apple Mail (2.919.2) Cc: powerpc@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc/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, 27 Apr 2008 17:17:36 -0000 On Apr 27, 2008, at 4:50 AM, FreeBSD Tinderbox 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. FYI, -- Marcel Moolenaar xcllnt@mac.com