From owner-freebsd-current@freebsd.org Thu Aug 27 20:11:30 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA8ED3C24AC for ; Thu, 27 Aug 2020 20:11:30 +0000 (UTC) (envelope-from saken@codered.rmta.org) Received: from girl.rmta.org (girl.rmta.org [67.205.152.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "girl.rmta.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bcv4x5n1kz4jgb for ; Thu, 27 Aug 2020 20:11:29 +0000 (UTC) (envelope-from saken@codered.rmta.org) Received: from codered.rmta.org (codered.rmta.org [174.63.37.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "codered.rmta.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by girl.rmta.org (Postfix) with ESMTPSA id 03EB3273883 for ; Thu, 27 Aug 2020 20:10:59 +0000 (UTC) Received: by codered.rmta.org (Postfix, from userid 1001) id 5AF80DDB641; Thu, 27 Aug 2020 16:10:58 -0400 (EDT) Resent-From: Scott Kenney Resent-Date: Thu, 27 Aug 2020 16:10:58 -0400 Resent-Message-ID: <20200827201058.GA44507@codered.rmta.org> Resent-To: freebsd-current@freebsd.org Date: Thu, 27 Aug 2020 15:55:16 -0400 From: Scott Kenney To: Matthew Macy Cc: freebsd-current@freebsd-org Subject: Re: buildkernel fais with option ZFS in kernel configuration Message-ID: <20200827195516.GA44433@codered.rmta.org> References: <20200827152306.GA37436@codered.rmta.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Bcv4x5n1kz4jgb X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.75 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; FORGED_RECIPIENTS(1.00)[mmacy@freebsd.org ..,freebsd-current@freebsd.org]; R_DKIM_ALLOW(-0.20)[codered.rmta.org:s=default]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.94)[-0.938]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[174.63.37.77:received]; NEURAL_HAM_MEDIUM(-1.01)[-1.014]; DKIM_TRACE(0.00)[codered.rmta.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[codered.rmta.org,quarantine]; NEURAL_HAM_SHORT(-0.79)[-0.793]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:67.205.144.0/20, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 20:11:30 -0000 On Thu, Aug 27, 2020 at 11:36:56AM -0700, Matthew Macy wrote: > Need zstdio option when linking statically Thank you. It should probably be added as a requirement to the NOTES file. > On Thu, Aug 27, 2020 at 8:23 AM Scott Kenney wrote: > > > > Hello, > > > > Just noticed that buildkernel fails with "options ZFS" in the kernel > > configuration file, the modules build without error. > > > > Source is at revision 364870 > > > > FreeBSD datura.rmta.org 13.0-CURRENT FreeBSD > > 13.0-CURRENT #3 r364525: Sun Aug 23 23:14:23 EDT 2020 > > root@datura.rmta.org:/usr/obj/usr/src/amd64.amd64/sys/DATURA amd64 > > > > > > > > linking kernel > > ld: error: undefined symbol: zfs_zstd_compress > > >>> referenced by zio_compress.c > > >>> zio_compress.o:(zio_compress_table) > > > > ld: error: undefined symbol: zfs_zstd_decompress > > >>> referenced by zio_compress.c > > >>> zio_compress.o:(zio_compress_table) > > > > ld: error: undefined symbol: zfs_zstd_decompress_level > > >>> referenced by zio_compress.c > > >>> zio_compress.o:(zio_compress_table) > > *** [kernel] Error code 1 > > > > make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/DATURA > > 1 error > > > > make[2]: stopped in /usr/obj/usr/src/amd64.a > > make[2]: stopped in /usr/obj/usr/src/amd64.a -- Scott Kenney >|< saken@hotel.rmta.org "Let's exchange the experience" - KB