[MacPorts] #70694: qemu @9.1.0 Error on compilation (pthread_jit_write_protect_np)
MacPorts
noreply at macports.org
Sat Sep 7 16:51:14 UTC 2024
#70694: qemu @9.1.0 Error on compilation (pthread_jit_write_protect_np)
-----------------------------+--------------------
Reporter: tom-programming | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Keywords: | Port: qemu
-----------------------------+--------------------
qemu fails on compilation in macOS 10.15 (Catalina) with newest command
line tools
error is:
{{{
:info:build In file included from qapi/qapi-visit-authz.c:13:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.1.0/include/qemu/osdep.h:803:5:
error: implicit declaration of function 'pthread_jit_write_protect_np' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build pthread_jit_write_protect_np(true);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.1.0/include/qemu/osdep.h:808:5:
error: implicit declaration of function 'pthread_jit_write_protect_np' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build pthread_jit_write_protect_np(false);
:info:build ^
:info:build 2 errors generated.
}}}
which suggest to me lack of an include pthreads.h directive
--
Ticket URL: <https://trac.macports.org/ticket/70694>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list