From owner-freebsd-current@freebsd.org Thu Mar 12 21:03:26 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34F5D26BC48 for ; Thu, 12 Mar 2020 21:03:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48dhBQ0hvLz416T; Thu, 12 Mar 2020 21:03:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id C004B9A73; Thu, 12 Mar 2020 21:03:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::d178:a053:437e:4918] (unknown [IPv6:2001:470:7a58:0:d178:a053:437e:4918]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C97962D3C0; Thu, 12 Mar 2020 22:03:21 +0100 (CET) From: Dimitry Andric Message-Id: <57D7ABA8-274A-496F-B30E-02C6DC747BCE@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_E03F4D78-AA20-4365-8303-FE1EE5936F39"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: emulators/qemu-user-static linker error on 13-CURRENT r358890 Date: Thu, 12 Mar 2020 22:03:14 +0100 In-Reply-To: Cc: Glen Barber , FreeBSD Current To: Warner Losh References: <20200312142411.GT9584@FreeBSD.org> X-Mailer: Apple Mail (2.3445.104.11) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2020 21:03:26 -0000 --Apple-Mail=_E03F4D78-AA20-4365-8303-FE1EE5936F39 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 12 Mar 2020, at 15:35, Warner Losh wrote: > > On Thu, Mar 12, 2020 at 8:24 AM Glen Barber wrote: >> 13-CURRENT aarch64 GENERIC builds failed this week due to the dependent >> port emulators/qemu-user-static failing to build, which is used by the >> targets that create the cloud provider images (EC2, GCE, etc.). >> >> The error output from the port build is: >> >> ===> Configuring for qemu-user-static-2.11.50.g20191211_3 >> >> ERROR: We need to link the QEMU user mode binaries at a >> specific text address. Unfortunately your linker >> doesn't support either the -Ttext-segment option or >> printing the default linker script with --verbose. >> If you don't want the user mode binaries, pass the >> --disable-user option to configure. >> >> The machine was upgraded yesterday from r356986 to r358890, and there >> does not seem to be any relevant change to the port. >> >> Any ideas? > > Force it to use ld.bfd? This may be lld fallout. Indeed it is due to lld 10.0.0. For the emulators/qemu-sbruno port, which is the master for the qemu-user-static port, I have submitted a fix in https://bugs.freebsd.org/244772. Fixes for other qemu ports: https://bugs.freebsd.org/244768 (qemu-cheri) https://bugs.freebsd.org/244769 (qemu-devel) https://bugs.freebsd.org/244770 (qemu) https://bugs.freebsd.org/244771 (qemu-powernv) https://bugs.freebsd.org/244773 (qemu30) https://bugs.freebsd.org/244774 (qemu31) https://bugs.freebsd.org/244775 (qemu40) And while typing this, I see there is yet *another* qemu port, namely qemu-user-static-devel. -Dimitry P.S.: WTF do we have so many qemu ports? :) --Apple-Mail=_E03F4D78-AA20-4365-8303-FE1EE5936F39 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXmqjkgAKCRCwXqMKLiCW o9jjAKCb7KpBSWk9x/m8VgLPlSStu9mhzgCfZUxjJmcrHgvMVwPLA5UlJsc8H9M= =cBYl -----END PGP SIGNATURE----- --Apple-Mail=_E03F4D78-AA20-4365-8303-FE1EE5936F39--