[MacPorts] #70187: qemu @9.0.0 aborts on Sierra

MacPorts noreply at macports.org
Wed Jun 12 02:24:14 UTC 2024


#70187: qemu @9.0.0 aborts on Sierra
----------------------------+------------------------------
  Reporter:  Randrianasulu  |      Owner:  raimue
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:  legacy-os sierra
      Port:  qemu           |
----------------------------+------------------------------

Comment (by johnrosshunt):

 I haven't tested an image yet, but disabling cocoa, building with clang-16
 and setting ulimit -n 1024 does the trick on Catalina.

 {{{
 $ sudo port install qemu -cocoa +curl +curses +ssh +target_alpha
 +target_ppc +target_xtensa +vde configure.compiler=macports-clang-16

 $ sw_vers
 ProductName:    Mac OS X
 ProductVersion: 10.15.7
 BuildVersion:   19H2026

 $ qemu-system-arm --version
 Assertion failed: (mutex->initialized), function qemu_mutex_lock_impl,
 file ../qemu-9.0.1/util/qemu-thread-posix.c, line 92.
 Abort trap: 6

 $ ulimit -n 1024

 $ qemu-system-arm --version
 QEMU emulator version 9.0.1
 Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70187#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list