From nobody Wed Oct 20 19:28:54 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 E79C817FF214 for ; Wed, 20 Oct 2021 19:28:56 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HZLJS159vz4lNr for ; Wed, 20 Oct 2021 19:28:56 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qk1-x733.google.com with SMTP id y10so4158185qkp.9 for ; Wed, 20 Oct 2021 12:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=PDKD4zzeKyX29WK0mNJvk5+KTG1FP9I/w8+tx+OB3uQ=; b=XvUMO6l46d7dUmMNONvPfV7z+DCL2U1nTBM7xeO6yaZp9D+oqVOCdfEfMYcg1mgDha Ro9SVOf29A8WzC6G4K7f4iDE0wz00CZjhQshbD7YztN7AcY2+ilnAEZzRZzoPFGGi8iS Vm8Mixj1r/IvFfhrDGqqKXCyvU3Et6QEDwUeEe56qFj0yEhVqI4iZ6SGGQ0eki+YBFH9 btiezQBHV1bcFJV9LMDEvtcQXQZALjpUu5EzK8fMuGYyw2tyyhgI6WsTB2Y9UwYPe26i 5IS4QjLCWOQRGHSQBbAyR50/hHAoK+NcA8Z+39nonN9mxpAZh8NbmVpY/dPPI6MoS1iR S+4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=PDKD4zzeKyX29WK0mNJvk5+KTG1FP9I/w8+tx+OB3uQ=; b=BJsG35GtNC98FWtKcBmhH+ekWHPgbXjnnIOznRWUM17a8mJP1+sKwyjA2meEvv0FRb HNKnAQa1NGrby2AF4wYj+aAYIkEthbPef9IqYK6V1q8h/oXFGXYP5LKIwesLaz7NFIYI 4MU+C00Zm/pISLe7DvAFlZOFJ/YQ+12PxQTYgF41xHlRnBD+4cKLy8FdQLAkytD97p3d 1Hj/sPTtb1K5lGVpvcRn2EeCpXTQ+bzABz/4Ejw124jeXe3lvqUVoArNAykWrZQ0f9Sr ypKPcGuXK6bnlzdOWc3JpXyqp8fGvezWUlagKPH1UzoGFY/a6KOTzCIcubrcAd6otsST +ihw== X-Gm-Message-State: AOAM531dOYVKXygqJcfopBqL3NjT41QmsRY/GbX7855dqcON2D/zOUJr uFJslTUCMUvKDqv2zHOszayjimriHPMOPJ5B68I= X-Google-Smtp-Source: ABdhPJzbNAut3KaCWKcPaW2Fr4DTQ7JONorJr0YQ7wCH3+UlaOeYb/1SB6/ZsuFFo8llhJsBqkYGfw== X-Received: by 2002:a37:a853:: with SMTP id r80mr884029qke.275.1634758135680; Wed, 20 Oct 2021 12:28:55 -0700 (PDT) Received: from mutt-hbsd (pool-100-16-224-136.bltmmd.fios.verizon.net. [100.16.224.136]) by smtp.gmail.com with ESMTPSA id b20sm1481766qtx.89.2021.10.20.12.28.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 12:28:55 -0700 (PDT) Date: Wed, 20 Oct 2021 15:28:54 -0400 From: Shawn Webb To: FreeBSD User Cc: freebsd-current@freebsd.org Subject: Re: clang/llvm-tblgen --- ld: error: undefined symbol: setupterm Message-ID: <20211020192854.u5pncnlu2lq6wt7h@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 14.0-CURRENT-HBSD FreeBSD 14.0-CURRENT-HBSD X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <20211009094624.3f3cacc8@jelly.fritz.box> 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="bjngpdxopjsizfc6" Content-Disposition: inline In-Reply-To: <20211009094624.3f3cacc8@jelly.fritz.box> X-Rspamd-Queue-Id: 4HZLJS159vz4lNr X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=XvUMO6l4; dmarc=none; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::733 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-5.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[hardenedbsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::733:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[100.16.224.136:received] X-ThisMailContainsUnwantedMimeParts: N --bjngpdxopjsizfc6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 09, 2021 at 09:46:24AM +0200, FreeBSD User wrote: > On recent CURRENT (FreeBSD 14.0-CURRENT #2 main-n249971-0525ece3554e: > Fri Oct 8 15:17:34 CEST 2021 amd64) building of an 13-STABLE based > appliance failed very early in the build process of the 13-STABLE > sources as shown below. 13-STABLE is most recent, since the sources are > fetched every time the build process is triggered. >=20 > The framework for the build process is nanoBSD, the same error occurs > when building poudriere's jail based upon 13-STABLE from scratch via > the FreeBSD native build framework.=20 >=20 > "Cross building" of 13-STABLE on a CURRENT platform worked in most > cases and most time, hopefully this hickup is a solveable problem and > it would be nice to have this fixed.=20 >=20 > What is the reason for the linker fail? >=20 > Are there any recommenadtions how to "cross build" 13-STABLE on a > 14-CURRENT platform in case the approach of mine s not a desireable on? >=20 > Thanks in advance, >=20 > Oliver >=20 > [...] >=20 > sh > /pool/home/ohartmann/Projects/router/router/apu2c4/src/tools/install.sh > -s -o root -g wheel -m 555 compile_et > /pool/home/ohartmann/Projects/router/router/apu2 > c4/world/amd64/ALERICH_13-STABLE_amd64/pool/home/ohartmann/Projects/route= r/router/apu2c4/src/amd64.amd64/tmp/legacy/usr/bin/compile_et > --- _bootstrap-tools-usr.bin/clang/llvm-tblgen --- ld: error: undefined > symbol: setupterm > >>> referenced by Process.cpp > >>> Process.o:(llvm::sys::Process::FileDescriptorHasColors(= int)) > >>> in archive > >>> /pool/home/ohartmann/Projects/router/router/apu2c4/world/amd64/ALERIC= H_13-STABLE_amd64/pool/home/ohartmann/Projects/router/router/apu2c4/src/amd= 64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a >=20 Anyone else still hitting this? I am. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --bjngpdxopjsizfc6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmFwbfQACgkQ/y5nonf4 4fqLrQ/+NUgen2x0SUuliLoW1k3iR4rM4YFZod6b29XMOTk8mAJcAe/enRcxc6sj 9VjNu9XKV7su/kbxBJMXPfVT+oDxdrDOHwPTbsVXxyFuC4J/VEy0tkOaCONcJget CINPHGfFg64aDpu/SMDRTs+wBhSPF7NbfUSt4BfUoA/PVC7Tn8JdTwcniCOTqq+2 gZUKnxT/uuyvaUxN+SLx0dD3NMTTthZ3oAzWnl5m2SQ5VX9j8OkHF2UjaVfRriBf xT7ZnDdQBikfrZJVx/p9X1KIp2Ssw0H+p9vZ+9qPMu3m4au27+OgpXdZI6boBYm4 TL1D5M6xo3ZEPMioH8kJcoRbJ8FpjAnOwBWQrjB9uSwzAKnrWxth//DN5QSx0g8z FhVPCJLPnqX2QIISt5kDHaFBKHkPzgEWvjVjGMyZxky9GhF0CTkGJ5NeXd1a5tuQ ylPiIh0EahjPLKtXr/N/jK7zOfn+8m5RJNTZ7UjshCw4pvLkXPCIM5IBlS1aKBzN UixF4H4UCclg4fAFpkaWTfJg41xQ4WZmSUDt943YNHl6nUiByWav5e/pWLw/jMaZ iIzmzmQ7ZuZsgcsYt+R4q2zH+zkA6m5Bx62h/5mGTK1ghb0gvffG+nGlNg2XIN7/ ykFPjtg/7dPsT1JWAUOigDtT40FQjBnIKstOJSFsCDtwQgdDwU0= =CGMZ -----END PGP SIGNATURE----- --bjngpdxopjsizfc6--