aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu-user-static
Commit message (Collapse)AuthorAgeFilesLines
* emulators/qemu-user-static: Update for 13.x stableWarner Losh2022-01-072-4/+4
| | | | | | swapoff was MFC'd Dec 20th to stable/13, pull in changes to fix that. Sponsored by: Netflix
* emulators/qemu-user-static: Fix build on recent FreeBSDColin Percival2022-01-072-5/+5
| | | | | | | | | | | The swapoff(2) syscall recently changed from taking a single argument to taking two (adding a field used for a "force" flag); this broke qemu-user, since it translates system calls from guest to host architecture. Thanks to: imp With hat: re@ Sponsored by: https://www.patreon.com/cperciva
* */*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALLStefan Eßer2021-11-231-1/+1
| | | | | | | | | The conflict checks compare the patterns first against the package names without version (as reported by "pkg query "%n"), then - if there was no match - agsinst the full package names including the version (as reported by "pkg query "%n-%v"). Approved by: portmgr (blanket)
* emulators/qemu-user-static: Add CPE informationBernhard Froehlich2021-08-291-1/+1
| | | | Approved by: portmgr (blanket)
* emulators/qemu-user-static: fix build on powerpcPiotr Kubaj2021-07-241-0/+1
| | | | /wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-6ffee39fe2e4/tcg/ppc/tcg-target.inc.c:1922:3: error: "Unhandled abi"
* emulators/qemu-user-static{,-devel}: fix build on recent FreeBSDKyle Evans2021-05-122-5/+5
| | | | | | | | | | | This updates both to 6ffee39fe2e4, which pulls in some patches to fix the build after a recent commit to main that was MFC'd to stable/13. While we're here, update qemu-user-static-devel to point to the current upstream. qemu-user-static-devel will likely be updated in the near future to point to imp's 6.0 rebase branch for Q/A. MFH: 2021Q2
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-061-3/+0
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* emulators/qemu-user-static: update to fix copy_file_range() bugKyle Evans2021-03-122-5/+5
| | | | | | | MFH: 2021Q1 Notes: svn path=/head/; revision=568178
* emulators/qemu-user-static: update to f7fd10d7677cKyle Evans2021-02-262-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This features a number of fixes; highlights: - Handle aarch64 YIELD instructions - Bump ARG_MAX to match the FreeBSD default on LP64 platforms - Implement __specialfd(2) and copy_file_range(2) - Style fixes - Fix an issue with binary execution[0] - Fix page fault handling for self-modifying binaries[1] - Suppress noise from CIOGSESSION usage and restore CRIOGET handling - Patch _umtx_op(2) through to the kernel where possible[2] [0] Attempting to execute a binary by name was broken when there was an unrelated entry by the same name in PWD. The report below observed it in the cluster while building games/dobutsu, which tried to execute `xz` in a directory that had an `xz` directory inside of it. [1] From the fixing commit, qemu mprotect()s pages contained translated code to PROT_READ | PROT_EXEC and upgrades protections as needed upon page fault. This was broken in a previous commit that misidentified by the trap # that should have been observed. The observed issue a broken JIT compiler in libpcre. [2] _umtx_op can now be handled by the kernel in cases where the target long size is not longer than the host, and the target and host are the same endianness. This is much more reliable than our previous emulation of these operations, and should reduce hangs sometimes observed in threaded applications. Note that this requires a recent stable/12 or 13.x/-CURRENT. PR: 253375 [0] PR: 253335 [1] MFH: 2021Q1 Notes: svn path=/head/; revision=566578
* emulators/qemu-user-static: update to 39244526c0afKyle Evans2020-12-192-5/+5
| | | | | | | | | | Highlights: - Various ppc target fixes (courtesy of bdragon@) - Fix for hw.ncpu on mips (courtesy of Dan Nelson) - Switch to the new qemu-bsd-user/qemu-bsd-user upstream Notes: svn path=/head/; revision=558422
* emulators/qemu-user-static: fix the build after base r368005Kyle Evans2020-12-042-5/+5
| | | | | | | | | | | | | | | r368005 removed CRIOGET, breaking the qemu-user-static build. We didn't actually implement it anyways, so this update simply ripped it out rather than trying to maintain it for old branches. While here, bring qemu-user-static-devel up to parity with qemu-user-static. We should be soon approaching the point where we can rebase the former forward to a newer qemu. Reported by: gjb Notes: svn path=/head/; revision=556947
* emulators/qemu-user-static: update to 6f1319e1138cKyle Evans2020-11-222-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Highlights: - Fix stack allocation to behave more like FreeBSD really does[*]. - Raised the stack size on ARM, which should solve some limited cases of mysterious segfaults (e.g. lang/gcc9). - Provide hw.ncpu and AT_NCPUS based on cpu affinity to more effectively limit cpu usage under qemu-user-static. [*] We start out with a limited initial stack size, then login(1) raises the stack size up to the maximum possible for the system (arch-based). qemu-user-static will now calculate a maximum stack size based on the host's configured rlimit and the qemu-bsd-user specified max for the arch in question, then immediately raise the stack allocation size to the maximum. This is especially important because we don't actually handle stack growth. post-patch is also dropped entirely, as these sed invocations have done nothing since versions of qemu back in ~2007, AFAICT. CFLAGS/LDFLAGS get sucked in during configure and qemu's built with -fno-strict-aliasing as a default for even longer. Notes: svn path=/head/; revision=556027
* emulators/qemu-bsd-user: update to 4ee077cKyle Evans2020-11-132-5/+5
| | | | | | | | | | | | | | | Highlight: - Properly fixed consistent segfaults at runtime on processors w/o AVX{,2} support (previously worked around). - Fixed RISC-V threading support; we can now build up to gdb at the very least. - AT_HWCAP is now populated, ARM reflects VFP support properly - Fixed more regressions in signal handling - Fixed freebsd11_kevent emulation (used by lang/go) - Handful of fixes for warnings in the bsd-user build Notes: svn path=/head/; revision=555038
* emulators/qemu-user-static: update to d618de655Kyle Evans2020-11-092-5/+5
| | | | | | | | | | | | | Primarily fixes qemu-user-static with the upstream switch to enabling ARM_FEATURE_EL3 by default (I note that this actually eventually gets reverted on its own just for CONFIG_USER in later revisions of qemu). It also fixes some really fundamental breakage that was observed in, e.g., grep and most other applications. The official armv7 builder, beefy12, was seeing an incredibly similar failure. Notes: svn path=/head/; revision=554661
* emulators/qemu-user-static: update to 269a4ac93Kyle Evans2020-11-042-5/+5
| | | | | | | | | | | | | | | | | | | | | Fixes: - Fixed recently broken execution of PIE binaries (not zero'ing .bss)[0] - Fixed handling of signals during pselect(2)/ppoll(2) - Fixed nanosleep(2) (was writing out time remaining only on success) - Fixed swapcontext(2)/setcontext(2) - Fixed a lot of ktimer handling issues - Fixed direct exec of rtld Improvements: - Implemented clock_nanosleep(2) - Implemented msgget(2) and, more generally, fixed SysV msg support - Refactored ELF loading (much easier to read, less easy to break) Investigated by: Andrew Gierth <andrew tao11 riddles org uk> [0] Notes: svn path=/head/; revision=554049
* emulators/qemu-user-static: update to latest bsd-user-rebase-3.1Kyle Evans2020-10-302-5/+6
| | | | | | | | | | | | This fixes the recent ELF fix by properly initializing the extension to the PT_LOAD segment rather than filling it with file garbage. While here, disable capstone -- this part of the build is subject to external pollution (= death), and we don't use it in qemu-user-static anyways. Notes: svn path=/head/; revision=553663
* emulators/qemu-user-static: update to latest with more fixesKyle Evans2020-10-192-5/+5
| | | | | | | | | This fixes a little more fallout from the signal refactoring that wasn't immediately obvious, and fixes a longstanding bug in ELF loading that resulted in rtld segfaults. Notes: svn path=/head/; revision=552765
* emulator/qemu-user-static: fix major regression from signal refactorKyle Evans2020-09-143-56/+5
| | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=548669
* emulators/qemu-user-static: revive as a copy of qemu-user-static-develKyle Evans2020-04-266-0/+346
| | | | | | | | | | | This is effectively the 3.1 update of qemu-user-static. The main feature of the update to 3.1 is RISC-V support, contributed by Embecosm. PR: 243906 Approved by: koobs (mentor) Notes: svn path=/head/; revision=533075
* Remove the old emulators/qemu-user-static from the treeKyle Evans2020-04-262-58/+0
| | | | | | | | | | | | | | | | | This will be momentarily replaced by a repocopy of qemu-user-static-devel back over to qemu-user-static. With the update of qemu-user-static to 3.1, emulators/qemu-user-static will no longer be a slave port and emulators/qemu-sbruno will be deprecated in a couple months. Some history is being lost in this transition, but almost all of the interesting parts of qemu-user-static were in the master port qemu-sbruno anyways, which qemu-user-static-devel is repoderived from. PR: 243906 Approved by: koobs (mentor) Notes: svn path=/head/; revision=533074
* emulators/qemu-user-static: unbreak on powerpc64Piotr Kubaj2020-01-151-3/+0
| | | | | | | | | Builds and works fine. MFH: 2020Q1 (fix build blanket) Notes: svn path=/head/; revision=523169
* Let the masterport set the MAINTAINER line.Mark Linimon2019-11-131-1/+0
| | | | | | | Submitted by: kevans Notes: svn path=/head/; revision=517397
* Mark some ports failing on power64. In cases where the error messageMark Linimon2017-05-221-0/+3
| | | | | | | | | | | | was a stub, provide a real one. While here, pet portlint. Approved by: portmgr (tier-2 blanket) Reported by: swills Notes: svn path=/head/; revision=441455
* Add configure arg to fix build on 10.xSean Bruno2017-03-011-0/+1
| | | | | | | | PR: 217411 Submitted by: John Hein <z7dr6ut7gs@snkmail.com> Notes: svn path=/head/; revision=435203
* - Fix trailing whitespace in pkg-descrs, categories [a-f]*Dmitry Marakasov2016-05-191-1/+1
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=415498
* Attempt to unbreak stage (pointed out by amdmi3/junovitch)Sean Bruno2016-02-181-0/+2
| | | | | | | | | | - Add ivshmem-client/server to the pkg-plist of qemu-sbruno. - Forceably nuke ivshmem-client/server during the build of qemu-user-static. Bump PORTREVISION. Notes: svn path=/head/; revision=409112
* Take these ports as they are based on my branches in github.Sean Bruno2015-12-161-1/+1
| | | | | | | rip nox@ Notes: svn path=/head/; revision=403870
* Reset maintainerEitan Adler2015-12-141-1/+1
| | | | Notes: svn path=/head/; revision=403704
* - Add rc.d script to emulators/qemu-user-static to (optinally) setupJuergen Lock2015-03-011-0/+5
| | | | | | | | | | imgact_binmisc configs on systems where that exists. - Bump PORTREVISION. Submitted by: linimon (with some changes by me) Notes: svn path=/head/; revision=380206
* This is a slave port of emulators/qemu-sbruno now. (not qemu-devel)Juergen Lock2015-02-211-1/+1
| | | | | | | Confusion reported by: linimon Notes: svn path=/head/; revision=379545
* - Update emulators/qemu-sbruno to latest github snapshot, fixingJuergen Lock2015-01-061-4/+2
| | | | | | | | | | | | | | | the bsd-user targets on 8 and 9. - Switch emulators/qemu-user-static to be slave of emulators/qemu-sbruno. - Update emulators/qemu-devel to latest upstream release 2.2.0, now w/o bsd-user patches and knob again. (Or at least until the patches are merged upstream...) [1] - Add appropriate CONFLICTS to emulators/qemu too and bump its PORTREVISION. Suggested by: andrew [1] (for the benefit of testing aarch64 guests) Notes: svn path=/head/; revision=376437
* Add MASTERDIR= ${.CURDIR}/../qemu-sbruno as comment for now.Juergen Lock2014-12-301-0/+2
| | | | Notes: svn path=/head/; revision=375865
* - Update to 2.0.2, announce message is here:Juergen Lock2014-08-181-0/+1
| | | | | | | | | | http://thread.gmane.org/gmane.comp.emulators.qemu/291585 - Strip executables by default. - Switch to USES=python:2,build. Notes: svn path=/head/; revision=365340
* Add new slave port emulators/qemu-user-static:Juergen Lock2014-05-192-0/+50
QEMU is a FAST! processor emulator using dynamic translation to achieve good emulation speed. QEMU has two operating modes: * Full system emulation. In this mode, QEMU emulates a full system (for example a PC), including a processor and various peripherials. It can be used to launch different Operating Systems without rebooting the PC or to debug system code. * User mode emulation (Linux host only). In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU. It can be used to launch the Wine Windows API emulator or to ease cross-compilation and cross-debugging. As QEMU requires no host kernel patches to run, it is very safe and easy to use. This is a slave port of emulators/qemu-devel to build only static bsd-user targets named like qemu-mips-static. While still being experimental people have already built quite a few armv6/mips/mips64 packages using these and e.g. poudriere. Some notes are also here: http://wiki.freebsd.org/QemuUserModeHowTo WWW: http://wiki.qemu.org/Main_Page Suggested by: bapt Notes: svn path=/head/; revision=354560