emulators/qemu-user-static linker error on 13-CURRENT r358890
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:
And while typing this, I see there is yet *another* qemu port, namely
P.S.: WTF do we have so many qemu ports? :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 223 bytes
Desc: Message signed with OpenPGP
More information about the freebsd-current