Re: [TEST/REVIEW]: rootfs mounting code rework

From: Simon L. Nielsen <simon_at_FreeBSD.org>
Date: Sun, 5 Dec 2004 00:43:13 +0100
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

Received on Sat Dec 04 2004 - 22:43:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:23 UTC