From nobody Thu Dec 09 18:37:18 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 BD8BE18EEF59 for ; Thu, 9 Dec 2021 18:37:30 +0000 (UTC) (envelope-from kp@krion.cc) Received: from krion.cc (krion.cc [148.251.235.209]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4J92p16YWYz3sc1; Thu, 9 Dec 2021 18:37:29 +0000 (UTC) (envelope-from kp@krion.cc) Date: Thu, 9 Dec 2021 19:37:18 +0100 From: Kirill Ponomarev To: Mark Johnston 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: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DhaQ1cTVJiOfG6/N" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4J92p16YWYz3sc1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kp@krion.cc designates 148.251.235.209 as permitted sender) smtp.mailfrom=kp@krion.cc X-Spamd-Result: default: False [-3.53 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[kp]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[krion.cc]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_LONG(0.87)[0.872]; SIGNED_PGP(-2.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:148.251.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --DhaQ1cTVJiOfG6/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. > >=20 > > Due to this error, no FreeBSD pkg base nor NanoBSD Image can be build. > >=20 > >=20 > > [...] > > 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 -DN= DEBUG > > -std=3Dgnu99 -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format= -y2k -W > > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointe= r-arith > > -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-pa= rameter > > -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=3Dunused-but-set-variable -Qunused-arguments > > -I/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd= 64.amd64/tmp/legacy/usr/include > > -static > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd= 64.amd64/tmp/legacy/usr/lib > > -o nm nm.o > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd= 64.amd64/tmp/obj-tools/lib/libdwarf > > -ldwarf > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd= 64.amd64/tmp/obj-tools/lib/libelf > > -lelf > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd= 64.amd64/tmp/obj-tools/lib/libelftc > > -lelftc_pie > > -L/pool/sources/13-STABLE/obj//pool/poudriere/jails/13amd64/usr/src/amd= 64.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 invoca= tion) > > *** [nm] Error code 1 >=20 > 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. --DhaQ1cTVJiOfG6/N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEJCHRFhEAQujKni1pDyI9/LMCykUFAmGyTN4ACgkQDyI9/LMC ykU2WAf/ROiCf7qdEIHtJOM7uuXXUan6zkWWHRpYJXEo47enu04vFrmh79rP8gWe ONTsXzXRC7NwZh6vGdbUlTIM2m2HdQ1CoDWBdwFnaIgiZZgqOsgoiY4NCCQnzq1J zRH7+uFZ4MEkaH25obixZUFsXKhLoGnLpBd5ME7VtkJgxSZVRZGOpSn2eI33xcFc MiWeqvwaFxydPEedM4TvTGVFfmg+fHgO2apphyBzsyJmoE/R0H3dwBCtoDyG1+Lk bY1S/COTu7yqxGcjLpAXYheu9mwy+LBRl6RV9YgSZwEa73tXWZn6ixMgkyrOyrr0 08oMOPQTq64XR3A2+tquyhx/SbnIzg== =O34B -----END PGP SIGNATURE----- --DhaQ1cTVJiOfG6/N--