Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2020 20:51:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 244772] emulators/qemu-sbruno: Fix build with lld 10.0.0
Message-ID:  <bug-244772-4077-FKPSB4c3pv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244772-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244772-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-emulation mail=
ing
list <emulation@FreeBSD.org> for maintainer-feedback:
Bug 244772: emulators/qemu-sbruno: Fix build with lld 10.0.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244772



--- Description ---
As reported in bug 244251, with clang and lld 10.0.0 the emulators/qemu-sbr=
uno
port fails in the configure stage:

=3D=3D=3D>  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.

=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to emulation@FreeBSD.org [maintainer] and attach
the
"/wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-d587db6/c=
onfi
g.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

This is because lld 10.0.0 no longer supports the -Ttext-segment option, and
uses --image-base for similar functionality.

I am proposing a patch that makes the configure script check for the
--image-base option first, then the -Ttext-segment option.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244772-4077-FKPSB4c3pv>