From nobody Thu Dec 09 19:09:42 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E100118CD341 for ; Thu, 9 Dec 2021 19:09:46 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J93WG4F6Hz4Zvq for ; Thu, 9 Dec 2021 19:09:46 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-io1-xd2e.google.com with SMTP id e128so7850235iof.1 for ; Thu, 09 Dec 2021 11:09:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Wsb5GeRCdN/oWFkRkQeqUU03KXBFFXMIs4BlqW2WA/0=; b=RIQ1luZ7vq2cxX0O7lbFg38XGJl/qcFuYzHTIkJ3pkg/nyGl1fqn88uBTKcNtAp2fw qNoSmw7CIMPBp2mQvhE6GjBgZAVMLFwDJ2iXdjldwA5LdgneezDTaqshW1ho4tVLevq2 8Ub7/yqkG2buDCqInD1EzGwawsU8rGBkcC6Yq7d27ZnFjbLNa+MuLw7D/iynaRwAxVb7 GVjNufTySOQmdQNaBIqyKTOopyAY9QOJGwXeRqQUcBMmAU0g+8lx7VEgmCodmjRAVJ7V 7ra70wbaNYvBAbtfXuVCJ2DcK+V7dUgWxQ4y2K4l739Ym8/+3FFTrwxgQ0Frq08MX7JF JWLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=Wsb5GeRCdN/oWFkRkQeqUU03KXBFFXMIs4BlqW2WA/0=; b=1qaMXnGksHZn4PnShmKLq2RnK0Qsk5++jSyNZXzbetcAf8X4X4IVD/QjT1sK2eO+rf 6KH3O8ULt2cpz/mvddfW8KX0SYIIL5ZUpvJXjBmb7Fp9n6AstPr6b7ExI+Kp7U2NJibk asdFA4VBTioDcwTROiJJ3GxEQaz/37lnPy+Dw9zPdu2JMYYMbVtod6WY3HCbdkHe0aLg PqWgDwdnx1uXebTlH4fIDcQltDnZVKW9mztynLN1d+m9Dr3zTvvRHDGqZPIHqeJUXyzh SHrcNdgnvJHeJ3xfDK3QXMXSwOD+d1knwWXnD2KrcNaU1nWbGlVbSlFMkiOer1qvFswU 0V9Q== X-Gm-Message-State: AOAM533HYmm7EYgsj75hcdYhZ+rx0CKrRC7VkkO4rUcvqjAuG77PT3Bu SFWPBAvsGdAT0OdzQG9gEBEW/MWVR9y1Xg== X-Google-Smtp-Source: ABdhPJyvepKnzL7iG5PcJC12gZNic4Cih9ij7Z2QUISnU3pOWfV9ufOZWvS2KzfZkqh3b7i82RNrbw== X-Received: by 2002:a6b:d904:: with SMTP id r4mr16457434ioc.52.1639076985272; Thu, 09 Dec 2021 11:09:45 -0800 (PST) Received: from nuc ([142.126.186.191]) by smtp.gmail.com with ESMTPSA id y21sm317757ioj.41.2021.12.09.11.09.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 11:09:44 -0800 (PST) Date: Thu, 9 Dec 2021 14:09:42 -0500 From: Mark Johnston To: Kirill Ponomarev Cc: FreeBSD User , freebsd-current Subject: Re: CURRENT: can not build 13-STABLE: ld: error: undefined symbol: uncompress Message-ID: References: <20211208160516.665649dd@freyja> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4J93WG4F6Hz4Zvq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, Dec 09, 2021 at 07:37:18PM +0100, Kirill Ponomarev wrote: > On 12/08, Mark Johnston wrote: > > On Wed, Dec 08, 2021 at 04:05:16PM +0100, FreeBSD User wrote: > > > Building recent 13-STABLE sources on a recent 14-CURRENT (FreeBSD 14.0-CURRENT > > > #7 main-n251463-935dc0de881: Wed Dec 8 06:49:25 CET 2021 amd64) fails with the > > > linker error shown below. > > > > > > Due to this error, no FreeBSD pkg base nor NanoBSD Image can be build. > > > > > > > > > [...] > > > cc -O2 -pipe -O3 -fno-common > > > -I/pool/poudriere/jails/13amd64/usr/src/contrib/elftoolchain/libelftc > > > -I/pool/poudriere/jails/13amd64/usr/src/contrib/elftoolchain/common -DNDEBUG > > > -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -W > > > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > > > -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter > > > -Wcast-align -Wchar-subscripts -Wnested-externs -Wredundant-decls > > > -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations > > > -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable > > > -Wno-error=unused-but-set-variable -Qunused-arguments > > > -I/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd64.amd64/tmp/legacy/usr/include > > > -static > > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd64.amd64/tmp/legacy/usr/lib > > > -o nm nm.o > > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/libdwarf > > > -ldwarf > > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/libelf > > > -lelf > > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/libelftc > > > -lelftc_pie > > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/libelf > > > -lelf -legacy ld: error: undefined symbol: uncompress > > > >>> referenced by libdwarf_elf_init.c > > > >>> libdwarf_elf_init.o:(_dwarf_elf_init) in archive > > > >>> /usr/lib/libdwarf.a > > > cc: error: linker command failed with exit code 1 (use -v to see invocation) > > > *** [nm] Error code 1 > > > > Is this build using WITHOUT_CLEAN? If so I think you'll need to try a > > clean build if you had previous built world between dbf05458e3bd and > > 8d5d329553b3. > > I ran 'make clean' before buildworld and got the same issue. make clean, or make cleanworld? I think the latter is needed. And is your buildworld done with WITHOUT_CLEAN set?