[TEST/REVIEW]: rootfs mounting code rework

Simon L. Nielsen simon at FreeBSD.org
Sat Dec 4 15:43:14 PST 2004


On 2004.12.04 11:08:17 +0100, Poul-Henning Kamp wrote:
> 
> http://phk.freebsd.dk/patch/rootfs.patch
> 
> Please test and review.

When I compile this on amd64 it fails with:

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/d/FreeBSD/test-src/sys -I/d/FreeBSD/test-src/sys/contrib/dev/acpica -I/d/FreeBSD/test-src/sys/contrib/altq -I/d/FreeBSD/test-src/sys/contrib/ipfilter -I/d/FreeBSD/test-src/sys/contrib/pf -I/d/FreeBSD/test-src/sys/contrib/dev/ath -I/d/FreeBSD/test-src/sys/contrib/dev/ath/freebsd -I/d/FreeBSD/test-src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror  /d/FreeBSD/test-src/sys/nfsclient/nfs_vfsops.c
/d/FreeBSD/test-src/sys/nfsclient/nfs_vfsops.c: In function `nfs_mount':
/d/FreeBSD/test-src/sys/nfsclient/nfs_vfsops.c:690: warning: passing arg 4 of `vfs_getopt' from incompatible pointer type

i386 compiles fine (just haven't gotten around to testing the kernel
yet).

-- 
Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041205/16d0607d/attachment.bin


More information about the freebsd-current mailing list