On Fri, Sep 17, 2010 at 08:37:50AM -0400, Paul Mather wrote: > On Sep 16, 2010, at 1:44 AM, Martin Matuska wrote: > > > I have fixed the missing bits in r212688. > > > > Thanks for the notice. > > > > Dňa 15. 9. 2010 21:12, Xin LI wrote / napísal(a): > >> On 2010/09/15 11:30, Mike Tancsa wrote: > >>> At 02:07 PM 9/15/2010, Pascal Stumpf wrote: > >>>> First of all, a great thanks to mm@ and pjd@ for the excellent work on > >>>> ZFS in FreeBSD. :) And especially for the MFC of v15 a few hours ago. > >> > >> [...] > >>> here too. RELENG_8 AMD64. The tinderboxes havent hit that branch yet > >>> (<http://tinderbox.freebsd.org/>http://tinderbox.freebsd.org/), so it > >>> will be a few hrs before they get to test RELENG_8 > >> [...] > >>> -lsbuf -lm -lnvpair -luutil -lutil > >>> /usr/obj/usr/src/tmp/usr/lib/libzfs.so: undefined reference to `getmntent' > >>> *** Error code 1 > >> > >> Sorry for that, it seems to be caused by a partial merge > >> (cddl/compat/opensolaris/misc/mnttab.c). mm@ is going to fix that ASAP. > >> > >> Cheers, > > I am getting a build failure on 8.1-STABLE: > > ===== > [[...]] > cc -c -O2 -pipe -fno-strict-aliasing -march=pentium4 -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/usr/src/sys -I/usr/src/sys/contrib/altq > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -Werror > /usr/src/sys/kern/p1003_1b.c > cc -c -O2 -pipe -fno-strict-aliasing -march=pentium4 -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/usr/src/sys -I/usr/src/sys/contrib/altq > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -Werror > /usr/src/sys/kern/posix4_mib.c > cc -c -O2 -pipe -fno-strict-aliasing -march=pentium4 -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/usr/src/sys -I/usr/src/sys/contrib/altq > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -Werror > /usr/src/sys/kern/sched_ule.c > cc1: warnings being treated as errors > /usr/src/sys/kern/sched_ule.c: In function 'sched_switch': > /usr/src/sys/kern/sched_ule.c:1807: warning: implicit declaration of function > 'sched_pickcpu' > /usr/src/sys/kern/sched_ule.c:1807: warning: nested extern declaration of > 'sched_pickcpu' > *** Error code 1
The problem was that a piece of committed code in the ULE scheduler was lacking an #ifdef statement for checking "options SMP". Meaning: kernel configs which lacked "options SMP" would break exactly as shown above. This has been fixed (see "Fix UP build" commit); please update your source tree. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/sched_ule.c -- | Jeremy Chadwick j...@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"