emulators/qemu-user-static linker error on 13-CURRENT r358890

Dimitry Andric dim at FreeBSD.org
Thu Mar 12 21:03:26 UTC 2020


On 12 Mar 2020, at 15:35, Warner Losh <imp at bsdimp.com> wrote:
> 
> On Thu, Mar 12, 2020 at 8:24 AM Glen Barber <gjb at 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? :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20200312/29184ad8/attachment.sig>


More information about the freebsd-current mailing list