[head tinderbox] failure on powerpc/powerpc
Marcel Moolenaar
xcllnt at mac.com
Sun Apr 27 17:17:36 UTC 2008
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 at mac.com
More information about the freebsd-ppc
mailing list