Date: Wed, 20 Oct 2021 15:28:54 -0400 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: FreeBSD User <freebsd@walstatt-de.de> Cc: freebsd-current@freebsd.org Subject: Re: clang/llvm-tblgen --- ld: error: undefined symbol: setupterm Message-ID: <20211020192854.u5pncnlu2lq6wt7h@mutt-hbsd> In-Reply-To: <20211009094624.3f3cacc8@jelly.fritz.box> References: <20211009094624.3f3cacc8@jelly.fritz.box>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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. > > 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. > > "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. > > What is the reason for the linker fail? > > 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? > > Thanks in advance, > > Oliver > > [...] > > 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/router/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/ALERICH_13-STABLE_amd64/pool/home/ohartmann/Projects/router/router/apu2c4/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a > Anyone else still hitting this? I am. Thanks, -- Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211020192854.u5pncnlu2lq6wt7h>
