Trond Endrestøl
2015-Dec-31 12:18 UTC
r292973 creates problems for stable/10 kernels and options ZFS
After r292973, it's impossible to build a stable/10 kernel configured with options ZFS: --- kernel.debug --- linking kernel.debug subr_nvlist.o: In function `nvlist_add_nvlist': /usr/src/sys/kern/subr_nvlist.c:1189: multiple definition of `nvlist_add_nvlist' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:1144: first defined here subr_nvlist.o: In function `nvlist_add_nvpair': /usr/src/sys/kern/subr_nvlist.c:1061: multiple definition of `nvlist_add_nvpair' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:1979: first defined here subr_nvlist.o: In function `nvlist_add_string': /usr/src/sys/kern/subr_nvlist.c:1171: multiple definition of `nvlist_add_string' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:1064: first defined here subr_nvlist.o: In function `nvlist_empty': /usr/src/sys/kern/subr_nvlist.c:226: multiple definition of `nvlist_empty' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:1210: first defined here subr_nvlist.o: In function `nvlist_exists': /usr/src/sys/kern/subr_nvlist.c:1034: multiple definition of `nvlist_exists' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:1797: first defined here subr_nvlist.o: In function `nvlist_free': /usr/src/sys/kern/subr_nvlist.c:1439: multiple definition of `nvlist_free' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:561: first defined here subr_nvlist.o: In function `nvlist_next_nvpair': /usr/src/sys/kern/subr_nvlist.c:983: multiple definition of `nvlist_next_nvpair' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:1157: first defined here subr_nvlist.o: In function `nvlist_pack': /usr/src/sys/kern/subr_nvlist.c:696: multiple definition of `nvlist_pack' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:2351: first defined here subr_nvlist.o: In function `nvlist_prev_nvpair': /usr/src/sys/kern/subr_nvlist.c:999: multiple definition of `nvlist_prev_nvpair' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:1186: first defined here subr_nvlist.o: In function `nvlist_remove_nvpair': /usr/src/sys/kern/subr_nvlist.c:1428: multiple definition of `nvlist_remove_nvpair' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:704: first defined here subr_nvlist.o: In function `nvlist_size': /usr/src/sys/kern/subr_nvlist.c:448: multiple definition of `nvlist_size' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:2340: first defined here subr_nvlist.o: In function `nvlist_unpack': /usr/src/sys/kern/subr_nvlist.c:855: multiple definition of `nvlist_unpack' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:2413: first defined here subr_nvlist.o: In function `nvlist_xpack': /usr/src/sys/kern/subr_nvlist.c:601: multiple definition of `nvlist_xpack' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:2363: first defined here subr_nvlist.o: In function `nvlist_xunpack': /usr/src/sys/kern/subr_nvlist.c:780: multiple definition of `nvlist_xunpack' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:2424: first defined here subr_nvpair.o: In function `nvpair_name': /usr/src/sys/kern/subr_nvpair.c:711: multiple definition of `nvpair_name' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:1222: first defined here subr_nvpair.o: In function `nvpair_type': /usr/src/sys/kern/subr_nvpair.c:702: multiple definition of `nvpair_type' opensolaris_nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c:1228: first defined here *** [kernel.debug] Error code 1 Is options ZFS discouraged? I find it better to have a selfcontained kernel for something so important as ZFS, at least when it's the core FS for some of my systems. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+