Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libperfuse related build error



On Wed, May 11, 2011 at 02:33:56PM +0200, Hauke Fath wrote:
> Since yesterday, -current sparc builds fail with
> 
> #   compile  libperfuse/ops.o
> /u/netbsd-builds/developer/sparc/tools/bin/sparc--netbsdelf-gcc -O2  -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
> -Wno-
> traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow
> -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wsign-compare
> -std=gnu99  -Werr
> or    -I/public/netbsd-developer/lib/libperfuse
> -I/public/netbsd-developer/lib/libpuffs
> --sysroot=/u/netbsd-builds/developer/sparc/destdir  -c    /public/n
> etbsd-developer/lib/libperfuse/ops.c -o ops.o
> /public/netbsd-developer/lib/libperfuse/ops.c: In function 'perfuse_fs_init':
> /public/netbsd-developer/lib/libperfuse/ops.c:811: error: 'PAGE_SIZE'

userland should not use PAGE_SIZE; it's not guaranteed to exist.
On sparc, PAGE_SIZE depends on the underlying hardware.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index