Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2020 22:03:14 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Glen Barber <gjb@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: emulators/qemu-user-static linker error on 13-CURRENT r358890 
Message-ID:  <57D7ABA8-274A-496F-B30E-02C6DC747BCE@FreeBSD.org>
In-Reply-To: <CANCZdfpy6v5P8Zqufy19NK2xiCMoiC8p%2BH7o1JVvk0WgqYkyBQ@mail.gmail.com>
References:  <20200312142411.GT9584@FreeBSD.org> <CANCZdfpy6v5P8Zqufy19NK2xiCMoiC8p%2BH7o1JVvk0WgqYkyBQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <imp@bsdimp.com> wrote:
> 
> On Thu, Mar 12, 2020 at 8:24 AM Glen Barber <gjb@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57D7ABA8-274A-496F-B30E-02C6DC747BCE>