svn commit: r285139 - in head: lib/libnv sys/conf sys/contrib/libnv sys/kern sys/sys
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jul 9 20:32:00 UTC 2015
On Thu, Jul 09, 2015 at 01:29:54PM -0700, Peter Wemm wrote:
> On Saturday, July 04, 2015 04:33:38 PM Mariusz Zaborski wrote:
> > Author: oshogbo
> > Date: Sat Jul 4 16:33:37 2015
> > New Revision: 285139
> > URL: https://svnweb.freebsd.org/changeset/base/285139
> >
> > Log:
> > Move the nvlist source and private includes from sys/kern to seperate
> > directory sys/contrib/libnv.
> >
> > The goal of this operation is to NOT install header files which shouldn't
> > be used outside the nvlist library.
>
> > head/sys/contrib/libnv/nvlist.c
> > - copied, changed from r285128, head/sys/kern/subr_nvlist.c
>
> You have broken kernel builds for the freebsd.org cluster. By renaming
> "subr_nvlist.o" to "nvlist.o" you now cause:
>
> make[2]: ".../Makefile" line 3143: warning: duplicate script for target
> "nvpair.o" ignored
> make[2]: ".../Makefile" line 1260: warning: using previous script for
> "nvpair.o" defined here
>
> ....
>
> linking kernel.debug
> nvpair.o: In function `illumos_nvlist_add_nvlist':
> /usr/src/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c:1136: multiple
> definition of `illumos_nvlist_add_nvlist'
> nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c:1136:
> first defined here
> nvpair.o: In function `illumos_nvlist_add_nvpair':
> /usr/src/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c:1971: multiple
> definition of `illumos_nvlist_add_nvpair'
> nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c:1971:
> first defined here
> ....
>
> I'm going to attempt to revert this for the freebsd.org cluster because I need
> it to compile for openssl.
>
You probably want to specify that this happens when zfs is built in the kernel
not as a module.
Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150709/a7d2793f/attachment.bin>
More information about the svn-src-all
mailing list