From nobody Sat Oct 9 07:46:24 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 5789417E1FE1 for ; Sat, 9 Oct 2021 07:46:43 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp5.goneo.de (smtp5.goneo.de [IPv6:2001:1640:5::8:30]) (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 4HRHFF6WsYz3qk1 for ; Sat, 9 Oct 2021 07:46:41 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from hub1.goneo.de (hub1.goneo.de [IPv6:2001:1640:5::8:52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id B2927103171F for ; Sat, 9 Oct 2021 09:46:34 +0200 (CEST) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id 4A4F610A75E2 for ; Sat, 9 Oct 2021 09:46:31 +0200 (CEST) Received: from jelly.fritz.box (dynamic-2a01-0c22-a5c8-b300-f963-45d5-5ecb-03a8.c22.pool.telefonica.de [IPv6:2a01:c22:a5c8:b300:f963:45d5:5ecb:3a8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 1B63110A75DF for ; Sat, 9 Oct 2021 09:46:31 +0200 (CEST) Date: Sat, 9 Oct 2021 09:46:24 +0200 From: FreeBSD User To: freebsd-current@freebsd.org Subject: clang/llvm-tblgen --- ld: error: undefined symbol: setupterm Message-ID: <20211009094624.3f3cacc8@jelly.fritz.box> Organization: FreeBSD in der Heimstatt 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-Transfer-Encoding: 7bit X-Rspamd-UID: bba476 X-Rspamd-UID: 82658b X-Rspamd-Queue-Id: 4HRHFF6WsYz3qk1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 2001:1640:5::8:30) smtp.mailfrom=freebsd@walstatt-de.de X-Spamd-Result: default: False [-2.04 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.870]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.97)[-0.967]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[walstatt-de.de]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25394, ipnet:2001:1640::/32, country:DE]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1640:5::8:30:from] X-ThisMailContainsUnwantedMimeParts: N 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