[MacPorts] #70694: qemu @9.1.0: error: implicit declaration of function 'pthread_jit_write_protect_np' is invalid in C99 [-Werror, -Wimplicit-function-declaration] (was: qemu @9.1.0 Error on compilation (pthread_jit_write_protect_np))

MacPorts noreply at macports.org
Fri Nov 1 08:20:42 UTC 2024


#70694: qemu @9.1.0: error: implicit declaration of function
'pthread_jit_write_protect_np' is invalid in C99 [-Werror,-Wimplicit-
function-declaration]
------------------------------+-----------------------
  Reporter:  tom-programming  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.10.1
Resolution:                   |   Keywords:  legacy-os
      Port:  qemu             |
------------------------------+-----------------------
Changes (by ryandesign):

 * keywords:   => legacy-os


Comment:

 `pthread_jit_write_protect_np` is only available in macOS 11 and later.

 The qemu developers deliberately removed the compatibility code that used
 to allow it to compile on macOS 10.x:

 https://gitlab.com/qemu-
 project/qemu/-/commit/7b60b971cc2f52ed2a69006a2ad709df2831cd67

 The maintainer of the qemu port has previous expressed disinterest in
 supporting older versions of macOS than the developers of qemu do.

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


More information about the macports-tickets mailing list