| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
swapoff was MFC'd Dec 20th to stable/13, pull in changes to fix that.
Sponsored by: Netflix
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Approved by: portmgr (blanket)
|
|
|
|
| |
/wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-6ffee39fe2e4/tcg/ppc/tcg-target.inc.c:1922:3: error: "Unhandled abi"
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Reported by: lwhsu
|
| |
|
| |
|
|
|
|
|
|
|
| |
MFH: 2021Q1
Notes:
svn path=/head/; revision=568178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Builds and works fine.
MFH: 2020Q1 (fix build blanket)
Notes:
svn path=/head/; revision=523169
|
|
|
|
|
|
|
| |
Submitted by: kevans
Notes:
svn path=/head/; revision=517397
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
PR: 217411
Submitted by: John Hein <z7dr6ut7gs@snkmail.com>
Notes:
svn path=/head/; revision=435203
|
|
|
|
|
|
|
| |
Approved by: portmgr blanket
Notes:
svn path=/head/; revision=415498
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
rip nox@
Notes:
svn path=/head/; revision=403870
|
|
|
|
| |
Notes:
svn path=/head/; revision=403704
|
|
|
|
|
|
|
|
|
|
| |
imgact_binmisc configs on systems where that exists.
- Bump PORTREVISION.
Submitted by: linimon (with some changes by me)
Notes:
svn path=/head/; revision=380206
|
|
|
|
|
|
|
| |
Confusion reported by: linimon
Notes:
svn path=/head/; revision=379545
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=375865
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|