From owner-freebsd-current@freebsd.org Thu Aug 27 18:37:10 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 97C853BC00E for ; Thu, 27 Aug 2020 18:37:10 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bcs063blyz466b for ; Thu, 27 Aug 2020 18:37:10 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: mmacy) by smtp.freebsd.org (Postfix) with ESMTPSA id 5D9D62D918 for ; Thu, 27 Aug 2020 18:37:10 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: by mail-lf1-f52.google.com with SMTP id s9so3464765lfs.4 for ; Thu, 27 Aug 2020 11:37:10 -0700 (PDT) X-Gm-Message-State: AOAM532qMag8hwwUabihGKgJlAfU98UNOJOhwg7Q09gFgYrLgBGmOeLq KY7PWUEWx//6gzp+bjeBJT9C9dvkpDJCdoMbopo= X-Google-Smtp-Source: ABdhPJzwceX9I7VKtToEQIDo78aogZJCXp21XdXI5eMaHeqinHC8c90yCFWCoZ6gHJzfS9M2/R1w6rv15LJh7Co5eBA= X-Received: by 2002:ac2:4837:: with SMTP id 23mr8356919lft.145.1598553428628; Thu, 27 Aug 2020 11:37:08 -0700 (PDT) MIME-Version: 1.0 References: <20200827152306.GA37436@codered.rmta.org> In-Reply-To: <20200827152306.GA37436@codered.rmta.org> From: Matthew Macy Date: Thu, 27 Aug 2020 11:36:56 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: buildkernel fais with option ZFS in kernel configuration To: Scott Kenney Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" 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 18:37:10 -0000 Need zstdio option when linking statically 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@coderd.rmta.org > "Let's exchange the experience" - KB > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"