Commit graph

3 commits

Author SHA1 Message Date
Gleb Popov
b0f48fa9e9 emulators/qemu-user-static-devel: Update to the newest snapshot.
This updates the port to the tip of `blitz-next` branch and enables `make test`.

Approved by: mat
Differential Revision: https://reviews.freebsd.org/D31255
2021-08-04 20:25:43 +03:00
Kyle Evans
fc9c903e08 emulator/qemu-user-static: fix major regression from signal refactor
Excellent diagnosis by Andrew Gierth revealed the exact nature of the
regression from previous signal handling fixes; gobject-introspection now
builds, and we should be able to once again build a pretty large chunk of
the ports tree.

The configure script patch has been incorporated into our tree, so the patch
may be removed.

As mentioned previously, qemu-user-static and qemu-user-static-devel will
not always be updated in lockstep; future changes will land to
qemu-user-static-devel first followed by qemu-user-static.
2020-09-14 18:39:53 +00:00
Diane Bruce
488a0f974e Fix emulators/qemu-sbruno build with lld 10.0.0
As reported in bug 244251, with clang and lld 10.0.0 the emulators/qemu-sbruno port fails in the configure stage:

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

===>  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/config.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.

PR:		ports/244772
Submitted by:	dim@FreeBSD.org
Approved by:	Maintainer
2020-03-20 00:47:58 +00:00